All Packages Class Hierarchy This Package Previous Next Index
java.lang.Object
|
+----mjr.treegraphics.TreeGraphics
|
+----mjr.treegraphics.ASCIITreeGraphics
The TreeGraphics routines work by getting from you a pre-order
traversal of your tree (root-left-right), in terms of calls to
DrawInternal and DrawLeaf. The exact
semantics of these calls are:
ASCIITreeGraphics.DrawInternal(String nodeLabel); ASCIITreeGraphics.DrawLeaf();This code was ported by mjr from the pascal source written by bmc.
public final static int TAG_DIF_X
public final static int TAG_BASE_X
public final static int TAG_DIF_Y
public final static int TAG_BASE_Y
public final static int TAG_MAX_X
public final static int TAG_MAX_Y
public ASCIITreeGraphics()
public void DrawInternal(String nodeLabel,
String color)
public void DrawInternal(String nodeLabel)
public void DrawLeaf(String color)
public void DrawLeaf()
public static void main(String args[])
All Packages Class Hierarchy This Package Previous Next Index