Skip navigation links
oracle.javatools.compare.view
Class ViewEdit
java.lang.Object
javax.swing.undo.AbstractUndoableEdit
oracle.javatools.compare.view.ViewEdit
- All Implemented Interfaces:
- java.io.Serializable, javax.swing.undo.UndoableEdit
-
public class ViewEdit
- extends javax.swing.undo.AbstractUndoableEdit
Undoable view edit event wrapper class.
- Since:
- 11.0
- See Also:
- Serialized Form
Fields inherited from class javax.swing.undo.AbstractUndoableEdit |
RedoName, UndoName |
Constructor Summary |
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. |
Methods inherited from class javax.swing.undo.AbstractUndoableEdit |
addEdit, die, getRedoPresentationName, getUndoPresentationName, isSignificant, replaceEdit, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ViewEdit
public ViewEdit(javax.swing.undo.UndoableEdit undoableEdit,
BaseCompareView compareView,
ViewMemento undoMemento,
ViewMemento redoMemento)
ViewEdit
public ViewEdit(javax.swing.undo.UndoableEdit undoableEdit,
java.lang.String presentationName,
BaseCompareView compareView,
ViewMemento undoMemento,
ViewMemento redoMemento)
ViewEdit
@Deprecated
public ViewEdit(javax.swing.undo.UndoableEdit undoableEdit,
EditableView compareView,
ViewMemento undoMemento,
ViewMemento redoMemento)
- Deprecated.
ViewEdit
@Deprecated
public ViewEdit(javax.swing.undo.UndoableEdit undoableEdit,
java.lang.String presentationName,
EditableView compareView,
ViewMemento undoMemento,
ViewMemento redoMemento)
- Deprecated.
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.AbstractUndoableEdit
-
- Throws:
javax.swing.undo.CannotUndoException
canUndo
public boolean canUndo()
-
- Specified by:
canUndo
in interface javax.swing.undo.UndoableEdit
- Overrides:
canUndo
in class javax.swing.undo.AbstractUndoableEdit
redo
public void redo()
throws javax.swing.undo.CannotRedoException
-
- Specified by:
redo
in interface javax.swing.undo.UndoableEdit
- Overrides:
redo
in class javax.swing.undo.AbstractUndoableEdit
-
- Throws:
javax.swing.undo.CannotRedoException
canRedo
public boolean canRedo()
-
- Specified by:
canRedo
in interface javax.swing.undo.UndoableEdit
- Overrides:
canRedo
in class javax.swing.undo.AbstractUndoableEdit
getPresentationName
public java.lang.String getPresentationName()
-
- Specified by:
getPresentationName
in interface javax.swing.undo.UndoableEdit
- Overrides:
getPresentationName
in class javax.swing.undo.AbstractUndoableEdit
Skip navigation links
Copyright © 1997, 2013, Oracle. All rights reserved.