public static class SplitDockStationLayout.Leaf extends SplitDockStationLayout.Entry
Dockable
.createPathProperty
Constructor and Description |
---|
SplitDockStationLayout.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, setParent
public SplitDockStationLayout.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 DockStation
nodeId
- the unique identifier of this nodepublic int getId()
Dockable
.public SplitDockStationLayout.Leaf asLeaf()
SplitDockStationLayout.Entry
this
as leaf or null
.asLeaf
in class SplitDockStationLayout.Entry
this
or null
public boolean isVisible()
SplitDockStationLayout.Entry
isVisible
in class SplitDockStationLayout.Entry
true
if this represents some graphical element or has a visible child