|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IShapeContainer
Interface for the ShapeContainer component
| Method Summary | |
|---|---|
boolean |
addShape(IShape shape)
Adds the given shape object to container |
void |
drawShape()
Draws the container |
IShape |
getShape(int index)
Returns the shape object for the given index |
boolean |
removeShape(IShape shape)
Removes the given shape from the container |
| Method Detail |
|---|
void drawShape()
boolean addShape(IShape shape)
shape - shape to be added
boolean removeShape(IShape shape)
shape - shape to be removed
IShape getShape(int index)
index - index to be retrieved in the ShapeList
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||