org.jtheque.films.controllers.impl.undo.delete
Class DeletedCountryEdit
java.lang.Object
javax.swing.undo.AbstractUndoableEdit
org.jtheque.films.controllers.impl.undo.delete.DeletedCountryEdit
- All Implemented Interfaces:
- Serializable, UndoableEdit
public final class DeletedCountryEdit
- extends AbstractUndoableEdit
An edit for a deletion of country.
- Author:
- Baptiste Wicht
- See Also:
- Serialized Form
Constructor Summary |
DeletedCountryEdit(org.jtheque.primary.od.CountryImpl kind)
Construct a new DeletedCountryEdit. |
DeletedCountryEdit
public DeletedCountryEdit(org.jtheque.primary.od.CountryImpl kind)
- Construct a new DeletedCountryEdit.
- Parameters:
kind
- The deleted country.
undo
public void undo()
throws CannotUndoException
- Specified by:
undo
in interface UndoableEdit
- Overrides:
undo
in class AbstractUndoableEdit
- Throws:
CannotUndoException
redo
public void redo()
throws CannotRedoException
- Specified by:
redo
in interface UndoableEdit
- Overrides:
redo
in class AbstractUndoableEdit
- Throws:
CannotRedoException
getPresentationName
public String getPresentationName()
- Specified by:
getPresentationName
in interface UndoableEdit
- Overrides:
getPresentationName
in class AbstractUndoableEdit
Copyright © 2009 JTheque. All Rights Reserved.