org.jtheque.movies.views.impl.edits.create
Class CreatedMovieEdit
java.lang.Object
javax.swing.undo.AbstractUndoableEdit
org.jtheque.movies.views.impl.edits.create.CreatedMovieEdit
- All Implemented Interfaces:
- Serializable, UndoableEdit
public final class CreatedMovieEdit
- extends AbstractUndoableEdit
An edit corresponding to a creation of a film.
- Author:
- Baptiste Wicht
- See Also:
- Serialized Form
CreatedMovieEdit
public CreatedMovieEdit(Movie movie)
- Construct a new CreatedFilmEdit.
- Parameters:
movie
- The created film.
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 © 2010 JTheque. All Rights Reserved.