devs.musicpackage
Class TogglePauseAction

java.lang.Object
  extended by javax.swing.AbstractAction
      extended by devs.musicpackage.TogglePauseAction
All Implemented Interfaces:
java.awt.event.ActionListener, java.io.Serializable, java.lang.Cloneable, java.util.EventListener, javax.swing.Action

public class TogglePauseAction
extends javax.swing.AbstractAction

pause playing the item that is currently played

Version:
3, November 12, 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
TogglePauseAction(DanceGenerator app)
          constructor
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent e)
          pause 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

TogglePauseAction

public TogglePauseAction(DanceGenerator app)
constructor

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

actionPerformed

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

Parameters:
e - ActionEvent the event that fired this action