|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.birt.report.engine.api.TOCNode
A node that wraps around a TOC entry. To navigate to a specific TOC entry, one starts with the TOC root and traverse down the TOC tree, obtaining list of TOC nodes. For each node, the user can go to a specific page by following the bookmark.
Field Summary | |
protected java.lang.String |
bookmark
A bookmark that is stored for the TOC |
protected java.util.ArrayList |
children
A list of children for the TOC node |
protected java.lang.String |
displayString
the string to be displayed for the TOC entry |
protected java.lang.String |
nodeId
identifier for the current node |
protected TOCNode |
parent
the parent node |
protected IScriptStyle |
tocStyle
The TOC's style |
Constructor Summary | |
TOCNode()
|
|
TOCNode(TOCNode node)
|
Method Summary | |
java.lang.String |
getBookmark()
|
java.util.List |
getChildren()
|
java.lang.String |
getDisplayString()
|
java.lang.String |
getNodeID()
|
TOCNode |
getParent()
|
IScriptStyle |
getTOCStyle()
|
void |
setBookmark(java.lang.String bookmark)
|
void |
setDisplayString(java.lang.String displayStr)
|
void |
setNodeID(java.lang.String id)
|
void |
setParent(TOCNode parent)
|
void |
setTOCStyle(IScriptStyle tocStyle)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected java.lang.String displayString
protected java.lang.String bookmark
protected TOCNode parent
protected java.lang.String nodeId
protected java.util.ArrayList children
protected IScriptStyle tocStyle
Constructor Detail |
public TOCNode()
public TOCNode(TOCNode node)
Method Detail |
public java.lang.String getNodeID()
public TOCNode getParent()
public java.util.List getChildren()
public java.lang.String getDisplayString()
public void setDisplayString(java.lang.String displayStr)
public java.lang.String getBookmark()
public void setBookmark(java.lang.String bookmark)
public void setNodeID(java.lang.String id)
public void setParent(TOCNode parent)
public IScriptStyle getTOCStyle()
public void setTOCStyle(IScriptStyle tocStyle)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |