Package javax.help.plaf.basic
Class BasicIndexNavigatorUI
java.lang.Object
javax.swing.plaf.ComponentUI
javax.help.plaf.HelpNavigatorUI
javax.help.plaf.basic.BasicIndexNavigatorUI
- All Implemented Interfaces:
ActionListener,ComponentListener,PropertyChangeListener,Serializable,EventListener,HelpModelListener,TreeSelectionListener
public class BasicIndexNavigatorUI
extends HelpNavigatorUI
implements HelpModelListener, TreeSelectionListener, PropertyChangeListener, ActionListener, ComponentListener, Serializable
The default UI for JHelpNavigator of type Index.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected DefaultMutableTreeNodeprotected JHelpIndexNavigatorprotected Stringprotected RuleBasedCollatorprotected JTextFieldprotected JScrollPaneprotected DefaultMutableTreeNodeprotected JTree -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidHandles Action from the JTextField component for searching.protected voidAdds subhelpsetsvoidInvoked when the component has been made invisible.voidInvoked when the component's position changes.voidInvoked when the component's size changes.voidInvoked when the component has been made visible.static ComponentUIvoiddoMerge(NavigatorView view) Merges in the navigational data from another IndexView.protected JHelpNavigatorvoidTells the listener that the current ID in the HelpModel has changed.voidvoidmerge(NavigatorView view) Merges in the navigational data from another IndexView.voidvoidremove(NavigatorView view) Removes the navigational data from another IndexView.protected voidsetCellRenderer(NavigatorView view, JTree tree) Sets the desired cell renderer on this tree.voidvoidMethods 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
-
index
-
sp
-
topNode
-
tree
-
searchField
-
rbc
-
oldText
-
currentFindNode
-
-
Constructor Details
-
Method Details
-
createUI
-
installUI
- Overrides:
installUIin classComponentUI
-
uninstallUI
- 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
-
valueChanged
- Specified by:
valueChangedin interfaceTreeSelectionListener
-
propertyChange
- Specified by:
propertyChangein interfacePropertyChangeListener
-
componentResized
Invoked when the component's size changes.- Specified by:
componentResizedin interfaceComponentListener
-
componentMoved
Invoked when the component's position changes.- Specified by:
componentMovedin interfaceComponentListener
-
componentShown
Invoked when the component has been made visible.- Specified by:
componentShownin interfaceComponentListener
-
componentHidden
Invoked when the component has been made invisible.- Specified by:
componentHiddenin interfaceComponentListener
-
actionPerformed
Handles Action from the JTextField component for searching.- Specified by:
actionPerformedin interfaceActionListener
-