| java.lang.Object | ||
| ↳ | com.pnfsoftware.jeb.util.events.EventSource | |
| ↳ | com.pnfsoftware.jeb.core.output.tree.impl.AbstractTreeDocument | |
Known Direct Subclasses
|
An adapter for non-table trees. This class can be extended to serve as a base class for table
trees as well, by overriding the getColumnLabels() method
The addressing system implemented in this adapter is trivial: it is a string representation of
INodeCoordinates.
Example: coordinates: (0,10,4) -> address: "0,10,4"
Clients may also override dispose().
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| AbstractTreeDocument() | |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| INodeCoordinates |
addressToCoordinates(String address)
Convert a node address to node coordinates.
| ||||||||||
| String |
coordinatesToAddress(INodeCoordinates coordinates)
Convert node coordinates to an address understandable by the tree document and potentially
the unit representing the document.
| ||||||||||
| void |
dispose()
The default implementation does nothing.
| ||||||||||
| List<String> |
getColumnLabels()
Provide column labels for table trees.
| ||||||||||
| int |
getInitialExpansionLevel()
Get the ideal expansion level of the tree.
| ||||||||||
| IPropertyManager |
getPropertyManager()
The default implementation returns null.
| ||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
com.pnfsoftware.jeb.util.events.EventSource
| |||||||||||
From class
java.lang.Object
| |||||||||||
From interface
com.pnfsoftware.jeb.core.output.IGenericDocument
| |||||||||||
From interface
com.pnfsoftware.jeb.core.output.tree.ITreeDocument
| |||||||||||
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 |
|---|
The default implementation does nothing.
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.
The default implementation returns null.