|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--javax.swing.plaf.ComponentUI | +--javax.help.plaf.HelpUI | +--javax.help.plaf.basic.BasicHelpUI
The default UI for JHelp.
Constructor Summary | |
BasicHelpUI(JHelp b)
|
Method Summary | |
void |
addNavigator(JHelpNavigator nav)
Adds a Navigator. |
static javax.swing.plaf.ComponentUI |
createUI(javax.swing.JComponent x)
|
JHelpNavigator |
getCurrentNavigator()
Gets the current Navigator. |
java.util.Enumeration |
getHelpNavigators()
|
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)
|
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)
|
Methods inherited from class javax.swing.plaf.ComponentUI |
contains, getAccessibleChild, getAccessibleChildrenCount, paint, update |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public BasicHelpUI(JHelp 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
public void propertyChange(java.beans.PropertyChangeEvent event)
propertyChange
in interface java.beans.PropertyChangeListener
public void addNavigator(JHelpNavigator nav)
HelpUI
addNavigator
in class HelpUI
nav
- the Navigator to addpublic void removeNavigator(JHelpNavigator nav)
HelpUI
removeNavigator
in class HelpUI
nav
- The Navigator to remove.public java.util.Enumeration getHelpNavigators()
public void setCurrentNavigator(JHelpNavigator nav)
setCurrentNavigator
in class HelpUI
nav
- The current Navigator to show.
throws
- InvalidNavigatorException if not one of the HELPUI
navigators.public JHelpNavigator getCurrentNavigator()
HelpUI
getCurrentNavigator
in class HelpUI
public static javax.swing.ImageIcon getIcon(java.lang.Class klass, java.lang.String name)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |