edu.mit.sketch.uml
Class UMLInterface

java.lang.Object
  |
  +--edu.mit.sketch.uml.Sketchable
        |
        +--edu.mit.sketch.uml.UMLClass
              |
              +--edu.mit.sketch.uml.UMLInterface
All Implemented Interfaces:
Cloneable, Serializable

public class UMLInterface
extends UMLClass
implements Serializable, Cloneable

See Also:
Serialized Form

Fields inherited from class edu.mit.sketch.uml.UMLClass
locationX, locationY, methods, minHeight, minWidth, name, properties
 
Constructor Summary
UMLInterface(String n, int x, int y, int r)
           
 
Method Summary
 int getRadius()
           
 String getType()
           
 boolean isTest()
           
 boolean nearby(Point p, boolean drawOrig)
           
 Dimension paintDrawn(Graphics g)
           
 Dimension paintInterpreted(Graphics g)
           
 void setRadius(int r)
           
 void setSize(int x, int y, int r)
           
 void setTest(boolean t)
           
 boolean withinInterface(int x, int y, boolean drawOrig)
           
 
Methods inherited from class edu.mit.sketch.uml.UMLClass
addMethod, addProperty, clone, deleteMethod, deleteProperty, getMethod, getMethods, getMethodsVector, getName, getProperties, getPropertiesVector, getProperty, getX, getY, hideFrame, methodSize, propertySize, setMethods, setName, setProperties, setX, setY, 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
 

Constructor Detail

UMLInterface

public UMLInterface(String n,
                    int x,
                    int y,
                    int r)
Method Detail

setTest

public void setTest(boolean t)

isTest

public boolean isTest()

setSize

public void setSize(int x,
                    int y,
                    int r)

setRadius

public void setRadius(int r)

getRadius

public int getRadius()

nearby

public boolean nearby(Point p,
                      boolean drawOrig)

withinInterface

public boolean withinInterface(int x,
                               int y,
                               boolean drawOrig)

getType

public String getType()

paintDrawn

public Dimension paintDrawn(Graphics g)

paintInterpreted

public Dimension paintInterpreted(Graphics g)