|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IShape
Interface for shape classes
| Method Summary | |
|---|---|
void |
changeShapeXYCoordinates(int x,
int y)
Changes the shape coordinates |
java.lang.Object |
clone()
Perfroms the clone operation on the current object |
void |
drawShape(int x,
int y)
Draws the shape at the specified location |
java.awt.Color |
getColor()
Get the color of the shape |
boolean |
IsPermanentShape()
Return whether the shape is permanent |
void |
setAsPermanentShape(boolean isPermanent)
To set the shape is permenant throught the application lifecycle |
void |
setColor(java.awt.Color color)
Set the color for the shape |
| Methods inherited from interface interfaces.IShapeDrawer |
|---|
drawShape, setCommandObject, setGraphicsObject |
| Method Detail |
|---|
void drawShape(int x,
int y)
x - x-coordinatey - y-coordinatevoid setAsPermanentShape(boolean isPermanent)
isPermanent - status of the shapeboolean IsPermanentShape()
void changeShapeXYCoordinates(int x,
int y)
x - x-coordinatey - y-coordinatevoid setColor(java.awt.Color color)
color - color of the shapeColorjava.awt.Color getColor()
java.lang.Object clone()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||