|
||||||||||
| 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.
SplitDockStation.visit(SplitTreeFactory)| Method Summary | |
|---|---|
N |
horizontal(N left,
N right,
double divider,
long id,
Path[] placeholders,
PlaceholderMap placeholderMap,
boolean visible)
Informs about a node that is divided vertically. |
N |
leaf(Dockable dockable,
long id,
Path[] placeholders,
PlaceholderMap placeholderMap)
Informs about a leaf of the tree. |
N |
placeholder(long id,
Path[] placeholders,
PlaceholderMap placeholderMap)
Informs about a set of placeholder in 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,
Path[] placeholders,
PlaceholderMap placeholderMap,
boolean visible)
Informs about a node that is divided vertically. |
| Method Detail |
|---|
N leaf(Dockable dockable,
long id,
Path[] placeholders,
PlaceholderMap placeholderMap)
dockable - the element in the leafid - the unique identifier of this node or -1placeholders - the placeholders associated with this node, can be emptyplaceholderMap - placeholder information of a child DockStation
null
N placeholder(long id,
Path[] placeholders,
PlaceholderMap placeholderMap)
id - the unique id of this placeholderplaceholders - the placeholdersplaceholderMap - placeholder information of a child DockStation
null
N horizontal(N left,
N right,
double divider,
long id,
Path[] placeholders,
PlaceholderMap placeholderMap,
boolean visible)
left - the left child of the node, might be nullright - the right child of the node, might be nulldivider - the size of the left node, a value between 0 and 1.id - the unique identifier of this node or -1placeholders - the placeholders associated with this node, can be emptyplaceholderMap - placeholder information of a child DockStationvisible - whether this node is visible to the user or not. A node is only visible to the user
if at least one of its children is visible
null
N vertical(N top,
N bottom,
double divider,
long id,
Path[] placeholders,
PlaceholderMap placeholderMap,
boolean visible)
top - the top child of the node, might be nullbottom - the bottom child of the node, might be nulldivider - the size of the top node, a value between 0 and 1.id - the unique identifier of this node or -1placeholders - the placeholders associated with this node, can be emptyplaceholderMap - placeholder information of a child DockStationvisible - whether this node is visible to the user or not. A node is only visible to the user
if at least one of its children is visible
null
N root(N root,
long id)
root - the root of the tree, might be nullid - 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 | |||||||||