com.jaxfront.core.util.undo
Class RecursionEventUndoableEditWrapper

java.lang.Object
  extended by com.jaxfront.core.util.undo.JAXFrontUndoableEditWrapper
      extended by com.jaxfront.core.util.undo.RecursionEventUndoableEditWrapper
All Implemented Interfaces:
JAXFrontUndoableEdit, javax.swing.undo.UndoableEdit

public class RecursionEventUndoableEditWrapper
extends JAXFrontUndoableEditWrapper


Field Summary
static short ADD
           
static short DELETE
           
 
Constructor Summary
RecursionEventUndoableEditWrapper(JAXFrontUndoManager manager, java.lang.Object eventSource, java.lang.String target, java.lang.String itemValue, short action)
           
RecursionEventUndoableEditWrapper(JAXFrontUndoManager manager, java.lang.Object eventSource, Type recursionType, short action)
           
 
Method Summary
 boolean canRedo()
           
 boolean canUndo()
           
 void die()
           
 java.lang.String getPresentationName()
           
 java.lang.String getRedoPresentationName()
           
 java.lang.String getUndoPresentationName()
           
 void redo()
           
 void serialize(java.io.PrintWriter writer)
           
 void undo()
           
 
Methods inherited from class com.jaxfront.core.util.undo.JAXFrontUndoableEditWrapper
addEdit, evalTargetType, getInfo, isSignificant, macroRedo, macroUndo, replaceEdit, setFirst, setIsInCompoundEdit, setLast, setSignificant, startBlocking, stopBlocking, visualizeRedo, visualizeUndo
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DELETE

public static final short DELETE
See Also:
Constant Field Values

ADD

public static final short ADD
See Also:
Constant Field Values
Constructor Detail

RecursionEventUndoableEditWrapper

public RecursionEventUndoableEditWrapper(JAXFrontUndoManager manager,
                                         java.lang.Object eventSource,
                                         Type recursionType,
                                         short action)

RecursionEventUndoableEditWrapper

public RecursionEventUndoableEditWrapper(JAXFrontUndoManager manager,
                                         java.lang.Object eventSource,
                                         java.lang.String target,
                                         java.lang.String itemValue,
                                         short action)
Method Detail

die

public void die()
Specified by:
die in interface javax.swing.undo.UndoableEdit
Overrides:
die in class JAXFrontUndoableEditWrapper

getPresentationName

public java.lang.String getPresentationName()

getRedoPresentationName

public java.lang.String getRedoPresentationName()
Specified by:
getRedoPresentationName in interface javax.swing.undo.UndoableEdit
Overrides:
getRedoPresentationName in class JAXFrontUndoableEditWrapper

getUndoPresentationName

public java.lang.String getUndoPresentationName()
Specified by:
getUndoPresentationName in interface javax.swing.undo.UndoableEdit
Overrides:
getUndoPresentationName in class JAXFrontUndoableEditWrapper

redo

public void redo()
          throws javax.swing.undo.CannotRedoException
Specified by:
redo in interface javax.swing.undo.UndoableEdit
Overrides:
redo in class JAXFrontUndoableEditWrapper
Throws:
javax.swing.undo.CannotRedoException

undo

public void undo()
          throws javax.swing.undo.CannotUndoException
Specified by:
undo in interface javax.swing.undo.UndoableEdit
Overrides:
undo in class JAXFrontUndoableEditWrapper
Throws:
javax.swing.undo.CannotUndoException

canRedo

public boolean canRedo()
Specified by:
canRedo in interface javax.swing.undo.UndoableEdit
Overrides:
canRedo in class JAXFrontUndoableEditWrapper

canUndo

public boolean canUndo()
Specified by:
canUndo in interface javax.swing.undo.UndoableEdit
Overrides:
canUndo in class JAXFrontUndoableEditWrapper

serialize

public void serialize(java.io.PrintWriter writer)
Specified by:
serialize in interface JAXFrontUndoableEdit
Overrides:
serialize in class JAXFrontUndoableEditWrapper