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.

Constructor Index

 o OutputIcon(Map)
Constructor.
 o OutputIcon(Map, Point)
Constructor.
 o OutputIcon(String, Map, Point, Node)
Main Constructor.

Method Index

 o paint(Graphics)
paint Refines the icon for the map representation of this Node.

Constructors

 o 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.
 o 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.
 o OutputIcon
  public OutputIcon(Map m)
Constructor.
Parameters:
m - the Map where the Icon is placed.

Methods

 o 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