Package javax.help.plaf.basic
Class BasicSearchNavigatorUI
java.lang.Object
javax.swing.plaf.ComponentUI
javax.help.plaf.HelpNavigatorUI
javax.help.plaf.basic.BasicSearchNavigatorUI
- All Implemented Interfaces:
ComponentListener,PropertyChangeListener,EventListener,HelpModelListener,SearchListener,TreeSelectionListener
public class BasicSearchNavigatorUI
extends HelpNavigatorUI
implements HelpModelListener, SearchListener, PropertyChangeListener, TreeSelectionListener, ComponentListener
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected booleanprotected SearchEngineprotected DefaultMutableTreeNodeprotected JHelpSearchNavigatorprotected JTextFieldprotected SearchQueryprotected JScrollPaneprotected 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 JHelpNavigatorvoidProcesses an idChanged event.voidvoidTells the listener that matching SearchItems have been found.voidmerge(NavigatorView view) Merges in the navigational data from another NavigatorView.voidvoidremove(NavigatorView view) Removes the navigational data from another NavigatorView.voidTells the listener that the search has finishedvoidTells the listener that the search has started.protected voidsetCellRenderer(NavigatorView view, JTree tree) Setd the desired cell renderer on this tree.voidvoidA value has changed.Methods 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
-
sp
-
tree
-
topNode
-
searchparams
-
displayOptions
protected boolean displayOptions -
helpsearch
-
searchquery
-
lastTOCnode
-
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. Search is different from all other navigators in that you while search tree is synchronized the highlighting doesn't occur unless selected from the search navigator.- Specified by:
idChangedin interfaceHelpModelListener- Parameters:
e- The event
-
valueChanged
A value has changed. This is used as a TreeSelectionListener.- 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
-
itemsFound
Description copied from interface:SearchListenerTells the listener that matching SearchItems have been found.- Specified by:
itemsFoundin interfaceSearchListener
-
searchStarted
Description copied from interface:SearchListenerTells the listener that the search has started.- Specified by:
searchStartedin interfaceSearchListener
-
searchFinished
Description copied from interface:SearchListenerTells the listener that the search has finished- Specified by:
searchFinishedin interfaceSearchListener
-