My Movies 1.0.0

hirondelle.movies.edit
Class MovieActionDelete

Object
  extended by AbstractAction
      extended by MovieActionDelete
All Implemented Interfaces:
ActionListener, Serializable, Cloneable, EventListener, Action

public class MovieActionDelete
extends AbstractAction

Delete the selected Movie.

This Action is an example of an Action that is enabled only under certain circumstances. This Action is enabled only when the table has a row selected. Otherwise, it is disabled.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class AbstractAction
changeSupport, enabled
 
Fields inherited from interface Action
ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SHORT_DESCRIPTION, SMALL_ICON
 
Constructor Summary
MovieActionDelete(JTable aTable, MovieTableModel aMovieTableModel)
          Constructor.
 
Method Summary
 void actionPerformed(ActionEvent aActionEvent)
          Delete the Movie currently selected in the table.
 
Methods inherited from class AbstractAction
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
 
Methods inherited from class Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MovieActionDelete

public MovieActionDelete(JTable aTable,
                         MovieTableModel aMovieTableModel)
Constructor.

Method Detail

actionPerformed

public void actionPerformed(ActionEvent aActionEvent)
Delete the Movie currently selected in the table.


My Movies 1.0.0

Copyright Hirondelle Systems - Generated 2008Dec30.15.53