jlscp
v0.8

org.linuxsampler.lscp.event
Class ChannelInfoEvent

java.lang.Object
  extended by java.util.EventObject
      extended by org.linuxsampler.lscp.event.ChannelInfoEvent
All Implemented Interfaces:
java.io.Serializable

public class ChannelInfoEvent
extends java.util.EventObject

A semantic event which indicates changes to a specific sampler channel.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
ChannelInfoEvent(java.lang.Object source, int samplerChn)
          Constructs a ChannelInfoEvent object.
 
Method Summary
 int getSamplerChannel()
          Gets the number of the sampler channel whose settings have changed.
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ChannelInfoEvent

public ChannelInfoEvent(java.lang.Object source,
                        int samplerChn)
Constructs a ChannelInfoEvent object.

Parameters:
source - The object that originated the event.
samplerChn - The number of the sampler channel whose settings have changed.
Method Detail

getSamplerChannel

public int getSamplerChannel()
Gets the number of the sampler channel whose settings have changed.

Returns:
The number of the sampler channel whose settings have changed.

jlscp
v0.8

Copyright © 2009 Grigor Iliev. All rights reserved.