|
jlscp v0.8 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.linuxsampler.lscp.AbstractDevice
org.linuxsampler.lscp.MidiInputDevice
public class MidiInputDevice
Provides information about the current settings of a specific MIDI input device.
Constructor Summary | |
---|---|
MidiInputDevice()
Creates a new instance of MidiInputDevice |
Method Summary | |
---|---|
MidiPort |
getMidiPort(int index)
Gets the MIDI port at the specified index. |
int |
getMidiPortCount()
Gets the current number of MIDI ports this device offers. |
MidiPort[] |
getMidiPorts()
Gets the current non- null list of MIDI ports this device offers. |
Parameter<java.lang.Integer> |
getPortsParameter()
Gets the PORTS parameter. |
void |
setMidiPorts(MidiPort[] ports)
Sets the current list of MIDI ports. |
void |
setPortsParameter(Parameter<java.lang.Integer> ports)
Sets the PORTS parameter. |
Methods inherited from class org.linuxsampler.lscp.AbstractDevice |
---|
addParameter, getActiveParameter, getAdditionalParameters, getDeviceId, getDriverName, hasAdditionalParameters, isActive, setActive, setDeviceId, setDriverName, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public MidiInputDevice()
Method Detail |
---|
public MidiPort[] getMidiPorts()
null
list of MIDI ports this device offers.
MidiPort
array providing all MIDI ports this device offers.public void setMidiPorts(MidiPort[] ports)
ports
- The new list of MIDI ports.
java.lang.IllegalArgumentException
- If ports
is null
.public Parameter<java.lang.Integer> getPortsParameter()
PORTS
parameter.
Parameter
instance.public void setPortsParameter(Parameter<java.lang.Integer> ports)
PORTS
parameter.
ports
- The new PORTS
parameter.public MidiPort getMidiPort(int index)
index
- The index of the MIDI port to be retrieved.public int getMidiPortCount()
|
jlscp v0.8 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |