|
jlscp v0.8 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.util.EventObject
org.linuxsampler.lscp.event.MidiDataEvent
org.linuxsampler.lscp.event.DeviceMidiDataEvent
public class DeviceMidiDataEvent
A semantic event which indicates that MIDI data has arrived on a specific MIDI device.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.linuxsampler.lscp.event.MidiDataEvent |
---|
MidiDataEvent.Type |
Field Summary |
---|
Fields inherited from class java.util.EventObject |
---|
source |
Constructor Summary | |
---|---|
DeviceMidiDataEvent(java.lang.Object source,
MidiDataEvent.Type type,
int note,
int velocity)
Creates a new instance of DeviceMidiDataEvent |
Method Summary | |
---|---|
int |
getDeviceId()
Returns the ID of the MIDI device, to which MIDI data has arrived. |
int |
getPortId()
Returns the ID of the device's MIDI port, to which MIDI data has arrived. |
void |
setDeviceId(int id)
Sets the ID of the MIDI device, to which MIDI data has arrived. |
void |
setPortId(int id)
Sets the ID of the device's MIDI port, to which MIDI data has arrived. |
Methods inherited from class org.linuxsampler.lscp.event.MidiDataEvent |
---|
getNote, getType, getVelocity |
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 |
---|
public DeviceMidiDataEvent(java.lang.Object source, MidiDataEvent.Type type, int note, int velocity)
DeviceMidiDataEvent
Method Detail |
---|
public int getDeviceId()
public void setDeviceId(int id)
public int getPortId()
public void setPortId(int id)
|
jlscp v0.8 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |