|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IShapeDrawer
Interface for Drawing shape using graphics object
Method Summary | |
---|---|
void |
drawShape()
Draws the shape based on the operations stored in command object |
void |
setCommandObject(Command command)
Set the Command object which contains the commands to draw the shape |
void |
setGraphicsObject(java.awt.Graphics g)
Set the Graphics object which is responsible to draw the graphics |
Method Detail |
---|
void setGraphicsObject(java.awt.Graphics g)
g
- Graphics object to be setvoid setCommandObject(Command command)
command
- Command object to setvoid drawShape()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |