edu.mit.sketch.uml
Class UMLStrokeCollection

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

public class UMLStrokeCollection
extends Object
implements Serializable, Cloneable

Holds a collection of strokes and performs operations on them so that these operations are not performed more than once.

See Also:
Serialized Form

Constructor Summary
UMLStrokeCollection(Vector strokes, UMLProgram program)
           
 
Method Summary
 Object clone()
           
 void drawableStrokes(boolean b)
           
 Vector getAngles()
           
 Polygon getBoundingPoly()
           
 Rectangle getBoundingRect()
           
 Vector getLabeledLines()
           
 Vector getLines()
           
 int getNumPoints()
           
 Vector getStrokes()
           
 UMLObject getSurroundingObject()
           
 void recognizeStrokes()
           
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UMLStrokeCollection

public UMLStrokeCollection(Vector strokes,
                           UMLProgram program)
Method Detail

clone

public Object clone()
Overrides:
clone in class Object

getAngles

public Vector getAngles()

getLines

public Vector getLines()

getLabeledLines

public Vector getLabeledLines()

getSurroundingObject

public UMLObject getSurroundingObject()

getBoundingPoly

public Polygon getBoundingPoly()

getBoundingRect

public Rectangle getBoundingRect()

recognizeStrokes

public void recognizeStrokes()

drawableStrokes

public void drawableStrokes(boolean b)

getStrokes

public Vector getStrokes()

getNumPoints

public int getNumPoints()