ist.palcom.hmap
Class HmapVisitor

java.lang.Object
  extended by ist.palcom.hmap.HmapVisitor
Direct Known Subclasses:
HmapMirrorer.HmapMirrorerVisitor, SwingDisplayEngine.DisplayEngineAddListenerVisitor, SwingDisplayEngine.DisplayEngineGUIComposer

public class HmapVisitor
extends Object

Abstract visitor superclass for the hmap. Derive a sub-class from this, override one or more of the virual pre- and post- methods, and call traverse() on it to traverse the tree recursively and gather information.


Constructor Summary
HmapVisitor()
           
 
Method Summary
 void postVisit(HmapNode node)
           
 void postVisitDir(HmapDir dir)
           
 void postVisitLeaf(HmapLeaf leaf)
           
 void preVisit(HmapNode node)
           
 void preVisitDir(HmapDir dir)
           
 void preVisitLeaf(HmapLeaf leaf)
           
 void traverse(HmapNode node)
           
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, println, toString
 

Constructor Detail

HmapVisitor

public HmapVisitor()
Method Detail

preVisit

public void preVisit(HmapNode node)

preVisitDir

public void preVisitDir(HmapDir dir)

preVisitLeaf

public void preVisitLeaf(HmapLeaf leaf)

postVisit

public void postVisit(HmapNode node)

postVisitDir

public void postVisitDir(HmapDir dir)

postVisitLeaf

public void postVisitLeaf(HmapLeaf leaf)

traverse

public void traverse(HmapNode node)