Class draw2d.CommandAdd

Object
   |
   +--draw2d.Command
         |
         +--draw2d.CommandAdd

class draw2d.CommandAdd
extends draw2d.Command

Defined in CommandAdd.js

Version: 0.9.14

Author: Andreas Herz


Field Summary
 Object figure
          
 Object parent
          
 Object workflow
          
 Object x
          
 Object y
          
   
Fields inherited from class draw2d.Command
label
 
Constructor Summary
draw2d.CommandAdd ( canvas, figure, x, y, parent)
           
 
Method Summary
 void execute()
           Execute the command the first time
 void redo()
           Undo the command
 void undo()
           Redo the command after the user has undo this command
 
Methods inherited from class draw2d.Command
getLabel, canExecute
 

Field Detail

figure

Object figure

parent

Object parent

workflow

Object workflow

x

Object x

y

Object y

Constructor Detail

draw2d.CommandAdd

draw2d.CommandAdd( canvas, figure, x, y, parent)

Method Detail

execute

void execute()

redo

void redo()

undo

void undo()


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