|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.otvl.sbxbsamp.simple.Drawing
A drawing, collection of abstract shapes.
Constructor Summary | |
Drawing()
|
Method Summary | |
void |
addTheShapes(int index,
Shape aShape)
Inserts a target in link theShapes. |
void |
addTheShapes(Shape aShape)
Adds a target at end of link theShapes. |
void |
clearTheShapes()
Clears all targets in link theShapes |
java.lang.String |
getPaper()
Returns the paper. |
Shape |
getTheShapes(int index)
Returns a target in link theShapes. |
java.util.Iterator |
iteratorTheShapes()
Returns an iterator for targets in links theShapes |
void |
removeTheShapes(int index)
Removes a target in link theShapes |
void |
setPaper(java.lang.String paper)
Sets the paper. |
int |
sizeTheShapes()
Returns the size of the collection theShapes |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Drawing()
Method Detail |
public java.lang.String getPaper()
public void setPaper(java.lang.String paper)
paper
- The paper to setpublic Shape getTheShapes(int index)
index
- offset in the array
public java.util.Iterator iteratorTheShapes()
public int sizeTheShapes()
public void addTheShapes(int index, Shape aShape)
index
- offset in the listaShape
- The Shape to insertpublic void addTheShapes(Shape aShape)
aShape
- The Shape to insertpublic void removeTheShapes(int index)
index
- offset in the listpublic void clearTheShapes()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |