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

Class javaLabView.Name

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

public class Name
extends Moveable

Constructor Index

 o Name(Map)
 o Name(Map, Point)
 o Name(String, Map, Point)

Method Index

 o lock(boolean)
Locks this Name in place.
 o main(String[])
Test method for this class...
 o paint(Graphics)
Defines the icon for the map representation of this Node.
 o setLabel(String)
 o toString()

Constructors

 o Name
  public Name(String text,
              Map m,
              Point l)
 o Name
  public Name(Map m,
              Point l)
 o Name
  public Name(Map m)

Methods

 o setLabel
  public void setLabel(String text)
 o toString
  public String toString()
Overrides:
toString in class Component
 o lock
  public void lock(boolean lock)
Locks this Name in place.
 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