Class builder.InputIcon
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class builder.InputIcon

java.lang.Object
   |
   +----java.awt.Component
           |
           +----java.awt.Container
                   |
                   +----java.awt.Panel
                           |
                           +----builder.Moveable
                                   |
                                   +----builder.Icon
                                           |
                                           +----builder.InputIcon

public class InputIcon
extends Icon
Modified Icon that includes an representation for Input.

Constructor Index

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

Method Index

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

Constructors

 o InputIcon
  public InputIcon(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 InputIcon
  public InputIcon(Map m,
                   Point l)
Constructor.
Parameters:
m - the Map where the Icon is placed.
l - initial location of the Icon in the Map.
 o InputIcon
  public InputIcon(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