edu.mit.sketch.uml
Class UMLProgram

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

public class UMLProgram
extends Object
implements Serializable, Cloneable

See Also:
Serialized Form

Constructor Summary
UMLProgram()
           
 
Method Summary
 void addInterface(UMLInterface i)
           
 void addLink(UMLLink l)
           
 void addObject(UMLObject o)
           
 void addStroke(UMLStroke s)
           
 Object clone()
           
 UMLInterface getInterface(int i)
           
 UMLLink getLink(int i)
           
 UMLObject getObject(int i)
           
 UMLStroke getRecentStroke()
           
 UMLStroke getRecentStroke(int i)
           
 Vector getRecentStrokeVector(int num)
           
 Vector getRecentStrokeVectorUnrecognized(int num)
           
 UMLStroke getStroke(int i)
           
 Vector getStrokeVector()
           
 int interfacesSize()
           
 int linksSize()
           
 int objectsSize()
           
 void removeInterface(UMLInterface i)
           
 void removeLink(UMLLink l)
           
 void removeObject(UMLObject o)
           
 void removeStroke(UMLStroke s)
           
 void shiftInterface(UMLInterface o, int x, int y)
           
 void shiftObject(UMLObject o, int x, int y)
           
 int strokesSize()
           
 UMLInterface withinInterface(int x, int y, boolean drawOrig)
           
 UMLLink withinLinkHead(int x, int y, boolean drawOrig)
           
 UMLLink withinLinkTail(int x, int y, boolean drawOrig)
           
 UMLObject withinObject(int x, int y, boolean drawOrig)
           
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UMLProgram

public UMLProgram()
Method Detail

clone

public Object clone()
Overrides:
clone in class Object

withinObject

public UMLObject withinObject(int x,
                              int y,
                              boolean drawOrig)

withinInterface

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

withinLinkTail

public UMLLink withinLinkTail(int x,
                              int y,
                              boolean drawOrig)

withinLinkHead

public UMLLink withinLinkHead(int x,
                              int y,
                              boolean drawOrig)

addObject

public void addObject(UMLObject o)

removeObject

public void removeObject(UMLObject o)

shiftInterface

public void shiftInterface(UMLInterface o,
                           int x,
                           int y)

shiftObject

public void shiftObject(UMLObject o,
                        int x,
                        int y)

getObject

public UMLObject getObject(int i)

objectsSize

public int objectsSize()

addStroke

public void addStroke(UMLStroke s)

removeStroke

public void removeStroke(UMLStroke s)

getStroke

public UMLStroke getStroke(int i)

getRecentStroke

public UMLStroke getRecentStroke()

getRecentStroke

public UMLStroke getRecentStroke(int i)

getStrokeVector

public Vector getStrokeVector()

getRecentStrokeVector

public Vector getRecentStrokeVector(int num)

getRecentStrokeVectorUnrecognized

public Vector getRecentStrokeVectorUnrecognized(int num)

strokesSize

public int strokesSize()

addInterface

public void addInterface(UMLInterface i)

removeInterface

public void removeInterface(UMLInterface i)

getInterface

public UMLInterface getInterface(int i)

interfacesSize

public int interfacesSize()

addLink

public void addLink(UMLLink l)

removeLink

public void removeLink(UMLLink l)

getLink

public UMLLink getLink(int i)

linksSize

public int linksSize()