public class Node extends Object
Modifier and Type | Field and Description |
---|---|
Color |
bgcolor |
Color |
bordercolor |
static Node[] |
empty
An always empty array.
|
Node[] |
kids
The children of this node.
|
String |
text
The displayed text of the node.
|
Color |
textcolor |
float |
w
The node's width including the border.
|
float |
x
Coordinates of the node's upper left edge (including border).
|
float |
y
Coordinates of the node's upper left edge (including border).
|
public static final Node[] empty
public Node[] kids
null
.public float x
public float y
public float w
public String text
public Color textcolor
public Color bgcolor
public Color bordercolor
public Node(String text)
text
- the text to be displayed.public Node()