Webnote

Class History

Object
   |
   +--History

class History


A class that maintains the undo/redo stacks.
Defined in webnote.js


Field Summary
 int maxSize
          The number of items to keep in the undo stack.
 Array redoStack
          
 Array undoStack
          
 
Constructor Summary
History ()
           
 
Method Summary
 void add(<function> funcPtr)
           Add an event to the undo stack.
 void redo()
           Redo the last undo action.
 void undo()
           Undo the last action and move an item from the undo stack to the redo stack.
 void updateTitles()
           Update the tool tips on the undo and redo icons.

Field Detail

maxSize

int maxSize

redoStack

Array redoStack

undoStack

Array undoStack

Constructor Detail

History

History()

Method Detail

add

void add(<function> funcPtr)

redo

void redo()

undo

void undo()

updateTitles

void updateTitles()

Webnote

Documentation generated by JSDoc on Tue May 24 23:13:22 2005