public class MovieActionDelete extends AbstractAction
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.
changeSupport, enabled
ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, DISPLAYED_MNEMONIC_INDEX_KEY, LARGE_ICON_KEY, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SELECTED_KEY, SHORT_DESCRIPTION, SMALL_ICON
Constructor and Description |
---|
MovieActionDelete(JTable aTable,
MovieTableModel aMovieTableModel)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
actionPerformed(ActionEvent aActionEvent)
Delete the
Movie currently selected in the table. |
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
public MovieActionDelete(JTable aTable, MovieTableModel aMovieTableModel)
public void actionPerformed(ActionEvent aActionEvent)
Movie
currently selected in the table.Copyright Hirondelle Systems - Generated 2013Sep20.11.16