|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object bibliothek.gui.dock.station.split.SplitDockPerspective.Entry bibliothek.gui.dock.station.split.SplitDockPerspective.Node
public static class SplitDockPerspective.Node
A node in a tree.
Constructor Summary | |
---|---|
SplitDockPerspective.Node(SplitDockStation.Orientation orientation,
double divider,
SplitDockPerspective.Entry childA,
SplitDockPerspective.Entry childB,
Set<Path> placeholders,
PlaceholderMap placeholderMap,
long id)
Creates a new node. |
Method Summary | |
---|---|
SplitDockPerspective.Node |
asNode()
Returns this as node or null . |
SplitDockPerspective.Entry |
getChildA()
Gets the left or top child. |
SplitDockPerspective.Entry |
getChildB()
Gets the right or bottom child. |
double |
getDivider()
The location of the divider. |
SplitDockStation.Orientation |
getOrientation()
Tells whether this node is horizontal or vertical. |
void |
setChildA(SplitDockPerspective.Entry childA)
Sets the left or top child of this node. |
void |
setChildB(SplitDockPerspective.Entry childB)
Sets the right or bottom child of this node. |
Methods inherited from class bibliothek.gui.dock.station.split.SplitDockPerspective.Entry |
---|
asLeaf, delete, getNodeId, getParent, getPerspective, getPlaceholderMap, getPlaceholders, isAnchestor, replace, setParent, setPlaceholderMap |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SplitDockPerspective.Node(SplitDockStation.Orientation orientation, double divider, SplitDockPerspective.Entry childA, SplitDockPerspective.Entry childB, Set<Path> placeholders, PlaceholderMap placeholderMap, long id)
orientation
- whether this node is horizontal or verticaldivider
- the location of the dividerchildA
- the left or top childchildB
- the right or bottom childplaceholders
- placeholders associated with this nodeplaceholderMap
- placeholder information of a child DockStation
id
- the unique identifier of this node or -1Method Detail |
---|
public SplitDockPerspective.Node asNode()
SplitDockPerspective.Entry
this
as node or null
.
asNode
in class SplitDockPerspective.Entry
this
or null
public SplitDockStation.Orientation getOrientation()
public double getDivider()
public SplitDockPerspective.Entry getChildA()
public void setChildA(SplitDockPerspective.Entry childA)
childA
- the new child, can be null
public SplitDockPerspective.Entry getChildB()
public void setChildB(SplitDockPerspective.Entry childB)
childB
- the new child, can be null
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |