|
||||||||||
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.HelpNavigatorUI | +--javax.help.plaf.basic.BasicFavoritesNavigatorUI
The default UI for JHelpNavigator of type Favorites
Nested Class Summary | |
class |
BasicFavoritesNavigatorUI.AddAction
AddAction class. |
class |
BasicFavoritesNavigatorUI.CopyAction
CopyAction class. |
class |
BasicFavoritesNavigatorUI.CutAction
CutAction class. |
class |
BasicFavoritesNavigatorUI.FavoritesTree
Class for JTree supported D&D features. |
class |
BasicFavoritesNavigatorUI.FolderAction
FolderAction class. |
class |
BasicFavoritesNavigatorUI.PasteAction
PasteAction class. |
class |
BasicFavoritesNavigatorUI.PopupListener
PopupListener class |
class |
BasicFavoritesNavigatorUI.RemoveAction
RemoveAction class. |
Constructor Summary | |
BasicFavoritesNavigatorUI(JHelpFavoritesNavigator b)
Creates BasicFavoritesUI for JHelpFavoritesNavigator |
Method Summary | |
static javax.swing.plaf.ComponentUI |
createUI(javax.swing.JComponent x)
|
javax.swing.Action |
getAddAction()
Returns the Add action |
javax.swing.Action |
getCopyAction()
Returns the CopyAction Object |
javax.swing.Action |
getCutAction()
Returns the CutAction object |
javax.swing.Action |
getFolderAction()
Returns the FolderAction object |
java.awt.Dimension |
getMaximumSize(javax.swing.JComponent c)
|
java.awt.Dimension |
getMinimumSize(javax.swing.JComponent c)
|
javax.swing.Action |
getPasteAction()
Returns the PasteAction object |
java.awt.Dimension |
getPreferredSize(javax.swing.JComponent c)
|
javax.swing.Action |
getRemoveAction()
Returns the RemoveAction object |
FavoritesNode |
getSelectedNode()
Returns the selected node |
void |
helpSetAdded(HelpSetEvent ev)
Invoked when a new HelpSet is added. |
void |
helpSetRemoved(HelpSetEvent ev)
Invoked when a new HelpSet is removed. |
void |
idChanged(HelpModelEvent e)
Processes and idChanged event. |
void |
installUI(javax.swing.JComponent c)
|
void |
propertyChange(java.beans.PropertyChangeEvent event)
|
void |
saveFavorites()
Saves favorites to the file |
void |
treeNodesChanged(javax.swing.event.TreeModelEvent treeModelEvent)
|
void |
treeNodesInserted(javax.swing.event.TreeModelEvent treeModelEvent)
|
void |
treeNodesRemoved(javax.swing.event.TreeModelEvent treeModelEvent)
|
void |
treeStructureChanged(javax.swing.event.TreeModelEvent treeModelEvent)
|
void |
uninstallUI(javax.swing.JComponent c)
|
void |
valueChanged(javax.swing.event.TreeSelectionEvent e)
Finds the subnode with certain id and name |
Methods inherited from class javax.help.plaf.HelpNavigatorUI |
getIcon, getImageIcon, merge, remove, setIcon |
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 BasicFavoritesNavigatorUI(JHelpFavoritesNavigator 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 idChanged(HelpModelEvent e)
idChanged
in interface HelpModelListener
e
- The HelpModelEventpublic 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 helpSetAdded(HelpSetEvent ev)
HelpSetListener
helpSetAdded
in interface HelpSetListener
ev
- The eventpublic void helpSetRemoved(HelpSetEvent ev)
HelpSetListener
helpSetRemoved
in interface HelpSetListener
ev
- The eventpublic void saveFavorites()
public void treeStructureChanged(javax.swing.event.TreeModelEvent treeModelEvent)
treeStructureChanged
in interface javax.swing.event.TreeModelListener
public void treeNodesInserted(javax.swing.event.TreeModelEvent treeModelEvent)
treeNodesInserted
in interface javax.swing.event.TreeModelListener
public void treeNodesRemoved(javax.swing.event.TreeModelEvent treeModelEvent)
treeNodesRemoved
in interface javax.swing.event.TreeModelListener
public void treeNodesChanged(javax.swing.event.TreeModelEvent treeModelEvent)
treeNodesChanged
in interface javax.swing.event.TreeModelListener
public FavoritesNode getSelectedNode()
public javax.swing.Action getAddAction()
getAddAction
in class HelpNavigatorUI
public javax.swing.Action getRemoveAction()
public javax.swing.Action getFolderAction()
public javax.swing.Action getCutAction()
public javax.swing.Action getPasteAction()
public javax.swing.Action getCopyAction()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |