java.lang.Object | +----javax.help.NavigatorView | +----javax.help.FavoritesView
public static final java.lang.String publicIDString
public FavoritesView(HelpSet hs, java.lang.String name, java.lang.String label, java.util.Hashtable params)
hs
- The HelpSet that provides context information
name
- The name of the View
label
- The label (to show the user) of the View
params
- A hashtable providing different key/values for this type.
A null for params is valid.
public FavoritesView(HelpSet hs, java.lang.String name, java.lang.String label, java.util.Locale locale, java.util.Hashtable params)
hs
- The HelpSet that provides context information
name
- The name of the View
label
- The label (to show the user) of the View
locale
- The default locale to interpret the data in this TOC. A
null for locale will be interpreted as the defaultLocale.
params
- A Hashtable providing different key/values for this type
A null for params is valid.
public java.awt.Component createNavigator(HelpModel model)
model
- The HelpModel to create this navigator with. A null model
is valid.
public java.lang.String getMergeType()
public FavoritesNode getDataAsTree()
public FavoritesNode parse(HelpSet hs, java.util.Locale locale, TreeItemFactory factory)
url
- Location of the Favorites. If null, causes null value to be returned.
hs
- The HelpSet context for this Favorites. Null hs is ignored.
locale
- The default locale to interpret the data in this Favorites. Null
locale is treated as the default locale.
factory
- A factory instance that is used to create the FavoritesItems
public void saveFavorites(FavoritesNode node)
node
- The FavoritesNode