public class JComboBoxUndoableEdit extends AbstractUndoableEdit
RedoName, UndoName| Constructor and Description |
|---|
JComboBoxUndoableEdit(JComboBox comboBox,
Object deselectedItem,
Object selectedItem,
ItemListener undoItemListener) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canRedo() |
String |
getPresentationName() |
void |
redo() |
void |
undo() |
addEdit, canUndo, die, getRedoPresentationName, getUndoPresentationName, isSignificant, replaceEdit, toStringpublic JComboBoxUndoableEdit(JComboBox comboBox, Object deselectedItem, Object selectedItem, ItemListener undoItemListener)
public String getPresentationName()
getPresentationName in interface UndoableEditgetPresentationName in class AbstractUndoableEditpublic boolean canRedo()
canRedo in interface UndoableEditcanRedo in class AbstractUndoableEditpublic void redo()
throws CannotRedoException
redo in interface UndoableEditredo in class AbstractUndoableEditCannotRedoExceptionpublic void undo()
throws CannotUndoException
undo in interface UndoableEditundo in class AbstractUndoableEditCannotUndoExceptionCopyright © 2001–2015 Apache Cayenne. All rights reserved.