|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectgr.teicrete.mta.midi.eobody.parse.EobodyEventFactory
public class EobodyEventFactory
A class that implements the Receiver interface, to manipulate MIDI messages
and to generate EobodyEvents to notify all EobodyEventListeners
| Constructor Summary | |
|---|---|
EobodyEventFactory()
|
|
| Method Summary | |
|---|---|
void |
addEobodyEventListener(EobodyEventListener eobEvtListener)
Method to add an EobodyEventListener to the list |
void |
clearListenerList()
Method to remove all the EobodyEventListeners from the listener list |
void |
close()
This method is called to close the EobodyDecoder |
void |
fireEobodyEvent(javax.sound.midi.MidiMessage message)
This method notifies all the registered EobodyEventListeners |
void |
removeEobodyEventListener(EobodyEventListener eobEvtListener)
Method to remove an EobodyEventListener from the list |
void |
send(javax.sound.midi.MidiMessage message,
long lTimeStamp)
This method is called when a MIDI message is received |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public EobodyEventFactory()
| Method Detail |
|---|
public void close()
close in interface javax.sound.midi.Receiver
public void send(javax.sound.midi.MidiMessage message,
long lTimeStamp)
send in interface javax.sound.midi.Receivermessage - The MIDI messagelTimeStamp - The TimeStamp of the message. Usually -1public void addEobodyEventListener(EobodyEventListener eobEvtListener)
EobodyEventListener to the list
eobEvtListener - The listener to be addedpublic void removeEobodyEventListener(EobodyEventListener eobEvtListener)
EobodyEventListener from the list
eobEvtListener - The listener to be removedpublic void clearListenerList()
EobodyEventListeners from the listener list
public void fireEobodyEvent(javax.sound.midi.MidiMessage message)
EobodyEventListeners
message - The MidiMessage that will generate the EobodyEvent
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||