org.jtheque.primary.controller.impl.undo
Class CreatedCountryEdit
java.lang.Object
javax.swing.undo.AbstractUndoableEdit
org.jtheque.primary.controller.impl.undo.CreatedCountryEdit
- All Implemented Interfaces:
- Serializable, UndoableEdit
public final class CreatedCountryEdit
- extends AbstractUndoableEdit
An edit corresponding to a creation of a country.
- Author:
- Baptiste Wicht
- See Also:
- Serialized Form
CreatedCountryEdit
public CreatedCountryEdit(Country country)
- Construct a new CreatedCountryEdit.
- Parameters:
country
- The created country.
undo
public void undo()
- Specified by:
undo
in interface UndoableEdit
- Overrides:
undo
in class AbstractUndoableEdit
redo
public void redo()
- Specified by:
redo
in interface UndoableEdit
- Overrides:
redo
in class AbstractUndoableEdit
getPresentationName
public String getPresentationName()
- Specified by:
getPresentationName
in interface UndoableEdit
- Overrides:
getPresentationName
in class AbstractUndoableEdit
Copyright © 2010 JTheque. All Rights Reserved.