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
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
UMLClass
public UMLClass()
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()