public abstract static class SplitDockStationLayout.Entry extends Object
| Type | Property and Description |
|---|---|
SplitDockPathProperty |
createPath
Creates a new path property which describes the location of
this element.
|
| Constructor and Description |
|---|
Entry(Path[] placeholders,
PlaceholderMap placeholderMap,
long id)
Create a new entry
|
| Modifier and Type | Method and Description |
|---|---|
SplitDockStationLayout.Leaf |
asLeaf()
Returns
this as leaf or null. |
SplitDockStationLayout.Node |
asNode()
Returns
this as node or null. |
SplitDockPathProperty |
createPathProperty()
Creates a new path property which describes the location of
this element.
|
long |
getNodeId()
Gets the unique id of this node.
|
SplitDockStationLayout.Node |
getParent()
Gets the parent of this entry, is
null for the
root entry. |
PlaceholderMap |
getPlaceholderMap()
Gets the placeholder information of a potential child
DockStation. |
Path[] |
getPlaceholders()
Gets all the placeholders that are associated with this entry.
|
abstract boolean |
isVisible()
Whether this node or leaf is visible to the user.
|
protected void |
setParent(SplitDockStationLayout.Node parent)
Sets the parent of this entry.
|
public SplitDockPathProperty createPathProperty
public Entry(Path[] placeholders, PlaceholderMap placeholderMap, long id)
placeholders - the placeholders associated with this node or leafplaceholderMap - placeholder information of a child DockStationid - the unique id of this node or -1protected void setParent(SplitDockStationLayout.Node parent)
parent - the parentpublic SplitDockStationLayout.Node getParent()
null for the
root entry.public long getNodeId()
public SplitDockStationLayout.Leaf asLeaf()
this as leaf or null.this or nullpublic SplitDockStationLayout.Node asNode()
this as node or null.this or nullpublic abstract boolean isVisible()
true if this represents some graphical element or has a visible childpublic SplitDockPathProperty createPathProperty()
public Path[] getPlaceholders()
public PlaceholderMap getPlaceholderMap()
DockStation.nullCopyright © 2017 Docking Frames. All rights reserved.