|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectgr.teicrete.mta.midi.mappings.Mapper
public class Mapper
| Constructor Summary | |
|---|---|
Mapper()
The constructor for the Mapper object |
|
| Method Summary | |
|---|---|
void |
clearMappings()
|
void |
closeDevice()
|
void |
controlChangeReceived(ControlChangeEvent evt)
Method invoked from ControlChangeEvents |
EobodyEventFactory |
getEventFactory()
Method to obtain the Mapper's EobodyEventFactory object which fires the events |
ControllerChannel[] |
getMappings()
Method to obtain the currently set ControllerChanner array |
void |
keyPressureReceived(KeyPressureEvent evt)
Method invoked from KeyPressureEvents |
void |
loadMappings(java.lang.String mappingsFile)
Method to load mappings from the specified Properties file |
void |
noteOffReceived(NoteOffEvent evt)
Method invoked from NoteOffEvents |
void |
noteOnReceived(NoteOnEvent evt)
Method invoked from NoteOnEvents |
void |
pitchBendReceived(PitchBendEvent evt)
Method invoked from PitchBendEvents |
void |
polyPressureReceived(PolyPressureEvent evt)
Method invoked from PolyPressureEvents |
void |
programChangeReceived(ProgramChangeEvent evt)
Method invoked from ProgramChangeEvents |
boolean |
updateMapping(int channel,
Mappable target)
Method to set a new map target for a specific ControllerChannel |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Mapper()
| Method Detail |
|---|
public void loadMappings(java.lang.String mappingsFile)
Properties file
mappingsFile - The filepath of the Properties file containing the mappings
public boolean updateMapping(int channel,
Mappable target)
ControllerChannel
channel - An integer representing the number of the ControllerChanneltarget - The Mappable object for the new map target
public void keyPressureReceived(KeyPressureEvent evt)
EobodyEventListenerKeyPressureEvents
keyPressureReceived in interface EobodyEventListenerevt - The eventpublic void polyPressureReceived(PolyPressureEvent evt)
EobodyEventListenerPolyPressureEvents
polyPressureReceived in interface EobodyEventListenerevt - The eventpublic void pitchBendReceived(PitchBendEvent evt)
EobodyEventListenerPitchBendEvents
pitchBendReceived in interface EobodyEventListenerevt - The eventpublic void programChangeReceived(ProgramChangeEvent evt)
EobodyEventListenerProgramChangeEvents
programChangeReceived in interface EobodyEventListenerevt - The eventpublic void controlChangeReceived(ControlChangeEvent evt)
EobodyEventListenerControlChangeEvents
controlChangeReceived in interface EobodyEventListenerevt - The eventpublic void noteOnReceived(NoteOnEvent evt)
EobodyEventListenerNoteOnEvents
noteOnReceived in interface EobodyEventListenerevt - The eventpublic void noteOffReceived(NoteOffEvent evt)
EobodyEventListenerNoteOffEvents
noteOffReceived in interface EobodyEventListenerevt - The eventpublic EobodyEventFactory getEventFactory()
EobodyEventFactory object which fires the events
EobodyEventFactory object which is the source of the EobodyEventspublic void clearMappings()
public void closeDevice()
public ControllerChannel[] getMappings()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||