|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--javax.help.TreeItem
The base items known to TOC, Index and Favorites Navigators.
Field Summary | |
static int |
COLLAPSE
Show the children of the node collapsed in the view |
static int |
DEFAULT_EXPANSION
A state of expansion determined by the view |
static int |
EXPAND
Show the children of the node expanded in the view |
Constructor Summary | |
TreeItem()
Creates an empty TreeItem. |
|
TreeItem(Map.ID id,
HelpSet hs,
java.util.Locale locale)
Create an TreeItem. |
|
TreeItem(Map.ID id,
java.util.Locale locale)
Creates a TreeItem. |
|
TreeItem(java.lang.String name)
Creates a TreeItem. |
Method Summary | |
int |
getExpansionType()
Returns the exansion type |
HelpSet |
getHelpSet()
Returns the HelpSet scoping this IndexItem. |
Map.ID |
getID()
Returns the ID for the item. |
java.util.Locale |
getLocale()
Returns the locale for the item. |
java.lang.String |
getMergeType()
Returns the merge type for the item |
java.lang.String |
getName()
Returns the name of the item. |
java.lang.String |
getPresentation()
Returns the presentation |
java.lang.String |
getPresentationName()
Returns the presentation name |
java.net.URL |
getURL()
Returns the URL for the item. |
void |
setExpansionType(int type)
Sets the expansion type |
void |
setHelpSet(HelpSet hs)
Set the HelpSet for this TreeItem. |
void |
setID(Map.ID id)
Set the ID for the item. |
void |
setMergeType(java.lang.String mergeType)
Sets the merge type |
void |
setName(java.lang.String name)
Sets the name of the item. |
void |
setPresentation(java.lang.String presentation)
Sets the presentation |
void |
setPresentationName(java.lang.String presentationName)
Sets the presentation name |
java.lang.String |
toString()
Returns a String used when displaying the object. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final int DEFAULT_EXPANSION
public static final int COLLAPSE
public static final int EXPAND
Constructor Detail |
public TreeItem(Map.ID id, HelpSet hs, java.util.Locale locale)
id
- ID for the item. The ID can be null.hs
- A HelpSet scoping this item.locale
- The locale for this itempublic TreeItem(Map.ID id, java.util.Locale locale)
id
- ID for the item. Null is a valid ID.public TreeItem(java.lang.String name)
name
- The name for the item.public TreeItem()
Method Detail |
public void setName(java.lang.String name)
public java.lang.String getName()
public void setID(Map.ID id)
public Map.ID getID()
public java.net.URL getURL()
public void setHelpSet(HelpSet hs)
public HelpSet getHelpSet()
public java.util.Locale getLocale()
public void setMergeType(java.lang.String mergeType)
public java.lang.String getMergeType()
public void setExpansionType(int type)
java.lang.IllegalArgumentException
- if not a valid typepublic int getExpansionType()
public void setPresentation(java.lang.String presentation)
Presentation
public java.lang.String getPresentation()
Presentation
public void setPresentationName(java.lang.String presentationName)
Presentation
public java.lang.String getPresentationName()
Presentation
public java.lang.String toString()
toString
in class java.lang.Object
TOCCellRenderer
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |