com.pnfsoftware.jeb.core.output.tree.ITreeDocument |
Known Indirect Subclasses |
A tree document is used to represent hierarchical structures. Nodes of trees implement the
INode
interface. Tree document can be used to model simple trees as well as more complex
table trees (see getColumnLabels()
).
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
abstract INodeCoordinates |
addressToCoordinates(String address)
Convert a node address to node coordinates.
| ||||||||||
abstract String |
coordinatesToAddress(INodeCoordinates coordinates)
Convert node coordinates to an address understandable by the tree document and potentially
the unit representing the document.
| ||||||||||
abstract List<String> |
getColumnLabels()
Provide column labels for table trees.
| ||||||||||
abstract int |
getInitialExpansionLevel()
Get the ideal expansion level of the tree.
| ||||||||||
abstract String |
getReferencedAddress(INode node)
Retrieve the address referenced by the
INode . | ||||||||||
abstract List<? extends INode> |
getRoots()
Get the list of tree roots.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From interface
com.pnfsoftware.jeb.core.output.IGenericDocument
| |||||||||||
From interface
com.pnfsoftware.jeb.util.events.IEventSource
|
Convert a node address to node coordinates.
Note: The addressing scheme is unit specific, and defined by the plugin developer. Addresses should not start with the reserved '@' prefix.
address | the input address |
---|
Convert node coordinates to an address understandable by the tree document and potentially the unit representing the document.
Note: The addressing scheme is unit specific, and defined by the plugin developer. Addresses should not start with the reserved '@' prefix.
coordinates | the node coordinates |
---|
Provide column labels for table trees. A regular tree should return null.
Get the ideal expansion level of the tree. Graphical clients should use this method when doing the initial rendering of a tree document.
Get the list of tree roots.