javax.help
Class JHelpFavoritesNavigator
- Accessible
public class JHelpFavoritesNavigator
JHelpFavoritesNavigator is a JHelpNavigator for Favorites.
All the tree navigation and selection has been delegated to the UI
where the JTree is created.
boolean | canMerge(NavigatorView view) - Determines if this instance of a JHelpNavigator can merge its data with another one.
|
void | collapseID(String target) - Sets state of navigation entry for given target to collapsed if entry is visible.
|
void | expandID(String target) - Sets state of navigation entry for given target to expanded.
|
Action | getAddAction() - Returns an AddAction object for this navigator
|
String | getUIClassID() - Gets the UID for this JComponent.
|
addHelpModelListener , canMerge , createParams , getAccessibleContext , getIcon , getModel , getNavigatorLabel , getNavigatorLabel , getNavigatorName , getNavigatorView , getSelectedItems , getUI , getUIClassID , merge , remove , removeHelpModelListener , setModel , setSelectedItems , setUI , updateUI |
JHelpFavoritesNavigator
public JHelpFavoritesNavigator(HelpSet hs,
String name,
String label,
URL data)
throws InvalidNavigatorViewException
Creates an Index navigator with explicit arguments. Note that this should not throw
an InvalidNavigatorViewException since we are implicitly passing the type.
hs
- HelpSetname
- The name identifying this HelpSet.label
- The label to use (for this locale).data
- The "data" part of the parameters, a URL location of the TOC data.
JHelpFavoritesNavigator
public JHelpFavoritesNavigator(NavigatorView view)
Creates an Index navigator.
JHelpFavoritesNavigator
public JHelpFavoritesNavigator(NavigatorView view,
HelpModel model)
Creates a Index navigator.
view
- The NavigatorView.model
- The model for the Navigator.
canMerge
public boolean canMerge(NavigatorView view)
Determines if this instance of a JHelpNavigator can merge its data with another one.
- canMerge in interface JHelpNavigator
merge(NavigatorView)
, remove(NavigatorView)
collapseID
public void collapseID(String target)
Sets state of navigation entry for given target to collapsed if entry is visible. Parent is collapsed if entry is empty.
target
- The target to collapse
expandID
public void expandID(String target)
Sets state of navigation entry for given target to expanded. Non-empty entry is expanded. Empty entry is visible.
target
- The target to expand
getAddAction
public Action getAddAction()
Returns an AddAction object for this navigator