Class builder.PointNode
All Packages Class Hierarchy This Package Previous Next Index
Class builder.PointNode
java.lang.Object
|
+----java.awt.Component
|
+----java.awt.Container
|
+----java.awt.Panel
|
+----builder.Moveable
|
+----builder.Icon
|
+----builder.PointNode
- public class PointNode
- extends Icon
Modified Icon that includes an representation for Input.
-
PointNode(Map)
- Constructor.
-
PointNode(Map, Point)
- Constructor.
-
PointNode(String, Map, Point, Node)
- Main Constructor.
-
paint(Graphics)
- paint
Refines the icon for the map representation of this Node.
PointNode
public PointNode(String label,
Map m,
Point l,
Node n)
- Main Constructor.
- Parameters:
- label - name associated with the Icon.
- m - the Map where the Icon is placed.
- l - initial location of the Icon in the Map.
- n - The Node to which this Icon belongs.
PointNode
public PointNode(Map m,
Point l)
- Constructor.
- Parameters:
- m - the Map where the Icon is placed.
- l - initial location of the Icon in the Map.
PointNode
public PointNode(Map m)
- Constructor.
- Parameters:
- m - the Map where the Icon is placed.
paint
public void paint(Graphics g)
- paint
Refines the icon for the map representation of this Node.
- Parameters:
- g - the graphics context.
- Overrides:
- paint in class Icon
All Packages Class Hierarchy This Package Previous Next Index