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.
-
myMode
-
-
myNodes
-
-
TreeCanvas(int)
-
-
drawNode(TreeNode)
- draws a node in the tree
-
startOver()
- removes everything drawn in the tree
myMode
protected int myMode
myNodes
protected Vector myNodes
TreeCanvas
public TreeCanvas(int mode)
- Parameters:
- mode - the mode of the treecanvas - defined in Params
as LR1_MODE,...
drawNode
public void drawNode(TreeNode t)
- draws a node in the tree
- Parameters:
- t - the node to be drawn
startOver
public void startOver()
- removes everything drawn in the tree
All Packages Class Hierarchy This Package Previous Next Index