Class builder.OutputIcon
All Packages Class Hierarchy This Package Previous Next Index
Class builder.OutputIcon
java.lang.Object
|
+----java.awt.Component
|
+----java.awt.Container
|
+----java.awt.Panel
|
+----builder.Moveable
|
+----builder.Icon
|
+----builder.OutputIcon
- public class OutputIcon
- extends Icon
Modified Icon that includes an representation for Input.
-
OutputIcon(Map)
- Constructor.
-
OutputIcon(Map, Point)
- Constructor.
-
OutputIcon(String, Map, Point, Node)
- Main Constructor.
-
paint(Graphics)
- paint
Refines the icon for the map representation of this Node.
OutputIcon
public OutputIcon(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.
OutputIcon
public OutputIcon(Map m,
Point l)
- Constructor.
- Parameters:
- m - the Map where the Icon is placed.
- l - initial location of the Icon in the Map.
OutputIcon
public OutputIcon(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