public class BasicGlossaryNavigatorUI extends HelpNavigatorUI implements HelpModelListener, javax.swing.event.TreeSelectionListener, java.beans.PropertyChangeListener, java.awt.event.ActionListener, java.io.Serializable
| Modifier and Type | Field and Description |
|---|---|
protected javax.swing.tree.DefaultMutableTreeNode |
currentFindNode |
protected JHelpGlossaryNavigator |
glossary |
protected java.lang.String |
oldText |
protected java.text.RuleBasedCollator |
rbc |
protected javax.swing.JTextField |
searchField |
protected javax.swing.JScrollPane |
sp |
protected javax.swing.tree.DefaultMutableTreeNode |
topNode |
protected javax.swing.JTree |
tree |
protected JHelpContentViewer |
viewer |
| Constructor and Description |
|---|
BasicGlossaryNavigatorUI(JHelpGlossaryNavigator b) |
| Modifier and Type | Method and Description |
|---|---|
void |
actionPerformed(java.awt.event.ActionEvent evt)
Handles Action from the JTextField component for searching.
|
protected void |
addSubHelpSets(HelpSet hs)
Adds subhelpsets
|
static javax.swing.plaf.ComponentUI |
createUI(javax.swing.JComponent x)
Creates UI
|
void |
doMerge(NavigatorView view)
Merges in the navigational data from another IndexView.
|
protected JHelpContentViewer |
getContentViewer() |
protected JHelpNavigator |
getHelpNavigator() |
java.awt.Dimension |
getMaximumSize(javax.swing.JComponent c) |
java.awt.Dimension |
getMinimumSize(javax.swing.JComponent c) |
java.awt.Dimension |
getPreferredSize(javax.swing.JComponent c) |
void |
idChanged(HelpModelEvent e)
Tells the listener that the current ID in the HelpModel has
changed.
|
void |
installUI(javax.swing.JComponent c) |
void |
merge(NavigatorView view)
Merges in the navigational data from another TOCView.
|
void |
propertyChange(java.beans.PropertyChangeEvent event) |
void |
remove(NavigatorView view)
Removes the navigational data from another GlossaryView.
|
protected void |
setCellRenderer(NavigatorView view,
javax.swing.JTree tree)
Sets the desired cell renderer on this tree.
|
void |
uninstallUI(javax.swing.JComponent c)
Uninstalls UI
|
void |
valueChanged(javax.swing.event.TreeSelectionEvent e) |
getAddAction, getIcon, getImageIcon, setIconprotected JHelpGlossaryNavigator glossary
protected javax.swing.JScrollPane sp
protected javax.swing.tree.DefaultMutableTreeNode topNode
protected javax.swing.JTree tree
protected javax.swing.JTextField searchField
protected java.text.RuleBasedCollator rbc
protected java.lang.String oldText
protected javax.swing.tree.DefaultMutableTreeNode currentFindNode
protected JHelpContentViewer viewer
public BasicGlossaryNavigatorUI(JHelpGlossaryNavigator b)
public static javax.swing.plaf.ComponentUI createUI(javax.swing.JComponent x)
public void installUI(javax.swing.JComponent c)
installUI in class javax.swing.plaf.ComponentUIprotected void setCellRenderer(NavigatorView view, javax.swing.JTree tree)
public void uninstallUI(javax.swing.JComponent c)
uninstallUI in class javax.swing.plaf.ComponentUIpublic java.awt.Dimension getPreferredSize(javax.swing.JComponent c)
getPreferredSize in class javax.swing.plaf.ComponentUIpublic java.awt.Dimension getMinimumSize(javax.swing.JComponent c)
getMinimumSize in class javax.swing.plaf.ComponentUIpublic java.awt.Dimension getMaximumSize(javax.swing.JComponent c)
getMaximumSize in class javax.swing.plaf.ComponentUIprotected void addSubHelpSets(HelpSet hs)
hs - The HelpSet which subhelpsets will be addedpublic void doMerge(NavigatorView view)
public void merge(NavigatorView view)
merge in class HelpNavigatorUIview - A GlossaryView. Note the actual argument is a NavigatorView type
so it replaces the correct NavigatorUI method.public void remove(NavigatorView view)
remove in class HelpNavigatorUIview - An GlossaryView. Note the actual argument is a NavigatorView type
so it replaces the correct NavigatorUI method.public void idChanged(HelpModelEvent e)
HelpModelListeneridChanged in interface HelpModelListenere - The eventprotected JHelpContentViewer getContentViewer()
protected JHelpNavigator getHelpNavigator()
public void valueChanged(javax.swing.event.TreeSelectionEvent e)
valueChanged in interface javax.swing.event.TreeSelectionListenerpublic void propertyChange(java.beans.PropertyChangeEvent event)
propertyChange in interface java.beans.PropertyChangeListenerpublic void actionPerformed(java.awt.event.ActionEvent evt)
actionPerformed in interface java.awt.event.ActionListener