public class FwkHelpUI extends javax.help.plaf.HelpUI implements FwkInterface, java.beans.PropertyChangeListener
,
Serialized FormModifier and Type | Field and Description |
---|---|
protected FwkHelp |
help
The help belongs to that ui.
|
protected java.util.Vector |
navs
The vector contains the navigators.
|
protected javax.swing.JSplitPane |
splitPane
The split pane
|
protected javax.swing.JTabbedPane |
tabbedPane
The tabbed pane.
|
protected javax.swing.JToolBar |
toolbar
The toolbar.
|
static java.lang.String |
version |
Constructor and Description |
---|
FwkHelpUI()
Constructors.
|
FwkHelpUI(javax.help.JHelp b)
The constructor receiving the help.
|
Modifier and Type | Method and Description |
---|---|
void |
addNavigator(javax.help.JHelpNavigator nav)
Add a new navigator.
|
static javax.swing.plaf.ComponentUI |
createUI(javax.swing.JComponent x)
Install the ui.
|
javax.help.JHelpNavigator |
getCurrentNavigator()
Retrieves the current navigator.
|
protected javax.help.HelpModel |
getModel()
Retrieves the model.
|
java.awt.Dimension |
getPreferredSize(javax.swing.JComponent c) |
java.lang.String |
getVersion()
Return the version string of the FWK component.
|
void |
goBack()
Go one step back in history.
|
void |
goForward()
Go one step forward in history.
|
void |
installUI(javax.swing.JComponent c)
Install the UI.
|
void |
propertyChange(java.beans.PropertyChangeEvent event) |
void |
release()
Release the object.
|
void |
removeNavigator(javax.help.JHelpNavigator nav)
Remove a navigator from UI.
|
void |
setCurrentNavigator(javax.help.JHelpNavigator nav)
Sets the current Navigator.
|
java.lang.String |
toString()
Get the string representation of the object.
|
public static final java.lang.String version
protected FwkHelp help
protected javax.swing.JToolBar toolbar
protected javax.swing.JSplitPane splitPane
protected javax.swing.JTabbedPane tabbedPane
protected java.util.Vector navs
public FwkHelpUI()
public FwkHelpUI(javax.help.JHelp b)
help
- The help (unused).public java.lang.String getVersion()
FwkInterface
getVersion
in interface FwkInterface
public void release()
release
in interface FwkInterface
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
c
- The help component.public java.awt.Dimension getPreferredSize(javax.swing.JComponent c)
getPreferredSize
in class javax.swing.plaf.ComponentUI
public void addNavigator(javax.help.JHelpNavigator nav)
addNavigator
in class javax.help.plaf.HelpUI
the
- navigator to be added.public void removeNavigator(javax.help.JHelpNavigator nav)
removeNavigator
in class javax.help.plaf.HelpUI
nav
- The navigator to be removed.public javax.help.JHelpNavigator getCurrentNavigator()
getCurrentNavigator
in class javax.help.plaf.HelpUI
public void setCurrentNavigator(javax.help.JHelpNavigator nav)
setCurrentNavigator
in class javax.help.plaf.HelpUI
navigator
- The navigatorthrows
- InvalidNavigatorException if not one of the HELPUI
navigators.protected javax.help.HelpModel getModel()
public void propertyChange(java.beans.PropertyChangeEvent event)
propertyChange
in interface java.beans.PropertyChangeListener
public void goBack()
public void goForward()
public java.lang.String toString()
toString
in class java.lang.Object