jAudioFeatureExtractor.actions
Class PlaySamplesAction

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

public class PlaySamplesAction
extends javax.swing.AbstractAction

Play Back from internally stored samples. This playback can not be stopped.

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
PlaySamplesAction(Controller c)
          Constructor that sets the menu text and stores a reference to the controller
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent e)
          Playback the file.
 void setTable(javax.swing.JTable rt)
          This has to be set in RecordingSelectorPanel
 
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

PlaySamplesAction

public PlaySamplesAction(Controller c)
Constructor that sets the menu text and stores a reference to the controller

Parameters:
c - near global controller
Method Detail

setTable

public void setTable(javax.swing.JTable rt)
This has to be set in RecordingSelectorPanel

Parameters:
rt - reference to the recordings table

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent e)
Playback the file.