com.jaxfront.core.util.undo
Class CompoundEditWrapper
java.lang.Object
javax.swing.undo.AbstractUndoableEdit
javax.swing.undo.CompoundEdit
com.jaxfront.core.util.undo.CompoundEditWrapper
- All Implemented Interfaces:
- JAXFrontUndoableEdit, java.io.Serializable, javax.swing.undo.UndoableEdit
public class CompoundEditWrapper
- extends javax.swing.undo.CompoundEdit
- implements JAXFrontUndoableEdit
- See Also:
- Serialized Form
Methods inherited from class javax.swing.undo.CompoundEdit |
canRedo, canUndo, die, getPresentationName, getRedoPresentationName, getUndoPresentationName, isInProgress, isSignificant, toString |
Methods inherited from class javax.swing.undo.AbstractUndoableEdit |
replaceEdit |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface javax.swing.undo.UndoableEdit |
canRedo, canUndo, die, getPresentationName, getRedoPresentationName, getUndoPresentationName, isSignificant, replaceEdit |
CompoundEditWrapper
public CompoundEditWrapper()
CompoundEditWrapper
public CompoundEditWrapper(JAXFrontUndoManager manager)
CompoundEditWrapper
public CompoundEditWrapper(JAXFrontUndoManager manager,
org.w3c.dom.Element serializedChilds)
serialize
public void serialize(java.io.PrintWriter writer)
- Specified by:
serialize
in interface JAXFrontUndoableEdit
undo
public void undo()
throws javax.swing.undo.CannotUndoException
- Specified by:
undo
in interface javax.swing.undo.UndoableEdit
- Overrides:
undo
in class javax.swing.undo.CompoundEdit
- Throws:
javax.swing.undo.CannotUndoException
redo
public void redo()
- Specified by:
redo
in interface javax.swing.undo.UndoableEdit
- Overrides:
redo
in class javax.swing.undo.CompoundEdit
macroUndo
public void macroUndo()
throws javax.swing.undo.CannotUndoException
- Throws:
javax.swing.undo.CannotUndoException
macroRedo
public void macroRedo()
end
public void end()
- Overrides:
end
in class javax.swing.undo.CompoundEdit
setLast
public void setLast(boolean b)
- Specified by:
setLast
in interface JAXFrontUndoableEdit
addEdit
public boolean addEdit(javax.swing.undo.UndoableEdit anEdit)
- Specified by:
addEdit
in interface javax.swing.undo.UndoableEdit
- Overrides:
addEdit
in class javax.swing.undo.CompoundEdit
setFirst
public void setFirst(boolean b)
- Specified by:
setFirst
in interface JAXFrontUndoableEdit
getInfo
public java.lang.String getInfo()
- Specified by:
getInfo
in interface JAXFrontUndoableEdit