javax.help.plaf.basic
Class BasicGlossaryNavigatorUI
- ActionListener, java.util.EventListener, HelpModelListener, PropertyChangeListener, Serializable, TreeSelectionListener
public class BasicGlossaryNavigatorUI
implements HelpModelListener, TreeSelectionListener, PropertyChangeListener, ActionListener, Serializable
The default UI for JHelpNavigator of type Glossary.
currentFindNode
protected DefaultMutableTreeNode currentFindNode
oldText
protected String oldText
rbc
protected RuleBasedCollator rbc
searchField
protected JTextField searchField
sp
protected JScrollPane sp
topNode
protected DefaultMutableTreeNode topNode
actionPerformed
public void actionPerformed(ActionEvent evt)
Handles Action from the JTextField component for searching.
addSubHelpSets
protected void addSubHelpSets(HelpSet hs)
Adds subhelpsets
hs
- The HelpSet which subhelpsets will be added
createUI
public static ComponentUI createUI(JComponent x)
Creates UI
doMerge
public void doMerge(NavigatorView view)
Merges in the navigational data from another IndexView.
getMaximumSize
public Dimension getMaximumSize(JComponent c)
getMinimumSize
public Dimension getMinimumSize(JComponent c)
getPreferredSize
public Dimension getPreferredSize(JComponent c)
installUI
public void installUI(JComponent c)
merge
public void merge(NavigatorView view)
Merges in the navigational data from another TOCView.
- merge in interface HelpNavigatorUI
view
- A GlossaryView. Note the actual argument is a NavigatorView type
so it replaces the correct NavigatorUI method.
propertyChange
public void propertyChange(PropertyChangeEvent event)
remove
public void remove(NavigatorView view)
Removes the navigational data from another GlossaryView.
- remove in interface HelpNavigatorUI
view
- An GlossaryView. Note the actual argument is a NavigatorView type
so it replaces the correct NavigatorUI method.
setCellRenderer
protected void setCellRenderer(NavigatorView view,
JTree tree)
Sets the desired cell renderer on this tree.
This is exposed for redefinition
by subclases.
uninstallUI
public void uninstallUI(JComponent c)
Uninstalls UI
valueChanged
public void valueChanged(TreeSelectionEvent e)