devs.musicpackage
Class StopPlaybackAction

java.lang.Object
  extended by javax.swing.AbstractAction
      extended by devs.musicpackage.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

action to stop the item that is currently played

Version:
2, September 5, 2004
Author:
Ulrich Hilger, Light Development, http://www.lightdev.com, info@lightdev.com, published under the terms and conditions of the GNU General Public License, for details see file gpl.txt in the distribution package of this software as well as any licensing notes inside this documentation
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(DanceGenerator app)
          constructor
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent e)
          stop the current play thread
 
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(DanceGenerator app)
constructor

Parameters:
app - PlaylistEditor the application this action belongs to
Method Detail

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent e)
stop the current play thread

Parameters:
e - ActionEvent the event that fired this action