|
jlscp v0.8 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.linuxsampler.lscp.MidiInstrumentEntry
public class MidiInstrumentEntry
Specifies a position of a MIDI instrument in a MIDI instrument map.
Constructor Summary | |
---|---|
MidiInstrumentEntry(int midiBank,
int midiProgram)
Creates a new instance of MidiInstrumentEntry . |
Method Summary | |
---|---|
int |
compareTo(MidiInstrumentEntry e)
|
boolean |
equals(java.lang.Object obj)
|
int |
getMidiBank()
Gets the MIDI bank number. |
int |
getMidiProgram()
Gets the MIDI program number. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MidiInstrumentEntry(int midiBank, int midiProgram)
MidiInstrumentEntry
.
midiBank
- The MIDI bank number.midiProgram
- The MIDI program number.
java.lang.IndexOutOfBoundsException
- If midiBank
is out of range (midiBank < 0 || midiBank > 16129)
,
or midiProgram
is out of range
(midiProgram < 0 || midiProgram > 127)
.Method Detail |
---|
public int getMidiBank()
public int getMidiProgram()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int compareTo(MidiInstrumentEntry e)
compareTo
in interface java.lang.Comparable<MidiInstrumentEntry>
|
jlscp v0.8 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |