de.saar.chorus.treelayout
Class DefaultNodeVisitor

Object
  extended by DefaultNodeVisitor
All Implemented Interfaces:
NodeVisitorInterface
Direct Known Subclasses:
PostOrderNodeVisitor, PreOrderNodeVisitor

public abstract class DefaultNodeVisitor
extends Object
implements NodeVisitorInterface

Author:
Marco Kuhlmann

Constructor Summary
DefaultNodeVisitor(NodeCursorInterface theCursor)
           
 
Method Summary
 NodeCursorInterface getCursor()
           
abstract  boolean next()
           
 void run()
           
 void setCursor(NodeCursorInterface theCursor)
           
 
Methods inherited from class Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultNodeVisitor

public DefaultNodeVisitor(NodeCursorInterface theCursor)
Method Detail

setCursor

public void setCursor(NodeCursorInterface theCursor)
Specified by:
setCursor in interface NodeVisitorInterface

getCursor

public NodeCursorInterface getCursor()
Specified by:
getCursor in interface NodeVisitorInterface

next

public abstract boolean next()
Specified by:
next in interface NodeVisitorInterface

run

public void run()