Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.fluidsynth.gui.actions
Class StartStopAction  view StartStopAction download StartStopAction.java

java.lang.Object
  extended byjavax.swing.AbstractAction
      extended byorg.fluidsynth.gui.actions.StartStopAction
All Implemented Interfaces:
javax.swing.Action, java.awt.event.ActionListener, java.lang.Cloneable, java.util.EventListener, org.fluidsynth.api.event.ExecutiveListener, java.io.Serializable

public class StartStopAction
extends javax.swing.AbstractAction
implements org.fluidsynth.api.event.ExecutiveListener


Field Summary
(package private) static java.util.ResourceBundle bundle
           
static StartStopAction me
           
 
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
private StartStopAction()
          Creates a new instance of StartStopAction
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent evt)
          This method is invoked when an action occurs.
static StartStopAction onlyInstance()
           
 void started()
          Called when the synth starts
 void stopped()
          Called when the synth stops for any reason.
 
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
 

Field Detail

bundle

static java.util.ResourceBundle bundle

me

public static StartStopAction me
Constructor Detail

StartStopAction

private StartStopAction()
Creates a new instance of StartStopAction

Method Detail

onlyInstance

public static StartStopAction onlyInstance()

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent evt)
Description copied from interface: java.awt.event.ActionListener
This method is invoked when an action occurs.

Specified by:
actionPerformed in interface java.awt.event.ActionListener

started

public void started()
Description copied from interface: org.fluidsynth.api.event.ExecutiveListener
Called when the synth starts

Specified by:
started in interface org.fluidsynth.api.event.ExecutiveListener

stopped

public void stopped()
Description copied from interface: org.fluidsynth.api.event.ExecutiveListener
Called when the synth stops for any reason.

Specified by:
stopped in interface org.fluidsynth.api.event.ExecutiveListener