public static class SplitDockStationLayout.Leaf extends SplitDockStationLayout.Entry
Dockable.createPathProperty| Constructor and Description |
|---|
Leaf(int id,
Path[] placeholders,
PlaceholderMap placeholderMap,
long nodeId)
Creates a new leaf
|
| Modifier and Type | Method and Description |
|---|---|
SplitDockStationLayout.Leaf |
asLeaf()
Returns
this as leaf or null. |
int |
getId()
Gets the id of a
Dockable. |
boolean |
isVisible()
Whether this node or leaf is visible to the user.
|
asNode, createPathProperty, getNodeId, getParent, getPlaceholderMap, getPlaceholders, setParentpublic Leaf(int id,
Path[] placeholders,
PlaceholderMap placeholderMap,
long nodeId)
id - the id of a Dockable or -1placeholders - placeholders associated with this leafplaceholderMap - placeholder information of a child DockStationnodeId - the unique identifier of this nodepublic int getId()
Dockable.public SplitDockStationLayout.Leaf asLeaf()
SplitDockStationLayout.Entrythis as leaf or null.asLeaf in class SplitDockStationLayout.Entrythis or nullpublic boolean isVisible()
SplitDockStationLayout.EntryisVisible in class SplitDockStationLayout.Entrytrue if this represents some graphical element or has a visible childCopyright © 2017 Docking Frames. All rights reserved.