public abstract class SplitDockTree.Key extends Object
| Constructor and Description |
|---|
Key(Path[] placeholders,
PlaceholderMap placeholderMap,
long id)
Creates a new key
|
| Modifier and Type | Method and Description |
|---|---|
protected bibliothek.gui.dock.station.split.SplitDockTree.Leaf |
asLeaf()
Gets this key as a leaf.
|
protected bibliothek.gui.dock.station.split.SplitDockTree.Node |
asNode()
Gets this key as a node.
|
long |
getNodeId()
Gets the unique id of this node.
|
SplitDockTree.Key |
getParent()
Gets the parent of this node or leaf.
|
SplitDockTree<D> |
getTree()
Gets the tree which is the owner of this node or leaf.
|
void |
setNodeId(long id)
Sets the unique identifier of this node
|
protected abstract void |
toString(StringBuilder builder,
int depth)
Converts this key and all its children into a
String. |
public Key(Path[] placeholders, PlaceholderMap placeholderMap, long id)
placeholders - the placeholders that are associated with this nodeplaceholderMap - placeholder information about a child DockStationid - the unique id of this nodeprotected abstract void toString(StringBuilder builder, int depth)
String.builder - the builder to which the content of this key is to be addeddepth - the depth of this key (number of parents)public SplitDockTree<D> getTree()
public SplitDockTree.Key getParent()
nullpublic void setNodeId(long id)
id - the id or -1public long getNodeId()
protected bibliothek.gui.dock.station.split.SplitDockTree.Leaf asLeaf()
nullprotected bibliothek.gui.dock.station.split.SplitDockTree.Node asNode()
nullCopyright © 2017 Docking Frames. All rights reserved.