SearchTOCItem
public class TOCItem extends TreeItem
COLLAPSE, DEFAULT_EXPANSION, EXPAND, locale
Constructor | Description |
---|---|
TOCItem() |
Creates a default TOCItem.
|
TOCItem(Map.ID id,
Map.ID imageID,
java.util.Locale locale) |
Creates a TOCItem with a default HelpSet based on its ID.
|
TOCItem(Map.ID id,
Map.ID imageID,
HelpSet hs,
java.util.Locale locale) |
Creates a TOCItem.
|
Modifier and Type | Method | Description |
---|---|---|
Map.ID |
getImageID() |
Returns the image for this TOCItem.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getExpansionType, getHelpSet, getID, getLocale, getMergeType, getName, getPresentation, getPresentationName, getURL, setExpansionType, setHelpSet, setID, setMergeType, setName, setPresentation, setPresentationName, toString
public TOCItem(Map.ID id, Map.ID imageID, HelpSet hs, java.util.Locale locale)
id
- ID for the item. A null ID is valid.image
- The ID for image to be displayed for this item. A null
image is valid.hs
- The HelpSet scoping this item. In almost all cases
this is the same as the HelpSet of the id field. A null ID is valid.lang
- The locale for this item. A null locale indicates the
default locale.public TOCItem(Map.ID id, Map.ID imageID, java.util.Locale locale)
id
- ID for the item. The ID can be null.image
- The image to be displayed for this item.lang
- The locale for this itempublic TOCItem()
public Map.ID getImageID()