org.jtheque.films.controllers.impl.undo.delete
Class DeletedBorrowerEdit

java.lang.Object
  extended by javax.swing.undo.AbstractUndoableEdit
      extended by org.jtheque.films.controllers.impl.undo.delete.DeletedBorrowerEdit
All Implemented Interfaces:
Serializable, UndoableEdit

public final class DeletedBorrowerEdit
extends AbstractUndoableEdit

An edit for a deletion of borrower.

Author:
Baptiste Wicht
See Also:
Serialized Form

Field Summary
 
Fields inherited from class javax.swing.undo.AbstractUndoableEdit
RedoName, UndoName
 
Constructor Summary
DeletedBorrowerEdit(org.jtheque.primary.od.BorrowerImpl borrower)
          Construct a new DeletedKindEdit.
 
Method Summary
 String getPresentationName()
           
 void redo()
           
 void undo()
           
 
Methods inherited from class javax.swing.undo.AbstractUndoableEdit
addEdit, canRedo, canUndo, die, getRedoPresentationName, getUndoPresentationName, isSignificant, replaceEdit, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DeletedBorrowerEdit

public DeletedBorrowerEdit(org.jtheque.primary.od.BorrowerImpl borrower)
Construct a new DeletedKindEdit.

Parameters:
borrower - The deleted kind.
Method Detail

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.