bibliothek.gui.dock.station.split
Class SplitDockTree.Key

java.lang.Object
  extended by bibliothek.gui.dock.station.split.SplitDockTree.Key
Enclosing class:
SplitDockTree

public abstract class SplitDockTree.Key
extends Object

A key that represents either a node or a leaf. Clients should not subclass this class.

Author:
Benjamin Sigg

Constructor Summary
SplitDockTree.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.
 SplitDockTree.Key getParent()
          Gets the parent of this node or leaf.
 SplitDockTree getTree()
          Gets the tree which is the owner of this node or leaf.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SplitDockTree.Key

public SplitDockTree.Key()
Method Detail

getTree

public SplitDockTree getTree()
Gets the tree which is the owner of this node or leaf.

Returns:
the owner

getParent

public SplitDockTree.Key getParent()
Gets the parent of this node or leaf.

Returns:
the parent, can be null

asLeaf

protected bibliothek.gui.dock.station.split.SplitDockTree.Leaf asLeaf()
Gets this key as a leaf.

Returns:
this or null

asNode

protected bibliothek.gui.dock.station.split.SplitDockTree.Node asNode()
Gets this key as a node.

Returns:
this or null