gr.teicrete.mta.midi.eobody.event
Class PolyPressureEvent

java.lang.Object
  extended by java.util.EventObject
      extended by gr.teicrete.mta.midi.eobody.event.EobodyEvent
          extended by gr.teicrete.mta.midi.eobody.event.PolyPressureEvent
All Implemented Interfaces:
java.io.Serializable

public class PolyPressureEvent
extends EobodyEvent

The Poly Pressure Event class

Author:
zavi
See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
PolyPressureEvent(java.lang.Object evtSource, javax.sound.midi.MidiMessage midiMessage)
          The constructor for PolyPressureEvent
 
Method Summary
 int getKey()
          Method for obtaining the key
 int getPressure()
          Method for obtaining the pressure
 
Methods inherited from class gr.teicrete.mta.midi.eobody.event.EobodyEvent
getChannel
 
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

PolyPressureEvent

public PolyPressureEvent(java.lang.Object evtSource,
                         javax.sound.midi.MidiMessage midiMessage)
The constructor for PolyPressureEvent

Parameters:
evtSource - The source on which the event occured
midiMessage - The MIDI message received
Method Detail

getKey

public int getKey()
Method for obtaining the key

Returns:
The Poly Pressure key

getPressure

public int getPressure()
Method for obtaining the pressure

Returns:
The Poly Pressure pressure