|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
N
- the type of elements representing leafs and nodespublic interface SplitTreeFactory<N>
A factory used to create trees that somehow represent the layout
of a SplitDockStation
.
Method Summary | |
---|---|
N |
horizontal(N left,
N right,
double divider,
long id)
Informs about a node that is divided vertically. |
N |
leaf(Dockable dockable,
long id)
Informs about a leaf of the tree. |
N |
root(N root,
long id)
Informs about the node that is the root. |
N |
vertical(N top,
N bottom,
double divider,
long id)
Informs about a node that is divided vertically. |
Method Detail |
---|
N leaf(Dockable dockable, long id)
dockable
- the element in the leafid
- the unique identifier of this node or -1
null
N horizontal(N left, N right, double divider, long id)
left
- the left child of the node, might be null
right
- the right child of the node, might be null
divider
- the size of the left node, a value between 0 and 1.id
- the unique identifier of this node or -1
null
N vertical(N top, N bottom, double divider, long id)
top
- the top child of the node, might be null
bottom
- the bottom child of the node, might be null
divider
- the size of the top node, a value between 0 and 1.id
- the unique identifier of this node or -1
null
N root(N root, long id)
root
- the root of the tree, might be null
id
- the unique identifier of this node or -1
null
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |