Class javaLabView.Icon
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class javaLabView.Icon

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

public class Icon
extends Moveable

Constructor Index

 o Icon()
 o Icon(String, Map, Point)

Method Index

 o getIconLabel()
 o main(String[])
Test method for this class...
 o move(Point)
 o paint(Graphics)
Defines the icon for the map representation of this Node.
 o removeIcon()

Constructors

 o Icon
  public Icon(String label,
              Map m,
              Point l)
 o Icon
  public Icon()

Methods

 o removeIcon
  public void removeIcon()
 o getIconLabel
  public Name getIconLabel()
 o move
  public void move(Point delta)
Overrides:
move in class Moveable
 o paint
  public void paint(Graphics g)
Defines the icon for the map representation of this Node.
Parameters:
g - the graphics context.
Overrides:
paint in class Component
 o main
  public static void main(String arg[])
Test method for this class...
This method only gets called when the class is launched
from the command line.

All Packages  Class Hierarchy  This Package  Previous  Next  Index