jAudioFeatureExtractor.actions
Class RemoveRecordingAction

java.lang.Object
  extended by javax.swing.AbstractAction
      extended by jAudioFeatureExtractor.actions.RemoveRecordingAction
All Implemented Interfaces:
java.awt.event.ActionListener, java.io.Serializable, java.lang.Cloneable, java.util.EventListener, javax.swing.Action

public class RemoveRecordingAction
extends javax.swing.AbstractAction

Removes the selected recordings from the recordings table

Author:
Daniel McEnnis
See Also:
Serialized Form

Field Summary
 
Fields inherited from class javax.swing.AbstractAction
changeSupport, enabled
 
Fields inherited from interface javax.swing.Action
ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SHORT_DESCRIPTION, SMALL_ICON
 
Constructor Summary
RemoveRecordingAction()
          Constructor that sets the menu text.
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent e)
          Removes selected files from the recording table.
 void setModel(Controller c, javax.swing.JTable recordingTable)
          Sets references to both the controller and the recordings table.
 
Methods inherited from class javax.swing.AbstractAction
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RemoveRecordingAction

public RemoveRecordingAction()
Constructor that sets the menu text.

Method Detail

setModel

public void setModel(Controller c,
                     javax.swing.JTable recordingTable)
Sets references to both the controller and the recordings table.

Parameters:
c - near global controller.
recordingTable - table holding references to audio files.

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent e)
Removes selected files from the recording table.