Package help
Class CustomTOCView.CustomTreeItemDecorator
java.lang.Object
javax.help.TreeItem
javax.help.TOCItem
help.CustomTOCView.CustomTreeItemDecorator
- All Implemented Interfaces:
Serializable
- Enclosing class:
CustomTOCView
public static class CustomTOCView.CustomTreeItemDecorator
extends javax.help.TOCItem
A custom tree item that allows us to store and retrieve custom attributes that we parsed
from the TOC xml document.
- See Also:
-
Field Summary
Fields inherited from class javax.help.TreeItem
COLLAPSE, DEFAULT_EXPANSION, EXPAND, locale
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
int
javax.help.HelpSet
javax.help.Map.ID
getID()
javax.help.Map.ID
getName()
getTocID()
getURL()
int
hashCode()
void
setExpansionType
(int type) void
setHelpSet
(javax.help.HelpSet hs) void
setID
(javax.help.Map.ID id) void
setMergeType
(String mergeType) void
void
setPresentation
(String presentation) void
setPresentationName
(String presentationName) toString()
-
Constructor Details
-
CustomTreeItemDecorator
public CustomTreeItemDecorator(javax.help.TOCItem wrappedItem)
-
-
Method Details
-
getDisplayText
-
getTocID
-
equals
-
getExpansionType
public int getExpansionType()- Overrides:
getExpansionType
in classjavax.help.TreeItem
-
getHelpSet
public javax.help.HelpSet getHelpSet()- Overrides:
getHelpSet
in classjavax.help.TreeItem
-
getID
public javax.help.Map.ID getID()- Overrides:
getID
in classjavax.help.TreeItem
-
getImageID
public javax.help.Map.ID getImageID()- Overrides:
getImageID
in classjavax.help.TOCItem
-
getLocale
- Overrides:
getLocale
in classjavax.help.TreeItem
-
getMergeType
- Overrides:
getMergeType
in classjavax.help.TreeItem
-
getName
- Overrides:
getName
in classjavax.help.TreeItem
-
getPresentation
- Overrides:
getPresentation
in classjavax.help.TreeItem
-
getPresentationName
- Overrides:
getPresentationName
in classjavax.help.TreeItem
-
getURL
- Overrides:
getURL
in classjavax.help.TreeItem
-
hashCode
public int hashCode() -
setExpansionType
public void setExpansionType(int type) - Overrides:
setExpansionType
in classjavax.help.TreeItem
-
setHelpSet
public void setHelpSet(javax.help.HelpSet hs) - Overrides:
setHelpSet
in classjavax.help.TreeItem
-
setID
public void setID(javax.help.Map.ID id) - Overrides:
setID
in classjavax.help.TreeItem
-
setMergeType
- Overrides:
setMergeType
in classjavax.help.TreeItem
-
setName
- Overrides:
setName
in classjavax.help.TreeItem
-
setPresentation
- Overrides:
setPresentation
in classjavax.help.TreeItem
-
setPresentationName
- Overrides:
setPresentationName
in classjavax.help.TreeItem
-
toString
- Overrides:
toString
in classjavax.help.TreeItem
-