Class Index | File Index

Classes


Class DeleteCommand


Defined in: DeleteCommand.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
DeleteCommand(property, previousValue, currentValue, previousValue, currentValue)
Object that is used to undo actions when figures/groups/connectors are deleted
Method Summary
Method Attributes Method Name and Description
 
redo()
This method got called every time the Command must execute
 
undo()
This method should be called every time the Command should be undone
Class Detail
DeleteCommand(property, previousValue, currentValue, previousValue, currentValue)
Object that is used to undo actions when figures/groups/connectors are deleted
Parameters:
property
{Null}
previousValue
{Figure}/{Connector}/{Group} the item being deleted
currentValue
{Event} the event that caused the delete
previousValue
currentValue
Method Detail
redo()
This method got called every time the Command must execute

undo()
This method should be called every time the Command should be undone

Documentation generated by JsDoc Toolkit 2.4.0 on Thu Jun 09 2011 12:47:26 GMT+0300 (EEST)