Package javax.help.plaf.basic
Class BasicTOCNavigatorUI
java.lang.Object
javax.swing.plaf.ComponentUI
javax.help.plaf.HelpNavigatorUI
javax.help.plaf.basic.BasicTOCNavigatorUI
- All Implemented Interfaces:
ComponentListener,PropertyChangeListener,Serializable,EventListener,HelpModelListener,TreeSelectionListener
public class BasicTOCNavigatorUI
extends HelpNavigatorUI
implements HelpModelListener, TreeSelectionListener, PropertyChangeListener, ComponentListener, Serializable
The default UI for JHelpNavigator of type TOC.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final booleanFor printf debugging.protected JScrollPaneprotected JHelpTOCNavigatorprotected DefaultMutableTreeNodeprotected JTree -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected 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 ComponentUIprotected static voidvoiddoMerge(NavigatorView view) Merges in the navigational data from another IndexView.protected JHelpNavigatorvoidProcesses an idChanged event.voidvoidmerge(NavigatorView view) Merges in the navigational data from another TOCView.voidvoidremove(NavigatorView view) Removes the navigational data.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
-
toc
-
sp
-
topNode
-
tree
-
debug
protected static final boolean debugFor printf debugging.- See Also:
-
-
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
Processes an idChanged event.- 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
-
debug
-