Package com.reportmill.base
Class RMUndoer.RMUndoEvent
- java.lang.Object
- 
- com.reportmill.base.RMObject
- 
- com.reportmill.base.RMUndoer.RMUndoEvent
 
 
- 
- All Implemented Interfaces:
- RMArchiver.Archiving,- java.lang.Cloneable
 - Enclosing class:
- RMUndoer
 
 public static class RMUndoer.RMUndoEvent extends RMObject This class reprents a distinct "undoable event".
- 
- 
Constructor SummaryConstructors Constructor Description RMUndoEvent()Creates a new empty undo event.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddDirtyObject(RMObject anObject)Adds a dirty object to the dirty object list (and a copy to dirty objects copy list).RMObjectgetDirtyObject(int anIndex)Returns the specific dirty object at given index.RMObjectgetDirtyObjectCopy(int anIndex)Returns the specific dirty object copy at the given index.intgetDirtyObjectCount()Returns the number of dirty objects.java.lang.StringgetFullRedoTitle()Returns the full title of this undo when used for redo.java.lang.StringgetFullUndoTitle()Returns the full title of this undo when used for undo.java.util.ListgetRedoSelectedObjects()Returns the list of objects to be selected if redo is executed.java.util.ListgetUndoSelectedObjects()Returns the list of objects to be selected if undo is executed.voidremoveUnchangedDirtyObjects()Removes any dirty objects that haven't really changed.voidreset()Resets this undo event for reuse.voidundo()Executes undo for this event.- 
Methods inherited from class com.reportmill.base.RMObjectclone, copy, didChange, didUndo, getAnimAttribute, getClassNameShort, initWithArchiver, undoClone, undoCopy, undoEquals
 
- 
 
- 
- 
- 
Method Detail- 
getDirtyObjectCountpublic int getDirtyObjectCount() Returns the number of dirty objects.
 - 
getDirtyObjectpublic RMObject getDirtyObject(int anIndex) Returns the specific dirty object at given index.
 - 
getDirtyObjectCopypublic RMObject getDirtyObjectCopy(int anIndex) Returns the specific dirty object copy at the given index.
 - 
addDirtyObjectpublic void addDirtyObject(RMObject anObject) Adds a dirty object to the dirty object list (and a copy to dirty objects copy list).
 - 
getUndoSelectedObjectspublic java.util.List getUndoSelectedObjects() Returns the list of objects to be selected if undo is executed.
 - 
getRedoSelectedObjectspublic java.util.List getRedoSelectedObjects() Returns the list of objects to be selected if redo is executed.
 - 
undopublic void undo() Executes undo for this event.
 - 
resetpublic void reset() Resets this undo event for reuse.
 - 
removeUnchangedDirtyObjectspublic void removeUnchangedDirtyObjects() Removes any dirty objects that haven't really changed.
 - 
getFullUndoTitlepublic java.lang.String getFullUndoTitle() Returns the full title of this undo when used for undo.
 - 
getFullRedoTitlepublic java.lang.String getFullRedoTitle() Returns the full title of this undo when used for redo.
 
- 
 
-