JSampler
v0.8a

org.jsampler.event
Class SamplerChannelAdapter

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

public abstract class SamplerChannelAdapter
extends java.lang.Object
implements SamplerChannelListener

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


Constructor Summary
SamplerChannelAdapter()
           
 
Method Summary
 void channelChanged(SamplerChannelEvent e)
          Invoked when changes are made to a sampler channel.
 void streamCountChanged(SamplerChannelEvent e)
          Invoked when the number of active disk streams has changed.
 void voiceCountChanged(SamplerChannelEvent e)
          Invoked when the number of active voices has changed.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SamplerChannelAdapter

public SamplerChannelAdapter()
Method Detail

channelChanged

public void channelChanged(SamplerChannelEvent e)
Invoked when changes are made to a sampler channel.

Specified by:
channelChanged in interface SamplerChannelListener
Parameters:
e - A SamplerChannelEvent instance containing event information.

streamCountChanged

public void streamCountChanged(SamplerChannelEvent e)
Invoked when the number of active disk streams has changed.

Specified by:
streamCountChanged in interface SamplerChannelListener
Parameters:
e - A SamplerChannelEvent instance containing event information.

voiceCountChanged

public void voiceCountChanged(SamplerChannelEvent e)
Invoked when the number of active voices has changed.

Specified by:
voiceCountChanged in interface SamplerChannelListener
Parameters:
e - A SamplerChannelEvent instance containing event information.

JSampler
v0.8a

Copyright © 2007 Grigor Iliev. All rights reserved.