com.jaxfront.core.util.undo
Class ChoiceChangeUndoableEditWrapper

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

public class ChoiceChangeUndoableEditWrapper
extends JAXFrontUndoableEditWrapper


Constructor Summary
ChoiceChangeUndoableEditWrapper(JAXFrontUndoManager manager, java.lang.Object eventSource, java.lang.String target, java.lang.String newValueXPath, java.lang.String oldValueXPath)
           
ChoiceChangeUndoableEditWrapper(JAXFrontUndoManager manager, java.lang.Object eventSource, Type target, Type newValue, Type oldValue, boolean isTemporary)
           
 
Method Summary
 void die()
           
 java.lang.String getPresentationName()
           
 void redo()
           
 void serialize(java.io.PrintWriter writer)
           
 void undo()
           
 
Methods inherited from class com.jaxfront.core.util.undo.JAXFrontUndoableEditWrapper
addEdit, canRedo, canUndo, evalTargetType, getInfo, getRedoPresentationName, getUndoPresentationName, 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
 

Constructor Detail

ChoiceChangeUndoableEditWrapper

public ChoiceChangeUndoableEditWrapper(JAXFrontUndoManager manager,
                                       java.lang.Object eventSource,
                                       Type target,
                                       Type newValue,
                                       Type oldValue,
                                       boolean isTemporary)

ChoiceChangeUndoableEditWrapper

public ChoiceChangeUndoableEditWrapper(JAXFrontUndoManager manager,
                                       java.lang.Object eventSource,
                                       java.lang.String target,
                                       java.lang.String newValueXPath,
                                       java.lang.String oldValueXPath)
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()

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

serialize

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