bibliothek.gui.dock.station.split
Class SplitNodeAdapter

java.lang.Object
  extended by bibliothek.gui.dock.station.split.SplitNodeAdapter
All Implemented Interfaces:
SplitNodeVisitor

public abstract class SplitNodeAdapter
extends Object
implements SplitNodeVisitor

An implementation of SplitNodeVisitor, all methods call handle(SplitNode).

Author:
Benjamin Sigg

Constructor Summary
SplitNodeAdapter()
           
 
Method Summary
protected  void handle(SplitNode node)
           
 void handleLeaf(Leaf leaf)
          Invoked when visiting a leaf of the tree.
 void handleNode(Node node)
          Invoked when visiting a node of the tree.
 void handlePlaceholder(Placeholder placeholder)
          Invoked when visiting a leaf that is a placeholder.
 void handleRoot(Root root)
          Invoked when visiting the root of the tree.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SplitNodeAdapter

public SplitNodeAdapter()
Method Detail

handleLeaf

public void handleLeaf(Leaf leaf)
Description copied from interface: SplitNodeVisitor
Invoked when visiting a leaf of the tree.

Specified by:
handleLeaf in interface SplitNodeVisitor
Parameters:
leaf - the tree

handleNode

public void handleNode(Node node)
Description copied from interface: SplitNodeVisitor
Invoked when visiting a node of the tree.

Specified by:
handleNode in interface SplitNodeVisitor
Parameters:
node - a node

handlePlaceholder

public void handlePlaceholder(Placeholder placeholder)
Description copied from interface: SplitNodeVisitor
Invoked when visiting a leaf that is a placeholder.

Specified by:
handlePlaceholder in interface SplitNodeVisitor
Parameters:
placeholder - the placeholder

handleRoot

public void handleRoot(Root root)
Description copied from interface: SplitNodeVisitor
Invoked when visiting the root of the tree.

Specified by:
handleRoot in interface SplitNodeVisitor
Parameters:
root - the root

handle

protected void handle(SplitNode node)