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.

Constructor Index

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

Method Index

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

Constructors

 o 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.
 o 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.
 o PointNode
  public PointNode(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