bibliothek.gui.dock.station.split
Interface SplitNodeVisitor


public interface SplitNodeVisitor

A visitor for a tree of SplitNodes.

Author:
Benjamin Sigg

Method Summary
 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.
 

Method Detail

handleRoot

void handleRoot(Root root)
Invoked when visiting the root of the tree.

Parameters:
root - the root

handleNode

void handleNode(Node node)
Invoked when visiting a node of the tree.

Parameters:
node - a node

handleLeaf

void handleLeaf(Leaf leaf)
Invoked when visiting a leaf of the tree.

Parameters:
leaf - the tree

handlePlaceholder

void handlePlaceholder(Placeholder placeholder)
Invoked when visiting a leaf that is a placeholder.

Parameters:
placeholder - the placeholder