|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectclasses.shapes.commands.ShapeDrawCommands
public class ShapeDrawCommands
Encapsulates the shape drawing commands and uses IShapeDrawer
to draw the shapes.
Also act as the real object to draw the shapes.
IShapeCommand,
IShapeDrawer,
Command| Constructor Summary | |
|---|---|
ShapeDrawCommands(IShapeDrawer shapeDrawer)
|
|
| Method Summary | |
|---|---|
void |
execute(Command command)
Executes the Command object |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ShapeDrawCommands(IShapeDrawer shapeDrawer)
| Method Detail |
|---|
public void execute(Command command)
execute in interface IShapeCommandcommand - Command object that to be executedIShapeCommand.execute(types.Command)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||