JSampler
v0.8a

org.jsampler.event
Class SamplerAdapter

java.lang.Object
  extended by org.jsampler.event.SamplerAdapter
All Implemented Interfaces:
java.util.EventListener, SamplerListener

public abstract class SamplerAdapter
extends java.lang.Object
implements SamplerListener

Adapter class for receiving events. This class exists as convenience for creating listener objects. The methods in this class are empty.


Constructor Summary
SamplerAdapter()
           
 
Method Summary
 void defaultMapChanged(SamplerEvent e)
          Invoked when the default MIDI instrument map is changed.
 void totalStreamCountChanged(SamplerEvent e)
          Invoked when the total number of active streams is changed.
 void totalVoiceCountChanged(SamplerEvent e)
          Invoked when the total number of active voices is changed.
 void volumeChanged(SamplerEvent e)
          Invoked when the global volume of the sampler is changed.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SamplerAdapter

public SamplerAdapter()
Method Detail

volumeChanged

public void volumeChanged(SamplerEvent e)
Invoked when the global volume of the sampler is changed.

Specified by:
volumeChanged in interface SamplerListener

totalStreamCountChanged

public void totalStreamCountChanged(SamplerEvent e)
Invoked when the total number of active streams is changed.

Specified by:
totalStreamCountChanged in interface SamplerListener

totalVoiceCountChanged

public void totalVoiceCountChanged(SamplerEvent e)
Invoked when the total number of active voices is changed.

Specified by:
totalVoiceCountChanged in interface SamplerListener

defaultMapChanged

public void defaultMapChanged(SamplerEvent e)
Invoked when the default MIDI instrument map is changed.

Specified by:
defaultMapChanged in interface SamplerListener

JSampler
v0.8a

Copyright © 2007 Grigor Iliev. All rights reserved.