|
My Movies 1.0.0 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
ObjectAbstractAction
MovieActionDelete
public class MovieActionDelete
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.
| 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 |
|---|
public MovieActionDelete(JTable aTable,
MovieTableModel aMovieTableModel)
| Method Detail |
|---|
public void actionPerformed(ActionEvent aActionEvent)
Movie currently selected in the table.
|
My Movies 1.0.0 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||