bibliothek.gui.dock.station.split
Class SplitDockPerspective.Root

java.lang.Object
  extended by bibliothek.gui.dock.station.split.SplitDockPerspective.Entry
      extended by bibliothek.gui.dock.station.split.SplitDockPerspective.Root
Enclosing class:
SplitDockPerspective

public class SplitDockPerspective.Root
extends SplitDockPerspective.Entry

A root in a tree.

Author:
Benjamin Sigg

Constructor Summary
SplitDockPerspective.Root()
          Creates the new root.
 
Method Summary
 SplitDockPerspective.Entry getChild()
          Gets the child of this root.
 SplitDockPerspective getPerspective()
          Gets the owner of this node or leaf.
 void setChild(SplitDockPerspective.Entry child)
          Sets the child of this root.
protected  void setParent(SplitDockPerspective.Entry parent)
          Sets the parent of this entry.
 
Methods inherited from class bibliothek.gui.dock.station.split.SplitDockPerspective.Entry
asLeaf, asNode, delete, getNodeId, getParent, getPlaceholderMap, getPlaceholders, isAnchestor, replace, setPlaceholderMap
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SplitDockPerspective.Root

public SplitDockPerspective.Root()
Creates the new root.

Method Detail

getPerspective

public SplitDockPerspective getPerspective()
Description copied from class: SplitDockPerspective.Entry
Gets the owner of this node or leaf.

Overrides:
getPerspective in class SplitDockPerspective.Entry
Returns:
the owner, can be null

setParent

protected void setParent(SplitDockPerspective.Entry parent)
Description copied from class: SplitDockPerspective.Entry
Sets the parent of this entry.

Overrides:
setParent in class SplitDockPerspective.Entry
Parameters:
parent - the parent

getChild

public SplitDockPerspective.Entry getChild()
Gets the child of this root.

Returns:
the child, can be null

setChild

public void setChild(SplitDockPerspective.Entry child)
Sets the child of this root.

Parameters:
child - the child, can be null