jAudioFeatureExtractor.actions
Class StopPlayBackAction

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

public class StopPlayBackAction
extends javax.swing.AbstractAction

Halts previously any started playback. This only works for playback from file.

Author:
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
StopPlayBackAction(Controller c)
          Constructor that set the menu text and stores a reference to the controller.
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent e)
          Tries to stop the playback.
protected  void stopPlayback()
           
 
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

StopPlayBackAction

public StopPlayBackAction(Controller c)
Constructor that set the menu text and stores a reference to the controller.

Parameters:
c - near global controller.
Method Detail

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent e)
Tries to stop the playback.


stopPlayback

protected void stopPlayback()