A B C D E F G I L M N P R S T W

A

actionPerformed(ActionEvent) - Method in class grtree.NPLviewer
 
addChild(Tree) - Method in class grtree.Tree
Add a child to this tree.

B

background - Variable in class grtree.Tree
 

C

children - Variable in class grtree.Tree
 

D

data - Variable in class grtree.Tree
A Tree has data and children.
drawNode(Graphics, int, int) - Method in class grtree.Tree
 
drawTree(Graphics, int, int) - Method in class grtree.Tree
drawTree draws the tree in the Graphics plane using upper-left corner x,y (for box containing the tree).

E

edgeColor - Variable in class grtree.Tree
 

F

findChildren(String) - Static method in class grtree.TreeExpression
Input "[root,[TE1,TE2,...,TEn###" Return "TE1,TE2,...,TEn###" where the TEk are (sub)tree expressions.
findRoot(String) - Static method in class grtree.TreeExpression
Return the root name of a tree expression.
font - Variable in class grtree.Tree
 
fontColor - Variable in class grtree.Tree
 

G

getNodeHeight(Graphics) - Method in class grtree.Tree
 
getNodeWidth(Graphics) - Method in class grtree.Tree
How wide/high is the root node of this tree when drawn?
getTreeHeight(Graphics) - Method in class grtree.Tree
 
getTreeWidth(Graphics) - Method in class grtree.Tree
 
grtree - package grtree
 
GrtreeApplet - class grtree.GrtreeApplet.
 
GrtreeApplet() - Constructor for class grtree.GrtreeApplet
 

I

init() - Method in class grtree.GrtreeApplet
 
insoc - Variable in class grtree.TreeViewerThread
 
isLeaf() - Method in class grtree.Tree
Is this a leaf?

L

leafColor - Variable in class grtree.Tree
 

M

main(String[]) - Static method in class grtree.Tree
 
main(String[]) - Static method in class grtree.NPLviewer
NPLviewer is launched like this : c:\...> java grtree.NPLviewer fn where fn is the correspondence filename of the file containing the tree expression that should be drawn each time the view button is pushed.
main(String[]) - Static method in class grtree.TreeServer
 
main(String[]) - Static method in class grtree.TreeExpression
 

N

NPLviewer - class grtree.NPLviewer.
An application run from the command line.
NPLviewer(String) - Constructor for class grtree.NPLviewer
 

P

paint(Graphics) - Method in class grtree.GrtreeApplet
 
paint(Graphics) - Method in class grtree.TreeCanvas
 

R

removeChild(Tree) - Method in class grtree.Tree
Remove a child from this tree.
run() - Method in class grtree.TreeViewerThread
 

S

setTree(Tree) - Method in class grtree.TreeCanvas
 

T

toString() - Method in class grtree.Tree
.toString() .toString(int) Generate a String representation for the entire tree This is the familiar cascaded (tabbed tree) form.
toString(int) - Method in class grtree.Tree
 
toTree(String) - Static method in class grtree.TreeExpression
Return the Tree represented by this tree expression.
toTreeExpression() - Method in class grtree.Tree
Return TreeExpression for this tree.
tree - Variable in class grtree.TreeScrollFrame
 
tree - Variable in class grtree.TreeCanvas
 
Tree - class grtree.Tree.
Tree is a class representing a kind of generalized tree that the user wishes to draw on a graphics plane or print on some page (or graphics plane).
Tree(String) - Constructor for class grtree.Tree
Construct a Tree using (simple) String.
treeCanvas - Variable in class grtree.GrtreeApplet
 
TreeCanvas - class grtree.TreeCanvas.
Canvas on which to paint the tree.
TreeCanvas(Tree) - Constructor for class grtree.TreeCanvas
 
TreeExpression - class grtree.TreeExpression.
Here is a tree expression: "[a # [[b # [[c # [[d # []]]],[e # []]]],[f # []],[g # [[h # []]]]]]" It 'represents' the following tree: a / | \ b f g / \ | c e h | d It is assuemed that some other program will correctly generate the tree expression.
TreeExpression() - Constructor for class grtree.TreeExpression
 
TreeScrollFrame - class grtree.TreeScrollFrame.
A TreeScrollFrame is a nice frame that paints its tree.
TreeScrollFrame(Tree) - Constructor for class grtree.TreeScrollFrame
 
TreeServer - class grtree.TreeServer.
A TreeServer listens for a connection from a client at a port (3333).
TreeServer() - Constructor for class grtree.TreeServer
 
TreeViewerThread - class grtree.TreeViewerThread.
A TreeViewerThread handles client's requests to draw Tree(s).
TreeViewerThread(Socket) - Constructor for class grtree.TreeViewerThread
Construct TreeViewerThread for Socket.

W

where - Variable in class grtree.NPLviewer
 

A B C D E F G I L M N P R S T W