com.quadrique.jbuildingblocks.core.sound
Class JbbSoundHandlerEvent

java.lang.Object
  extended by java.util.EventObject
      extended by com.quadrique.jbuildingblocks.core.sound.JbbSoundHandlerEvent
All Implemented Interfaces:
Serializable

public class JbbSoundHandlerEvent
extends EventObject

This class describes a sound handler event. This event is sent to all the registered listeners whenever a sound is being played (start and stop) and whenever a sound is being recorded (start and stop).

Author:
Hervé Rivere
See Also:
Serialized Form

Field Summary
static int PLAY_START
          constants
static int PLAY_STOP
           
static int RECORD_START
           
static int RECORD_STOP
           
 
Constructor Summary
JbbSoundHandlerEvent(Object zSource, int zType)
          The constructor of the class.
 
Method Summary
 int getType()
           
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

PLAY_START

public static final int PLAY_START
constants

See Also:
Constant Field Values

PLAY_STOP

public static final int PLAY_STOP
See Also:
Constant Field Values

RECORD_START

public static final int RECORD_START
See Also:
Constant Field Values

RECORD_STOP

public static final int RECORD_STOP
See Also:
Constant Field Values
Constructor Detail

JbbSoundHandlerEvent

public JbbSoundHandlerEvent(Object zSource,
                            int zType)
The constructor of the class.

Parameters:
zSource - the object that created this event,
zType - an integer value that represents the event type:
Method Detail

getType

public int getType()
Returns:
the type


Copyright © 2001-2008 Quadrique Corporation. All Rights Reserved.