public class ViewEdit
extends javax.swing.undo.AbstractUndoableEdit
Constructor and Description |
---|
ViewEdit(javax.swing.undo.UndoableEdit undoableEdit,
BaseCompareView compareView,
ViewMemento undoMemento,
ViewMemento redoMemento) |
ViewEdit(javax.swing.undo.UndoableEdit undoableEdit,
EditableView compareView,
ViewMemento undoMemento,
ViewMemento redoMemento)
Deprecated.
|
ViewEdit(javax.swing.undo.UndoableEdit undoableEdit,
java.lang.String presentationName,
BaseCompareView compareView,
ViewMemento undoMemento,
ViewMemento redoMemento) |
ViewEdit(javax.swing.undo.UndoableEdit undoableEdit,
java.lang.String presentationName,
EditableView compareView,
ViewMemento undoMemento,
ViewMemento redoMemento)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
boolean |
canRedo() |
boolean |
canUndo() |
java.lang.String |
getPresentationName() |
void |
redo() |
void |
undo() |
public ViewEdit(javax.swing.undo.UndoableEdit undoableEdit, BaseCompareView compareView, ViewMemento undoMemento, ViewMemento redoMemento)
public ViewEdit(javax.swing.undo.UndoableEdit undoableEdit, java.lang.String presentationName, BaseCompareView compareView, ViewMemento undoMemento, ViewMemento redoMemento)
@Deprecated public ViewEdit(javax.swing.undo.UndoableEdit undoableEdit, EditableView compareView, ViewMemento undoMemento, ViewMemento redoMemento)
@Deprecated public ViewEdit(javax.swing.undo.UndoableEdit undoableEdit, java.lang.String presentationName, EditableView compareView, ViewMemento undoMemento, ViewMemento redoMemento)
public void undo() throws javax.swing.undo.CannotUndoException
undo
in interface javax.swing.undo.UndoableEdit
undo
in class javax.swing.undo.AbstractUndoableEdit
javax.swing.undo.CannotUndoException
public boolean canUndo()
canUndo
in interface javax.swing.undo.UndoableEdit
canUndo
in class javax.swing.undo.AbstractUndoableEdit
public void redo() throws javax.swing.undo.CannotRedoException
redo
in interface javax.swing.undo.UndoableEdit
redo
in class javax.swing.undo.AbstractUndoableEdit
javax.swing.undo.CannotRedoException
public boolean canRedo()
canRedo
in interface javax.swing.undo.UndoableEdit
canRedo
in class javax.swing.undo.AbstractUndoableEdit
public java.lang.String getPresentationName()
getPresentationName
in interface javax.swing.undo.UndoableEdit
getPresentationName
in class javax.swing.undo.AbstractUndoableEdit