Package docking.help
Class CustomTOCView.CustomTreeItemDecorator
- java.lang.Object
-
- javax.help.TreeItem
-
- javax.help.TOCItem
-
- docking.help.CustomTOCView.CustomTreeItemDecorator
-
- All Implemented Interfaces:
java.io.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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description CustomTreeItemDecorator(javax.help.TOCItem wrappedItem)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
java.lang.String
getDisplayText()
int
getExpansionType()
javax.help.HelpSet
getHelpSet()
javax.help.Map.ID
getID()
javax.help.Map.ID
getImageID()
java.util.Locale
getLocale()
java.lang.String
getMergeType()
java.lang.String
getName()
java.lang.String
getPresentation()
java.lang.String
getPresentationName()
java.lang.String
getTocID()
java.net.URL
getURL()
int
hashCode()
void
setExpansionType(int type)
void
setHelpSet(javax.help.HelpSet hs)
void
setID(javax.help.Map.ID id)
void
setMergeType(java.lang.String mergeType)
void
setName(java.lang.String name)
void
setPresentation(java.lang.String presentation)
void
setPresentationName(java.lang.String presentationName)
java.lang.String
toString()
-
-
-
Method Detail
-
getDisplayText
public java.lang.String getDisplayText()
-
getTocID
public java.lang.String getTocID()
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
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
public java.util.Locale getLocale()
- Overrides:
getLocale
in classjavax.help.TreeItem
-
getMergeType
public java.lang.String getMergeType()
- Overrides:
getMergeType
in classjavax.help.TreeItem
-
getName
public java.lang.String getName()
- Overrides:
getName
in classjavax.help.TreeItem
-
getPresentation
public java.lang.String getPresentation()
- Overrides:
getPresentation
in classjavax.help.TreeItem
-
getPresentationName
public java.lang.String getPresentationName()
- Overrides:
getPresentationName
in classjavax.help.TreeItem
-
getURL
public java.net.URL getURL()
- Overrides:
getURL
in classjavax.help.TreeItem
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
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
public void setMergeType(java.lang.String mergeType)
- Overrides:
setMergeType
in classjavax.help.TreeItem
-
setName
public void setName(java.lang.String name)
- Overrides:
setName
in classjavax.help.TreeItem
-
setPresentation
public void setPresentation(java.lang.String presentation)
- Overrides:
setPresentation
in classjavax.help.TreeItem
-
setPresentationName
public void setPresentationName(java.lang.String presentationName)
- Overrides:
setPresentationName
in classjavax.help.TreeItem
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjavax.help.TreeItem
-
-