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 boolean
For printf debugging.protected JScrollPane
protected JHelpTOCNavigator
protected DefaultMutableTreeNode
protected JTree
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected void
Adds subhelpsetsvoid
Invoked when the component has been made invisible.void
Invoked when the component's position changes.void
Invoked when the component's size changes.void
Invoked when the component has been made visible.static ComponentUI
protected static void
void
doMerge
(NavigatorView view) Merges in the navigational data from another IndexView.protected JHelpNavigator
void
Processes an idChanged event.void
void
merge
(NavigatorView view) Merges in the navigational data from another TOCView.void
void
remove
(NavigatorView view) Removes the navigational data.protected void
setCellRenderer
(NavigatorView view, JTree tree) Sets the desired cell renderer on this tree.void
void
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
-
toc
-
sp
-
topNode
-
tree
-
debug
protected static final boolean debugFor printf debugging.- See Also:
-
-
Constructor Details
-
Method Details
-
createUI
-
installUI
- Overrides:
installUI
in classComponentUI
-
uninstallUI
- 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
Processes an idChanged event.- Specified by:
idChanged
in interfaceHelpModelListener
- Parameters:
e
- The event
-
valueChanged
- Specified by:
valueChanged
in interfaceTreeSelectionListener
-
propertyChange
- Specified by:
propertyChange
in interfacePropertyChangeListener
-
componentResized
Invoked when the component's size changes.- Specified by:
componentResized
in interfaceComponentListener
-
componentMoved
Invoked when the component's position changes.- Specified by:
componentMoved
in interfaceComponentListener
-
componentShown
Invoked when the component has been made visible.- Specified by:
componentShown
in interfaceComponentListener
-
componentHidden
Invoked when the component has been made invisible.- Specified by:
componentHidden
in interfaceComponentListener
-
debug
-