| |
Class Node
java.lang.Object
|
+----Node
- public class Node
- extends Object
A graph node.
- See Also:
- GraphPanel
-
distance2(int, int)
- Returns the square of the distance to the center of this node.
-
paint(Graphics)
- Paints the node with appropriate color
paint
public void paint(Graphics g)
- Paints the node with appropriate color
distance2
public double distance2(int x,
int y)
- Returns the square of the distance to the center of this node.
|