com.jaxfront.core.util.undo
Class JAXFrontUndoableEditWrapper
java.lang.Object
com.jaxfront.core.util.undo.JAXFrontUndoableEditWrapper
- All Implemented Interfaces:
- JAXFrontUndoableEdit, javax.swing.undo.UndoableEdit
- Direct Known Subclasses:
- ChangeSerializationUndoableEditWrapper, ChoiceChangeUndoableEditWrapper, ListMoveUndoableEditWrapper, ListSortUndoableEditWrapper, ListUndoableEditWrapper, PasteUndoableEditWrapper, PropertyChangeUndoableEditWrapper, RecursionEventUndoableEditWrapper
public abstract class JAXFrontUndoableEditWrapper
- extends java.lang.Object
- implements JAXFrontUndoableEdit
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface javax.swing.undo.UndoableEdit |
getPresentationName |
JAXFrontUndoableEditWrapper
public JAXFrontUndoableEditWrapper(JAXFrontUndoManager manager,
java.lang.String targetTypeXPath)
JAXFrontUndoableEditWrapper
public JAXFrontUndoableEditWrapper(JAXFrontUndoManager manager,
Type targetType)
addEdit
public boolean addEdit(javax.swing.undo.UndoableEdit anEdit)
- Specified by:
addEdit in interface javax.swing.undo.UndoableEdit
canRedo
public boolean canRedo()
- Specified by:
canRedo in interface javax.swing.undo.UndoableEdit
canUndo
public boolean canUndo()
- Specified by:
canUndo in interface javax.swing.undo.UndoableEdit
die
public void die()
- Specified by:
die in interface javax.swing.undo.UndoableEdit
evalTargetType
public Type evalTargetType()
getInfo
public java.lang.String getInfo()
- Specified by:
getInfo in interface JAXFrontUndoableEdit
getRedoPresentationName
public java.lang.String getRedoPresentationName()
- Specified by:
getRedoPresentationName in interface javax.swing.undo.UndoableEdit
getUndoPresentationName
public java.lang.String getUndoPresentationName()
- Specified by:
getUndoPresentationName in interface javax.swing.undo.UndoableEdit
isSignificant
public boolean isSignificant()
- Specified by:
isSignificant in interface javax.swing.undo.UndoableEdit
macroRedo
public void macroRedo()
macroUndo
public void macroUndo()
throws javax.swing.undo.CannotUndoException
- Throws:
javax.swing.undo.CannotUndoException
redo
public void redo()
throws javax.swing.undo.CannotRedoException
- Specified by:
redo in interface javax.swing.undo.UndoableEdit
- Throws:
javax.swing.undo.CannotRedoException
replaceEdit
public boolean replaceEdit(javax.swing.undo.UndoableEdit anEdit)
- Specified by:
replaceEdit in interface javax.swing.undo.UndoableEdit
serialize
public void serialize(java.io.PrintWriter writer)
- Specified by:
serialize in interface JAXFrontUndoableEdit
setFirst
public void setFirst(boolean isFirst)
- Specified by:
setFirst in interface JAXFrontUndoableEdit
setIsInCompoundEdit
public void setIsInCompoundEdit(boolean inCompoundEdit)
setLast
public void setLast(boolean isLast)
- Specified by:
setLast in interface JAXFrontUndoableEdit
setSignificant
public void setSignificant(boolean significant)
startBlocking
public void startBlocking()
stopBlocking
public void stopBlocking()
undo
public void undo()
throws javax.swing.undo.CannotUndoException
- Specified by:
undo in interface javax.swing.undo.UndoableEdit
- Throws:
javax.swing.undo.CannotUndoException
visualizeRedo
public void visualizeRedo(Type type)
visualizeUndo
public void visualizeUndo(Type type)