|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectbibliothek.gui.dock.station.split.SplitDockTree.Key
public abstract class SplitDockTree.Key
A key that represents either a node or a leaf. Clients should not subclass this class.
| Constructor Summary | |
|---|---|
SplitDockTree.Key(Path[] placeholders,
PlaceholderMap placeholderMap,
long id)
Creates a new key |
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SplitDockTree.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 node| Method Detail |
|---|
protected 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()
null
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||