com.jaxfront.core.util.undo
Class PasteUndoableEditWrapper

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

public class PasteUndoableEditWrapper
extends JAXFrontUndoableEditWrapper


Constructor Summary
PasteUndoableEditWrapper(JAXFrontUndoManager manager, java.lang.Object eventSource, java.lang.String target, java.lang.String oldValue, java.lang.String newValue)
           
PasteUndoableEditWrapper(JAXFrontUndoManager manager, java.lang.Object eventSource, Type target, java.lang.String oldValue, java.lang.String newValue)
           
 
Method Summary
 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, canRedo, canUndo, 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
 

Constructor Detail

PasteUndoableEditWrapper

public PasteUndoableEditWrapper(JAXFrontUndoManager manager,
                                java.lang.Object eventSource,
                                Type target,
                                java.lang.String oldValue,
                                java.lang.String newValue)

PasteUndoableEditWrapper

public PasteUndoableEditWrapper(JAXFrontUndoManager manager,
                                java.lang.Object eventSource,
                                java.lang.String target,
                                java.lang.String oldValue,
                                java.lang.String newValue)
Method Detail

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

serialize

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

die

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