Class draw2d.CommandResize
Object
|
+--draw2d.Command
|
+--draw2d.CommandResize
- class
draw2d.CommandResize
- extends draw2d.Command
Defined in CommandResize.js
Version: 0.9.14
Author: Andreas Herz
|
Method Summary |
boolean
|
canExecute()
Returns [true] if the command can be execute and the execution of the
command modify the model.
|
void
|
execute()
Execute the command the first time
|
void
|
redo()
Redo the command after the user has undo this command
|
void
|
setDimension( width, height)
Execute the command the first time
|
void
|
undo()
Undo the command
|
figure
Object figure
oldHeight
Object oldHeight
oldWidth
Object oldWidth
draw2d.CommandResize
draw2d.CommandResize( figure, width, height)
Version: 0.9.14
Author: Andreas Herz
canExecute
boolean canExecute()
Returns [true] if the command can be execute and the execution of the
command modify the model. A CommandMove with [startX,startX] == [endX,endY] should
return false.
the execution of the Command doesn't modify the model.
execute
void execute()
Execute the command the first time
redo
void redo()
Redo the command after the user has undo this command
setDimension
void setDimension( width, height)
Execute the command the first time
undo
void undo()
Documentation generated by
JSDoc on Thu Feb 7 23:45:47 2008