jlscp
v0.8

org.linuxsampler.lscp.event
Class ChannelCountEvent

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

public class ChannelCountEvent
extends java.util.EventObject

A semantic event which indicates that the number of sampler channels has changed.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
ChannelCountEvent(java.lang.Object source, int count)
          Constructs a ChannelCountEvent object.
 
Method Summary
 int getChannelCount()
          Gets the new number of sampler channels.
 
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

ChannelCountEvent

public ChannelCountEvent(java.lang.Object source,
                         int count)
Constructs a ChannelCountEvent object.

Parameters:
source - The object that originated the event.
count - The new number of sampler channels.
Method Detail

getChannelCount

public int getChannelCount()
Gets the new number of sampler channels.

Returns:
The new number of sampler channels.

jlscp
v0.8

Copyright © 2009 Grigor Iliev. All rights reserved.