public class FwkHelpTOCNavigatorUI extends javax.help.plaf.HelpNavigatorUI implements FwkInterface, javax.help.event.HelpModelListener, javax.swing.event.TreeSelectionListener, java.beans.PropertyChangeListener
,
Serialized FormModifier and Type | Field and Description |
---|---|
protected javax.help.HelpModel |
model |
protected javax.swing.JScrollPane |
sp |
protected javax.help.JHelpTOCNavigator |
toc |
protected javax.swing.tree.DefaultMutableTreeNode |
topNode |
protected javax.swing.JTree |
tree |
static java.lang.String |
version |
Constructor and Description |
---|
FwkHelpTOCNavigatorUI() |
FwkHelpTOCNavigatorUI(javax.help.JHelpTOCNavigator b)
Constructor receiving the TOC navigator.
|
Modifier and Type | Method and Description |
---|---|
static javax.swing.plaf.ComponentUI |
createUI(javax.swing.JComponent x)
Create the ui.
|
java.awt.Dimension |
getMaximumSize(javax.swing.JComponent c)
Get the maximum size
|
java.awt.Dimension |
getMinimumSize(javax.swing.JComponent c)
Get the minimum size
|
java.awt.Dimension |
getPreferredSize(javax.swing.JComponent c)
Get the preferred size
|
java.lang.String |
getVersion()
Return the version string of the FWK component.
|
void |
idChanged(javax.help.event.HelpModelEvent e)
Processes an idChanged event.
|
void |
installUI(javax.swing.JComponent c)
Install the ui.
|
void |
merge(javax.help.NavigatorView view)
Merges in the navigational data from another TOCView.
|
void |
propertyChange(java.beans.PropertyChangeEvent event) |
void |
release()
Release the object.
|
void |
remove(javax.help.NavigatorView view)
Removes the navigational data.
|
protected void |
setCellRenderer(javax.help.NavigatorView view,
javax.swing.JTree tree)
Sets the desired cell renderer on this tree.
|
java.lang.String |
toString()
Get the string representation of the object.
|
void |
uninstallUI(javax.swing.JComponent c)
Install the ui.
|
void |
valueChanged(javax.swing.event.TreeSelectionEvent e) |
public static final java.lang.String version
protected javax.help.JHelpTOCNavigator toc
protected javax.help.HelpModel model
protected javax.swing.tree.DefaultMutableTreeNode topNode
protected javax.swing.JTree tree
protected javax.swing.JScrollPane sp
public FwkHelpTOCNavigatorUI()
public FwkHelpTOCNavigatorUI(javax.help.JHelpTOCNavigator b)
public java.lang.String getVersion()
FwkInterface
getVersion
in interface FwkInterface
public static javax.swing.plaf.ComponentUI createUI(javax.swing.JComponent x)
the
- navigator that belong to that ui.public void release()
release
in interface FwkInterface
public void installUI(javax.swing.JComponent c)
installUI
in class javax.swing.plaf.ComponentUI
the
- navigator that belong to that ui.public void uninstallUI(javax.swing.JComponent c)
uninstallUI
in class javax.swing.plaf.ComponentUI
the
- navigator that belong to that ui.public java.awt.Dimension getPreferredSize(javax.swing.JComponent c)
getPreferredSize
in class javax.swing.plaf.ComponentUI
the
- navigator that belong to that ui.public java.awt.Dimension getMinimumSize(javax.swing.JComponent c)
getMinimumSize
in class javax.swing.plaf.ComponentUI
the
- navigator that belong to that ui.public java.awt.Dimension getMaximumSize(javax.swing.JComponent c)
getMaximumSize
in class javax.swing.plaf.ComponentUI
the
- navigator that belong to that ui.protected void setCellRenderer(javax.help.NavigatorView view, javax.swing.JTree tree)
public void merge(javax.help.NavigatorView view)
merge
in class javax.help.plaf.HelpNavigatorUI
view
- A TOCView. Note the actual argument is of a NavigatorView type
so it replaces the correct NavigatorUI method.public void remove(javax.help.NavigatorView view)
remove
in class javax.help.plaf.HelpNavigatorUI
view
- A TOCView. Note the actual argument is of a NavigatorView type
so it replaces the correct NavigatorUI method.public void idChanged(javax.help.event.HelpModelEvent e)
idChanged
in interface javax.help.event.HelpModelListener
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 java.lang.String toString()
toString
in class java.lang.Object