All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class javaParse.TreeCanvas

java.lang.Object
   |
   +----java.awt.Component
           |
           +----java.awt.Canvas
                   |
                   +----javaParse.TreeCanvas

public abstract class TreeCanvas
extends Canvas
TreeCanvas - the base class that is the canvas for the graphical interpretations of the tree.


Variable Index

 o myMode
 o myNodes

Constructor Index

 o TreeCanvas(int)

Method Index

 o drawNode(TreeNode)
draws a node in the tree
 o startOver()
removes everything drawn in the tree

Variables

 o myMode
 protected int myMode
 o myNodes
 protected Vector myNodes

Constructors

 o TreeCanvas
 public TreeCanvas(int mode)
Parameters:
mode - the mode of the treecanvas - defined in Params as LR1_MODE,...

Methods

 o drawNode
 public void drawNode(TreeNode t)
draws a node in the tree

Parameters:
t - the node to be drawn
 o startOver
 public void startOver()
removes everything drawn in the tree


All Packages  Class Hierarchy  This Package  Previous  Next  Index