N
- The node type for the treepublic interface TreeArrangement<N> extends Arrangement<N>
Interface for all tree arrangements supported by this package. This interface provides a set of methods for arranging trees which are independent of the actual node type or renderer used.
An Arrangement should attempt to arrange all nodes in the tree. If it does not, an ArrangementException should be thrown to indicate that not all nodes have been arranged.
Modifier and Type | Method and Description |
---|---|
void |
arrange(Tree<N> tree)
Arranges the specified Tree
|
getNodeLocation, getSize, setMargin, setSize, setSize
void arrange(Tree<N> tree) throws ArrangementException
tree
- the tree to arrangeArrangementException
- If there is a problem determining the
arrangement