jlscp
v0.8

org.linuxsampler.lscp.event
Class TotalVoiceCountEvent

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

public class TotalVoiceCountEvent
extends java.util.EventObject

A semantic event which indicates that the total number of active voices has changed.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
TotalVoiceCountEvent(java.lang.Object source, int count)
          Constructs a TotalVoiceCountEvent object.
 
Method Summary
 int getTotalVoiceCount()
          Gets the total number of active voices.
 
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

TotalVoiceCountEvent

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

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

getTotalVoiceCount

public int getTotalVoiceCount()
Gets the total number of active voices.

Returns:
The total number of active voices.

jlscp
v0.8

Copyright © 2009 Grigor Iliev. All rights reserved.