JTP API Documentation

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

Field Summary
 
Fields inherited from class javax.swing.undo.CompoundEdit
edits
 
Fields inherited from class javax.swing.undo.AbstractUndoableEdit
RedoName, UndoName
 
Constructor Summary
MultipleTellEdit()
           
 
Method Summary
protected  void collectToldObjects(List objs)
          Collects the told objects in this edit into a List.
protected  boolean containsEditForObject(Object obj)
           
protected  void undoToObject(Object obj)
          Assumes that user has already checked that this edit contains the TellEdit for obj.
 
Methods inherited from class javax.swing.undo.CompoundEdit
addEdit, canRedo, canUndo, die, end, getPresentationName, getRedoPresentationName, getUndoPresentationName, isInProgress, isSignificant, lastEdit, redo, toString, undo
 
Methods inherited from class javax.swing.undo.AbstractUndoableEdit
replaceEdit
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MultipleTellEdit

public MultipleTellEdit()
Method Detail

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

JTP API Documentation