@mozilla.org/transactionmanager;1

This component implements the following interfaces:

Properties

PRInt32 nsITransactionManager.maxTransactionCount

Sets the maximum number of transaction items the transaction manager will maintain at any time. This is commonly referred to as the number of levels of undo.

readonly PRInt32 nsITransactionManager.numberOfRedoItems

The number of items on the redo stack.

readonly PRInt32 nsITransactionManager.numberOfUndoItems

The number of items on the undo stack.

Methods

InterfaceMethod
nsITransactionManager void AddListener ( nsITransactionListener listener )
nsITransactionManager void beginBatch ( )
nsITransactionManager void clear ( )
nsITransactionManager void doTransaction ( nsITransaction transaction )
nsITransactionManager void endBatch ( )
nsITransactionManager nsITransactionList getRedoList ( )
nsITransactionManager nsITransactionList getUndoList ( )
nsISupportsWeakReference nsIWeakReference GetWeakReference ( )
nsITransactionManager nsITransaction peekRedoStack ( )
nsITransactionManager nsITransaction peekUndoStack ( )
nsITransactionManager void redoTransaction ( )
nsITransactionManager void RemoveListener ( nsITransactionListener listener )
nsITransactionManager void undoTransaction ( )

Reference documentation is generated from Mozilla's source.

Add a note User Contributed Notes
No comments available

Copyright © 1999 - 2005 XULPlanet.com