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.UndoableEditundo in class javax.swing.undo.AbstractUndoableEditjavax.swing.undo.CannotUndoExceptionpublic boolean canUndo()
canUndo in interface javax.swing.undo.UndoableEditcanUndo in class javax.swing.undo.AbstractUndoableEditpublic void redo()
throws javax.swing.undo.CannotRedoException
redo in interface javax.swing.undo.UndoableEditredo in class javax.swing.undo.AbstractUndoableEditjavax.swing.undo.CannotRedoExceptionpublic boolean canRedo()
canRedo in interface javax.swing.undo.UndoableEditcanRedo in class javax.swing.undo.AbstractUndoableEditpublic java.lang.String getPresentationName()
getPresentationName in interface javax.swing.undo.UndoableEditgetPresentationName in class javax.swing.undo.AbstractUndoableEdit