edu.mit.sketch.uml
Class UMLClass

java.lang.Object
  |
  +--edu.mit.sketch.uml.Sketchable
        |
        +--edu.mit.sketch.uml.UMLClass
Direct Known Subclasses:
UMLInterface, UMLObject

public abstract class UMLClass
extends Sketchable


Field Summary
protected  int locationX
           
protected  int locationY
           
protected  Vector methods
           
protected  int minHeight
           
protected  int minWidth
           
protected  String name
           
protected  Vector properties
           
 
Constructor Summary
UMLClass()
           
 
Method Summary
 void addMethod(UMLMethod m)
           
 void addProperty(UMLProperty p)
           
 Object clone()
           
 void deleteMethod(UMLMethod m)
           
 void deleteProperty(UMLProperty p)
           
 UMLMethod getMethod(int i)
           
 Vector getMethods()
           
 Vector getMethodsVector()
           
 String getName()
           
 Vector getProperties()
           
 Vector getPropertiesVector()
           
 UMLProperty getProperty(int i)
           
 int getX()
           
 int getY()
           
 void hideFrame()
           
 int methodSize()
           
 int propertySize()
           
protected  void setMethods(Vector m)
           
 void setName(String n)
           
protected  void setProperties(Vector p)
           
 void setX(int x)
           
 void setY(int y)
           
 void showFrame()
           
 
Methods inherited from class edu.mit.sketch.uml.Sketchable
addStroke, getDrawnBounds, getStroke, getStrokes, numStrokes, paint, paintStrokes, setStrokes, setStrokesUndrawable, shiftSketchPoints
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

name

protected String name

properties

protected Vector properties

methods

protected Vector methods

locationX

protected int locationX

locationY

protected int locationY

minHeight

protected int minHeight

minWidth

protected int minWidth
Constructor Detail

UMLClass

public UMLClass()
Method Detail

clone

public Object clone()
Overrides:
clone in class Object

setProperties

protected void setProperties(Vector p)

setMethods

protected void setMethods(Vector m)

getProperties

public Vector getProperties()

getMethods

public Vector getMethods()

setName

public void setName(String n)

getName

public String getName()

setX

public void setX(int x)

getX

public int getX()

setY

public void setY(int y)

getY

public int getY()

propertySize

public int propertySize()

methodSize

public int methodSize()

addProperty

public void addProperty(UMLProperty p)

addMethod

public void addMethod(UMLMethod m)

getMethodsVector

public Vector getMethodsVector()

getPropertiesVector

public Vector getPropertiesVector()

getProperty

public UMLProperty getProperty(int i)

getMethod

public UMLMethod getMethod(int i)

deleteProperty

public void deleteProperty(UMLProperty p)

deleteMethod

public void deleteMethod(UMLMethod m)

showFrame

public void showFrame()

hideFrame

public void hideFrame()