|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.swing.plaf.ComponentUI
javax.help.plaf.HelpNavigatorUI
javax.help.plaf.basic.BasicSearchNavigatorUI
public class BasicSearchNavigatorUI
Field Summary | |
---|---|
protected boolean |
displayOptions
|
protected SearchEngine |
helpsearch
|
protected javax.swing.tree.DefaultMutableTreeNode |
lastTOCnode
|
protected JHelpSearchNavigator |
searchnav
|
protected javax.swing.JTextField |
searchparams
|
protected SearchQuery |
searchquery
|
protected javax.swing.JScrollPane |
sp
|
protected javax.swing.tree.DefaultMutableTreeNode |
topNode
|
protected javax.swing.JTree |
tree
|
Constructor Summary | |
---|---|
BasicSearchNavigatorUI(JHelpSearchNavigator b)
|
Method Summary | |
---|---|
protected void |
addSubHelpSets(HelpSet hs)
Adds subhelpsets |
void |
componentHidden(java.awt.event.ComponentEvent e)
Invoked when the component has been made invisible. |
void |
componentMoved(java.awt.event.ComponentEvent e)
Invoked when the component's position changes. |
void |
componentResized(java.awt.event.ComponentEvent e)
Invoked when the component's size changes. |
void |
componentShown(java.awt.event.ComponentEvent e)
Invoked when the component has been made visible. |
static javax.swing.plaf.ComponentUI |
createUI(javax.swing.JComponent x)
|
protected JHelpNavigator |
getHelpNavigator()
|
java.awt.Dimension |
getMaximumSize(javax.swing.JComponent c)
|
java.awt.Dimension |
getMinimumSize(javax.swing.JComponent c)
|
java.awt.Dimension |
getPreferredSize(javax.swing.JComponent c)
|
void |
idChanged(HelpModelEvent e)
Processes an idChanged event. |
void |
installUI(javax.swing.JComponent c)
|
void |
itemsFound(SearchEvent e)
Tells the listener that matching SearchItems have been found. |
void |
merge(NavigatorView view)
Merges in the navigational data from another NavigatorView. |
void |
propertyChange(java.beans.PropertyChangeEvent event)
|
void |
remove(NavigatorView view)
Removes the navigational data from another NavigatorView. |
void |
searchFinished(SearchEvent e)
Tells the listener that the search has finished |
void |
searchStarted(SearchEvent e)
Tells the listener that the search has started. |
protected void |
setCellRenderer(NavigatorView view,
javax.swing.JTree tree)
Setd the desired cell renderer on this tree. |
void |
uninstallUI(javax.swing.JComponent c)
|
void |
valueChanged(javax.swing.event.TreeSelectionEvent e)
A value has changed. |
Methods inherited from class javax.help.plaf.HelpNavigatorUI |
---|
getAddAction, getIcon, getImageIcon, setIcon |
Methods inherited from class javax.swing.plaf.ComponentUI |
---|
contains, getAccessibleChild, getAccessibleChildrenCount, paint, update |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected JHelpSearchNavigator searchnav
protected javax.swing.JScrollPane sp
protected javax.swing.JTree tree
protected javax.swing.tree.DefaultMutableTreeNode topNode
protected javax.swing.JTextField searchparams
protected boolean displayOptions
protected SearchEngine helpsearch
protected SearchQuery searchquery
protected javax.swing.tree.DefaultMutableTreeNode lastTOCnode
Constructor Detail |
---|
public BasicSearchNavigatorUI(JHelpSearchNavigator b)
Method Detail |
---|
public static javax.swing.plaf.ComponentUI createUI(javax.swing.JComponent x)
public void installUI(javax.swing.JComponent c)
installUI
in class javax.swing.plaf.ComponentUI
public void uninstallUI(javax.swing.JComponent c)
uninstallUI
in class javax.swing.plaf.ComponentUI
public java.awt.Dimension getPreferredSize(javax.swing.JComponent c)
getPreferredSize
in class javax.swing.plaf.ComponentUI
public java.awt.Dimension getMinimumSize(javax.swing.JComponent c)
getMinimumSize
in class javax.swing.plaf.ComponentUI
public java.awt.Dimension getMaximumSize(javax.swing.JComponent c)
getMaximumSize
in class javax.swing.plaf.ComponentUI
protected void addSubHelpSets(HelpSet hs)
hs
- The HelpSet which subhelpsets will be addedpublic void merge(NavigatorView view)
merge
in class HelpNavigatorUI
public void remove(NavigatorView view)
remove
in class HelpNavigatorUI
protected void setCellRenderer(NavigatorView view, javax.swing.JTree tree)
public void idChanged(HelpModelEvent e)
idChanged
in interface HelpModelListener
e
- The eventprotected JHelpNavigator getHelpNavigator()
public void valueChanged(javax.swing.event.TreeSelectionEvent e)
valueChanged
in interface javax.swing.event.TreeSelectionListener
public void propertyChange(java.beans.PropertyChangeEvent event)
propertyChange
in interface java.beans.PropertyChangeListener
public void componentResized(java.awt.event.ComponentEvent e)
componentResized
in interface java.awt.event.ComponentListener
public void componentMoved(java.awt.event.ComponentEvent e)
componentMoved
in interface java.awt.event.ComponentListener
public void componentShown(java.awt.event.ComponentEvent e)
componentShown
in interface java.awt.event.ComponentListener
public void componentHidden(java.awt.event.ComponentEvent e)
componentHidden
in interface java.awt.event.ComponentListener
public void itemsFound(SearchEvent e)
SearchListener
itemsFound
in interface SearchListener
public void searchStarted(SearchEvent e)
SearchListener
searchStarted
in interface SearchListener
public void searchFinished(SearchEvent e)
SearchListener
searchFinished
in interface SearchListener
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |