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 DefaultMutableTreeNodeprotected JHelpGlossaryNavigatorprotected Stringprotected RuleBasedCollatorprotected JTextFieldprotected JScrollPaneprotected DefaultMutableTreeNodeprotected JTreeprotected JHelpContentViewer -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidHandles Action from the JTextField component for searching.protected voidAdds subhelpsetsstatic ComponentUICreates UIvoiddoMerge(NavigatorView view) Merges in the navigational data from another IndexView.protected JHelpContentViewerprotected JHelpNavigatorvoidTells the listener that the current ID in the HelpModel has changed.voidvoidmerge(NavigatorView view) Merges in the navigational data from another TOCView.voidvoidremove(NavigatorView view) Removes the navigational data from another GlossaryView.protected voidsetCellRenderer(NavigatorView view, JTree tree) Sets the desired cell renderer on this tree.voidUninstalls UIvoidMethods inherited from class javax.help.plaf.HelpNavigatorUI
getAddAction, getIcon, getImageIcon, setIconMethods 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:
installUIin classComponentUI
-
uninstallUI
Uninstalls UI- Overrides:
uninstallUIin classComponentUI
-
getPreferredSize
- Overrides:
getPreferredSizein classComponentUI
-
getMinimumSize
- Overrides:
getMinimumSizein classComponentUI
-
getMaximumSize
- Overrides:
getMaximumSizein classComponentUI
-
addSubHelpSets
Adds subhelpsets- Parameters:
hs- The HelpSet which subhelpsets will be added
-
idChanged
Description copied from interface:HelpModelListenerTells the listener that the current ID in the HelpModel has changed. All highlights from the previous location change at this point.- Specified by:
idChangedin interfaceHelpModelListener- Parameters:
e- The event
-
getContentViewer
-
valueChanged
- Specified by:
valueChangedin interfaceTreeSelectionListener
-
propertyChange
- Specified by:
propertyChangein interfacePropertyChangeListener
-
actionPerformed
Handles Action from the JTextField component for searching.- Specified by:
actionPerformedin interfaceActionListener
-