public class BasicHelpUI extends HelpUI implements java.beans.PropertyChangeListener, java.io.Serializable
| Modifier and Type | Field and Description |
|---|---|
protected JHelp |
help |
protected java.util.Vector |
navs |
protected javax.swing.JSplitPane |
splitPane |
protected javax.swing.JTabbedPane |
tabbedPane |
protected javax.swing.JToolBar |
toolbar |
| Constructor and Description |
|---|
BasicHelpUI(JHelp b) |
| Modifier and Type | Method and Description |
|---|---|
void |
addNavigator(JHelpNavigator nav)
Adds a Navigator.
|
protected javax.swing.JToolBar |
createToolBar(java.util.Locale locale) |
static javax.swing.plaf.ComponentUI |
createUI(javax.swing.JComponent x) |
JHelpNavigator |
getCurrentNavigator()
Gets the current Navigator.
|
java.util.Enumeration |
getHelpNavigators() |
protected HelpHistoryModel |
getHistoryModel()
Returns actual HelpHistoryModel
|
static javax.swing.ImageIcon |
getIcon(java.lang.Class klass,
java.lang.String name) |
java.awt.Dimension |
getMaximumSize(javax.swing.JComponent c) |
java.awt.Dimension |
getMinimumSize(javax.swing.JComponent c) |
protected HelpModel |
getModel() |
java.awt.Dimension |
getPreferredSize(javax.swing.JComponent c) |
void |
installUI(javax.swing.JComponent c) |
void |
propertyChange(java.beans.PropertyChangeEvent event) |
void |
removeNavigator(JHelpNavigator nav)
Remove a Navigator.
|
void |
setCurrentNavigator(JHelpNavigator nav)
Sets the current Navigator.
|
void |
uninstallUI(javax.swing.JComponent c) |
protected JHelp help
protected javax.swing.JToolBar toolbar
protected javax.swing.JSplitPane splitPane
protected javax.swing.JTabbedPane tabbedPane
protected java.util.Vector navs
public BasicHelpUI(JHelp b)
public static javax.swing.plaf.ComponentUI createUI(javax.swing.JComponent x)
public void installUI(javax.swing.JComponent c)
installUI in class javax.swing.plaf.ComponentUIprotected javax.swing.JToolBar createToolBar(java.util.Locale locale)
public void uninstallUI(javax.swing.JComponent c)
uninstallUI in class javax.swing.plaf.ComponentUIpublic java.awt.Dimension getPreferredSize(javax.swing.JComponent c)
getPreferredSize in class javax.swing.plaf.ComponentUIpublic java.awt.Dimension getMinimumSize(javax.swing.JComponent c)
getMinimumSize in class javax.swing.plaf.ComponentUIpublic java.awt.Dimension getMaximumSize(javax.swing.JComponent c)
getMaximumSize in class javax.swing.plaf.ComponentUIpublic void propertyChange(java.beans.PropertyChangeEvent event)
propertyChange in interface java.beans.PropertyChangeListenerprotected HelpModel getModel()
protected HelpHistoryModel getHistoryModel()
public void addNavigator(JHelpNavigator nav)
HelpUIaddNavigator in class HelpUInav - the Navigator to addpublic void removeNavigator(JHelpNavigator nav)
HelpUIremoveNavigator in class HelpUInav - The Navigator to remove.public java.util.Enumeration getHelpNavigators()
public void setCurrentNavigator(JHelpNavigator nav)
setCurrentNavigator in class HelpUInavigator - The navigatorthrows - InvalidNavigatorException if not one of the HELPUI
navigators.public JHelpNavigator getCurrentNavigator()
HelpUIgetCurrentNavigator in class HelpUIpublic static javax.swing.ImageIcon getIcon(java.lang.Class klass,
java.lang.String name)