Class Index | File Index

Classes


Class History


Defined in: History.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
An facade to add Commands, undo and redo them
Field Summary
Field Attributes Field Name and Description
<static>  
History.COMMANDS
Where the {Array} or commands is stored
<static>  
History.CURRENT_POINTER
The current command inde within the vector of undoable objects.
<static>  
Object is a connection point
<static>  
Object is a connector
<static>  
History.OBJECT_FIGURE
Object is a figure
<static>  
History.OBJECT_GLUE
Object is a glue
<static>  
History.OBJECT_GROUP
Object is a group
<static>  
History.OBJECT_STATIC
Object is a generic object
Method Summary
Method Attributes Method Name and Description
<static>  
History.addUndo(command)
<static>  
History.redo()
Redo a command
<static>  
History.undo()
Undo current command
Class Detail
History()
An facade to add Commands, undo and redo them
Author: Zack Newsham zack_newsham@yahoo.co.uk, Alex .
Field Detail
<static> History.COMMANDS
Where the {Array} or commands is stored

<static> History.CURRENT_POINTER
The current command inde within the vector of undoable objects. At that position there will be a Command

<static> History.OBJECT_CONNECTION_POINT
Object is a connection point

<static> History.OBJECT_CONNECTOR
Object is a connector

<static> History.OBJECT_FIGURE
Object is a figure

<static> History.OBJECT_GLUE
Object is a glue

<static> History.OBJECT_GROUP
Object is a group

<static> History.OBJECT_STATIC
Object is a generic object
Method Detail
<static> History.addUndo(command)
Parameters:
command

<static> History.redo()
Redo a command

<static> History.undo()
Undo current command

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