java.lang.Object | |||
↳ | com.pnfsoftware.jeb.util.events.EventSource | ||
↳ | com.pnfsoftware.jeb.core.output.tree.impl.AbstractTreeDocument | ||
↳ | com.pnfsoftware.jeb.core.output.tree.impl.StaticTreeDocument |
A simple tree document. Such tree document objects do not listen to unit changes events; in fact,
they are unaware of the IUnit
family of classes. They are ideal to distribute static,
immutable contents.
Clients should not extend this class. Clients requiring custom tree documents should either
extend AbstractTreeDocument
or implement ITreeDocument
.
[Expand]
Inherited Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
StaticTreeDocument(INode root) | |||||||||||
StaticTreeDocument(List<? extends INode> roots) | |||||||||||
StaticTreeDocument(List<? extends INode> roots, List<String> columnLabels, int initialExpansionLevel) |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
List<String> |
getColumnLabels()
Provide column labels for table trees.
| ||||||||||
int |
getInitialExpansionLevel()
Get the ideal expansion level of the tree.
| ||||||||||
List<? extends INode> | getRoots() |
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() |
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.