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,
Type targetType)
JAXFrontUndoableEditWrapper
public JAXFrontUndoableEditWrapper(JAXFrontUndoManager manager,
java.lang.String targetTypeXPath)
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
undo
public void undo()
throws javax.swing.undo.CannotUndoException
- Specified by:
undo
in interface javax.swing.undo.UndoableEdit
- 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
macroUndo
public void macroUndo()
throws javax.swing.undo.CannotUndoException
- Throws:
javax.swing.undo.CannotUndoException
macroRedo
public void macroRedo()
isSignificant
public boolean isSignificant()
- Specified by:
isSignificant
in interface javax.swing.undo.UndoableEdit
setSignificant
public void setSignificant(boolean significant)
addEdit
public boolean addEdit(javax.swing.undo.UndoableEdit anEdit)
- Specified by:
addEdit
in interface javax.swing.undo.UndoableEdit
replaceEdit
public boolean replaceEdit(javax.swing.undo.UndoableEdit anEdit)
- Specified by:
replaceEdit
in interface javax.swing.undo.UndoableEdit
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
serialize
public void serialize(java.io.PrintWriter writer)
- Specified by:
serialize
in interface JAXFrontUndoableEdit
startBlocking
public void startBlocking()
stopBlocking
public void stopBlocking()
setIsInCompoundEdit
public void setIsInCompoundEdit(boolean inCompoundEdit)
visualizeUndo
public void visualizeUndo(Type type)
visualizeRedo
public void visualizeRedo(Type type)
setLast
public void setLast(boolean isLast)
- Specified by:
setLast
in interface JAXFrontUndoableEdit
setFirst
public void setFirst(boolean isFirst)
- Specified by:
setFirst
in interface JAXFrontUndoableEdit
evalTargetType
public Type evalTargetType()
getInfo
public java.lang.String getInfo()
- Specified by:
getInfo
in interface JAXFrontUndoableEdit