ist.palcom.hmap
Class HmapVisitor
java.lang.Object
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.
HmapVisitor
public HmapVisitor()
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)