Class Index | File Index

Classes


Class Command


Defined in: Command.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
Command(objectId, typeOfObject, property, previousValue, currentValue)
An interface for undoable actions, implemented by classes that specify how to handle action
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
Command(objectId, typeOfObject, property, previousValue, currentValue)
An interface for undoable actions, implemented by classes that specify how to handle action
Author: Zack Newsham zack_newsham@yahoo.co.uk, Alex .
Parameters:
objectId
= {Number} of {Figure}/{Connector}/{ConnectionPoint} Id
typeOfObject
= {Number} representing the type of object being changed
property
= {String} representing properties address within object
previousValue
= {Object}
currentValue
= {Object}
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:25 GMT+0300 (EEST)