Class draw2d.CommandSetColor

Object
   |
   +--draw2d.Command
         |
         +--draw2d.CommandSetColor

class draw2d.CommandSetColor
extends draw2d.Command

Defined in CommandSetColor.js

Version: 0.9.14

Author: Andreas Herz


Field Summary
 Object figure
          
 Object newColor
          
 Object oldColor
          
   
Fields inherited from class draw2d.Command
label
 
Constructor Summary
draw2d.CommandSetColor ( figure, color)
           
 
Method Summary
 void execute()
           Execute the command the first time
 void redo()
           Redo the command after the user has undo this command
 void undo()
           Undo the command
 
Methods inherited from class draw2d.Command
getLabel, canExecute
 

Field Detail

figure

Object figure

newColor

Object newColor

oldColor

Object oldColor

Constructor Detail

draw2d.CommandSetColor

draw2d.CommandSetColor( figure, color)

Method Detail

execute

void execute()

redo

void redo()

undo

void undo()


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