|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectclasses.shapes.commands.ShapeGraphicsDrawer
public class ShapeGraphicsDrawer
Draws the shapes based on the Command objects using Graphics package
IShapeCommand,
IShapeDrawer,
Graphics| Constructor Summary | |
|---|---|
ShapeGraphicsDrawer()
|
|
| Method Summary | |
|---|---|
void |
drawShape()
Draws the shape using Graphics package |
void |
setCommandObject(Command command)
Sets the Command object |
void |
setGraphicsObject(java.awt.Graphics g)
Sets the Graphics object |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ShapeGraphicsDrawer()
| Method Detail |
|---|
public void setGraphicsObject(java.awt.Graphics g)
setGraphicsObject in interface IShapeDrawerg - Grahpics object to be used to draw shapespublic void setCommandObject(Command command)
setCommandObject in interface IShapeDrawercommand - Command object to be setpublic void drawShape()
drawShape in interface IShapeDrawerIShapeDrawer.drawShape()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||