public static class SplitDockStationLayout.Node extends SplitDockStationLayout.Entry
createPathProperty| Constructor and Description |
|---|
Node(SplitDockStation.Orientation orientation,
double divider,
SplitDockStationLayout.Entry childA,
SplitDockStationLayout.Entry childB,
Path[] placeholders,
PlaceholderMap placeholderMap,
long id)
Creates a new node.
|
| Modifier and Type | Method and Description |
|---|---|
SplitDockStationLayout.Node |
asNode()
Returns
this as node or null. |
SplitDockPathProperty |
createPathProperty(SplitDockStationLayout.Entry child)
Creates a new path pointing to
child which must be
a child of this node. |
SplitDockStationLayout.Entry |
getChildA()
Gets the left or top child.
|
SplitDockStationLayout.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.
|
boolean |
isVisible()
Whether this node or leaf is visible to the user.
|
asLeaf, createPathProperty, getNodeId, getParent, getPlaceholderMap, getPlaceholders, setParentpublic Node(SplitDockStation.Orientation orientation, double divider, SplitDockStationLayout.Entry childA, SplitDockStationLayout.Entry childB, 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 DockStationid - the unique identifier of this node or -1public SplitDockStationLayout.Node asNode()
SplitDockStationLayout.Entrythis as node or null.asNode in class SplitDockStationLayout.Entrythis or nullpublic boolean isVisible()
SplitDockStationLayout.EntryisVisible in class SplitDockStationLayout.Entrytrue if this represents some graphical element or has a visible childpublic SplitDockPathProperty createPathProperty(SplitDockStationLayout.Entry child)
child which must be
a child of this node.child - some child of this nodechildpublic SplitDockStation.Orientation getOrientation()
public double getDivider()
public SplitDockStationLayout.Entry getChildA()
public SplitDockStationLayout.Entry getChildB()
Copyright © 2017 Docking Frames. All rights reserved.