jAudioFeatureExtractor.actions
Class EditRecordingsAction

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

public class EditRecordingsAction
extends javax.swing.AbstractAction

Shows the ProceessSamplesFrame - allowing editing of several aspects of audio files. Also requires that at least 1 recording be selected in 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
EditRecordingsAction(Controller c)
          Gives EditRecordingsAction access to the global controller.
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent e)
          Bring up a ProcessSamplesFrame to allow the user to edit the samples of the selected recording.
 void setTable(javax.swing.JTable jt, OuterFrame of)
          This action requires access to the Recordings table - provided by this method.
 
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

EditRecordingsAction

public EditRecordingsAction(Controller c)
Gives EditRecordingsAction access to the global controller.

Parameters:
c -
Method Detail

setTable

public void setTable(javax.swing.JTable jt,
                     OuterFrame of)
This action requires access to the Recordings table - provided by this method.

Parameters:
jt - Recording table where recordings are accessed.
of - reference to the outer frame of the application.

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent e)
Bring up a ProcessSamplesFrame to allow the user to edit the samples of the selected recording. If multiple recordings are selected, only the top one is edited.