Package javax.help.plaf.basic
Class BasicGlossaryNavigatorUI
java.lang.Object
javax.swing.plaf.ComponentUI
javax.help.plaf.HelpNavigatorUI
javax.help.plaf.basic.BasicGlossaryNavigatorUI
- All Implemented Interfaces:
ActionListener
,PropertyChangeListener
,Serializable
,EventListener
,HelpModelListener
,TreeSelectionListener
public class BasicGlossaryNavigatorUI
extends HelpNavigatorUI
implements HelpModelListener, TreeSelectionListener, PropertyChangeListener, ActionListener, Serializable
The default UI for JHelpNavigator of type Glossary.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected DefaultMutableTreeNode
protected JHelpGlossaryNavigator
protected String
protected RuleBasedCollator
protected JTextField
protected JScrollPane
protected DefaultMutableTreeNode
protected JTree
protected JHelpContentViewer
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
Handles Action from the JTextField component for searching.protected void
Adds subhelpsetsstatic ComponentUI
Creates UIvoid
doMerge
(NavigatorView view) Merges in the navigational data from another IndexView.protected JHelpContentViewer
protected JHelpNavigator
void
Tells the listener that the current ID in the HelpModel has changed.void
void
merge
(NavigatorView view) Merges in the navigational data from another TOCView.void
void
remove
(NavigatorView view) Removes the navigational data from another GlossaryView.protected void
setCellRenderer
(NavigatorView view, JTree tree) Sets the desired cell renderer on this tree.void
Uninstalls UIvoid
Methods inherited from class javax.help.plaf.HelpNavigatorUI
getAddAction, getIcon, getImageIcon, setIcon
Methods inherited from class javax.swing.plaf.ComponentUI
contains, getAccessibleChild, getAccessibleChildrenCount, getBaseline, getBaselineResizeBehavior, paint, update
-
Field Details
-
glossary
-
sp
-
topNode
-
tree
-
searchField
-
rbc
-
oldText
-
currentFindNode
-
viewer
-
-
Constructor Details
-
Method Details
-
createUI
Creates UI -
installUI
- Overrides:
installUI
in classComponentUI
-
uninstallUI
Uninstalls UI- Overrides:
uninstallUI
in classComponentUI
-
getPreferredSize
- Overrides:
getPreferredSize
in classComponentUI
-
getMinimumSize
- Overrides:
getMinimumSize
in classComponentUI
-
getMaximumSize
- Overrides:
getMaximumSize
in classComponentUI
-
addSubHelpSets
Adds subhelpsets- Parameters:
hs
- The HelpSet which subhelpsets will be added
-
idChanged
Description copied from interface:HelpModelListener
Tells the listener that the current ID in the HelpModel has changed. All highlights from the previous location change at this point.- Specified by:
idChanged
in interfaceHelpModelListener
- Parameters:
e
- The event
-
getContentViewer
-
valueChanged
- Specified by:
valueChanged
in interfaceTreeSelectionListener
-
propertyChange
- Specified by:
propertyChange
in interfacePropertyChangeListener
-
actionPerformed
Handles Action from the JTextField component for searching.- Specified by:
actionPerformed
in interfaceActionListener
-