jtp.undo
Class MultipleTellEdit
java.lang.Object
|
+--javax.swing.undo.AbstractUndoableEdit
|
+--javax.swing.undo.CompoundEdit
|
+--jtp.undo.MultipleTellEdit
- All Implemented Interfaces:
- Serializable, UndoableEdit
- public class MultipleTellEdit
- extends CompoundEdit
Created: Tue May 7 17:44:05 PDT 2002
- See Also:
- Serialized Form
Methods inherited from class javax.swing.undo.CompoundEdit |
addEdit, canRedo, canUndo, die, end, getPresentationName, getRedoPresentationName, getUndoPresentationName, isInProgress, isSignificant, lastEdit, redo, toString, undo |
MultipleTellEdit
public MultipleTellEdit()
containsEditForObject
protected boolean containsEditForObject(Object obj)
- Parameters:
obj
- a directly asserted object, e.g., a Literal
- Returns:
- true if this edit contains a TellEdit for obj, false otherwise
collectToldObjects
protected void collectToldObjects(List objs)
- Collects the told objects in this edit into a List. The objects in the
list are ordered from oldest told object to most recently told object.
All objects will be added after the objects that are already in the list.
- Parameters:
objs
- a List to which will be added the told objects in this edit.
undoToObject
protected void undoToObject(Object obj)
throws CannotUndoException
- Assumes that user has already checked that this edit contains
the TellEdit for obj.
- Parameters:
obj
- The obj that needs to be unasserted.
CannotUndoException