|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectbibliothek.gui.dock.station.split.SplitDockStationLayout.Entry
bibliothek.gui.dock.station.split.SplitDockStationLayout.Node
public static class SplitDockStationLayout.Node
A node in a tree.
| Constructor Summary | |
|---|---|
SplitDockStationLayout.Node(SplitDockStation.Orientation orientation,
double divider,
SplitDockStationLayout.Entry childA,
SplitDockStationLayout.Entry childB,
Path[] placeholders,
PlaceholderMap placeholderMap,
long id)
Creates a new node. |
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class bibliothek.gui.dock.station.split.SplitDockStationLayout.Entry |
|---|
asLeaf, createPathProperty, getNodeId, getParent, getPlaceholderMap, getPlaceholders, setParent |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SplitDockStationLayout.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 -1| Method Detail |
|---|
public SplitDockStationLayout.Node asNode()
SplitDockStationLayout.Entrythis as node or null.
asNode in class SplitDockStationLayout.Entrythis or nullpublic boolean isVisible()
SplitDockStationLayout.Entry
isVisible 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 node
childpublic SplitDockStation.Orientation getOrientation()
public double getDivider()
public SplitDockStationLayout.Entry getChildA()
public SplitDockStationLayout.Entry getChildB()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||