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


Field Summary
 Object figure
          
 Object oldHeight
          
 Object oldWidth
          
   
Fields inherited from class draw2d.Command
label
 
Constructor Summary
draw2d.CommandResize ( figure, width, height)
           
 
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
 
Methods inherited from class draw2d.Command
getLabel
 

Field Detail

figure

Object figure

oldHeight

Object oldHeight

oldWidth

Object oldWidth

Constructor Detail

draw2d.CommandResize

draw2d.CommandResize( figure, width, height)

Method Detail

canExecute

boolean canExecute()

execute

void execute()

redo

void redo()

setDimension

void setDimension( width, height)

undo

void undo()


Documentation generated by JSDoc on Thu Feb 7 23:45:47 2008