Package help
Class CustomTOCView
java.lang.Object
javax.help.NavigatorView
javax.help.TOCView
help.CustomTOCView
- All Implemented Interfaces:
Serializable
public class CustomTOCView
extends javax.help.TOCView
A custom Table of Contents view that we specify in our JavaHelp xml documents. This view
lets us install custom renderers and custom tree items for use by those renderers. These
renderers let us display custom text defined by the TOC_Source.xml files. We also add some
utility like: tooltips in development mode, node selection when pressing F1.
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
Our custom factory that knows how to look for extra XML attributes and how to create our custom tree itemsstatic class
A custom tree item that allows us to store and retrieve custom attributes that we parsed from the TOC xml document.Nested classes/interfaces inherited from class javax.help.TOCView
javax.help.TOCView.DefaultTOCFactory
-
Field Summary
Fields inherited from class javax.help.TOCView
publicIDString, publicIDString_V2
-
Constructor Summary
ConstructorDescriptionCustomTOCView
(javax.help.HelpSet hs, String name, String label, Hashtable params) CustomTOCView
(javax.help.HelpSet hs, String name, String label, Locale locale, Hashtable params) -
Method Summary
Modifier and TypeMethodDescriptioncreateNavigator
(javax.help.HelpModel model) javax.help.HelpModel
Methods inherited from class javax.help.TOCView
getCategoryClosedImageID, getCategoryOpenImageID, getMergeType, getTopicImageID, parse, parse, setCategoryClosedImageID, setCategoryOpenImageID, setTopicImageID
Methods inherited from class javax.help.NavigatorView
create, getHelpSet, getImageID, getLabel, getLabel, getLocale, getName, getParameters
-
Constructor Details
-
CustomTOCView
-
CustomTOCView
-
-
Method Details
-
getHelpModel
public javax.help.HelpModel getHelpModel() -
getDataAsTree
- Overrides:
getDataAsTree
in classjavax.help.TOCView