de.humatic.mmj
Class MidiInput

java.lang.Object
  extended by de.humatic.mmj.MidiInput

public class MidiInput
extends java.lang.Object

An opened Midi input from that the application reads MIDI by attaching itself as a MidiListener.


Field Summary
static java.lang.Object globalsLock
           
 
Method Summary
 boolean addMidiListener(MidiListener ml)
           
 void close()
           
 CoreMidiDevice getDeviceInfo()
          Returns a CoreMidiDevice object that holds general information on the hard- or software device this port belongs to or null if the port is virtual.
 int getIndex()
           
 java.lang.String getName()
           
 boolean removeMidiListener(MidiListener ml)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

globalsLock

public static final java.lang.Object globalsLock
Method Detail

addMidiListener

public boolean addMidiListener(MidiListener ml)

removeMidiListener

public boolean removeMidiListener(MidiListener ml)

close

public void close()

getName

public java.lang.String getName()

getIndex

public int getIndex()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

getDeviceInfo

public CoreMidiDevice getDeviceInfo()
Returns a CoreMidiDevice object that holds general information on the hard- or software device this port belongs to or null if the port is virtual.