Package | Description |
---|---|
alice.tuprologx.spyframe |
Modifier and Type | Field and Description |
---|---|
static Node[] |
Node.empty
An always empty array.
|
Node[] |
Node.kids
The children of this node.
|
protected Node |
Tree.root
The root of the tree.
|
Modifier and Type | Method and Description |
---|---|
Node |
ToTree.makeTreeFrom(T thing)
Construct a tree out of some thing.
|
Modifier and Type | Method and Description |
---|---|
void |
Tree.paintNode(java.awt.Graphics2D g2,
Node node)
Displays this node with colored border and text.
|
protected void |
Tree.paintTree(java.awt.Graphics2D g2,
Node node)
Displays recursively the subtree rooted at the specified node.
|
protected float |
Tree.pose(Node node,
float xpos,
int level)
Measures recursively a subtree the root of which is this and centers the
this above the children.
|