|
||||||||||
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.BasicGlossaryNavigatorUI
public class BasicGlossaryNavigatorUI
The default UI for JHelpNavigator of type Glossary.
Field Summary | |
---|---|
protected javax.swing.tree.DefaultMutableTreeNode |
currentFindNode
|
protected JHelpGlossaryNavigator |
glossary
|
protected java.lang.String |
oldText
|
protected java.text.RuleBasedCollator |
rbc
|
protected javax.swing.JTextField |
searchField
|
protected javax.swing.JScrollPane |
sp
|
protected javax.swing.tree.DefaultMutableTreeNode |
topNode
|
protected javax.swing.JTree |
tree
|
protected JHelpContentViewer |
viewer
|
Constructor Summary | |
---|---|
BasicGlossaryNavigatorUI(JHelpGlossaryNavigator b)
|
Method Summary | |
---|---|
void |
actionPerformed(java.awt.event.ActionEvent evt)
Handles Action from the JTextField component for searching. |
protected void |
addSubHelpSets(HelpSet hs)
Adds subhelpsets |
static javax.swing.plaf.ComponentUI |
createUI(javax.swing.JComponent x)
Creates UI |
void |
doMerge(NavigatorView view)
Merges in the navigational data from another IndexView. |
protected JHelpContentViewer |
getContentViewer()
|
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)
Tells the listener that the current ID in the HelpModel has changed. |
void |
installUI(javax.swing.JComponent c)
|
void |
merge(NavigatorView view)
Merges in the navigational data from another TOCView. |
void |
propertyChange(java.beans.PropertyChangeEvent event)
|
void |
remove(NavigatorView view)
Removes the navigational data from another GlossaryView. |
protected void |
setCellRenderer(NavigatorView view,
javax.swing.JTree tree)
Sets the desired cell renderer on this tree. |
void |
uninstallUI(javax.swing.JComponent c)
Uninstalls UI |
void |
valueChanged(javax.swing.event.TreeSelectionEvent e)
|
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 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected JHelpGlossaryNavigator glossary
protected javax.swing.JScrollPane sp
protected javax.swing.tree.DefaultMutableTreeNode topNode
protected javax.swing.JTree tree
protected javax.swing.JTextField searchField
protected java.text.RuleBasedCollator rbc
protected java.lang.String oldText
protected javax.swing.tree.DefaultMutableTreeNode currentFindNode
protected JHelpContentViewer viewer
Constructor Detail |
---|
public BasicGlossaryNavigatorUI(JHelpGlossaryNavigator 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
protected void setCellRenderer(NavigatorView view, javax.swing.JTree tree)
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 doMerge(NavigatorView view)
public void merge(NavigatorView view)
merge
in class HelpNavigatorUI
view
- A GlossaryView. Note the actual argument is a NavigatorView type
so it replaces the correct NavigatorUI method.public void remove(NavigatorView view)
remove
in class HelpNavigatorUI
view
- An GlossaryView. Note the actual argument is a NavigatorView type
so it replaces the correct NavigatorUI method.public void idChanged(HelpModelEvent e)
HelpModelListener
idChanged
in interface HelpModelListener
e
- The eventprotected JHelpContentViewer getContentViewer()
protected 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 actionPerformed(java.awt.event.ActionEvent evt)
actionPerformed
in interface java.awt.event.ActionListener
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |