|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.confusionists.mjdjApi.morph.AbstractMorph
public abstract class AbstractMorph
AbstractMorph is the abstract base class for implementers of Midi Morphs (i.e., translators).
| Constructor Summary | |
|---|---|
AbstractMorph()
|
|
| Method Summary | |
|---|---|
java.util.List<java.lang.String> |
getInDeviceNames()
|
java.util.List<java.lang.String> |
getOutDeviceNames()
|
MjdjService |
getService()
|
boolean |
isPlayTimedTasks()
|
void |
setInDeviceNames(java.util.List<java.lang.String> value)
Call by Mjdj before init is called. |
void |
setOutDeviceNames(java.util.List<java.lang.String> value)
Call by Mjdj before init is called. |
void |
setPlayTimedTasks(boolean playTimedTasks)
|
void |
setService(MjdjService service)
Mjdj will call this method to give the Morph instance access to the Mjdj system: this happens before init is called. |
void |
shutdown()
Called before the Morph is taken out of service, e.g., if Morphs are reloaded or if the system is shutting down. |
void |
toggleUi()
Subclasses can produce a UI that is as complicated as they like for each Morph. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.confusionists.mjdjApi.morph.Morph |
|---|
diagnose, getName, getSerializable, init, process, setSerializable |
| Constructor Detail |
|---|
public AbstractMorph()
| Method Detail |
|---|
public void shutdown()
shutdown in interface Morphpublic void setInDeviceNames(java.util.List<java.lang.String> value)
Morph
setInDeviceNames in interface Morphvalue - is a Listpublic java.util.List<java.lang.String> getInDeviceNames()
getInDeviceNames in interface Morphpublic void setOutDeviceNames(java.util.List<java.lang.String> value)
Morph
setOutDeviceNames in interface Morphvalue - is a Listpublic java.util.List<java.lang.String> getOutDeviceNames()
getOutDeviceNames in interface Morphpublic void setService(MjdjService service)
Morph
setService in interface Morphservice - an MjdjService instance.public MjdjService getService()
public void toggleUi()
Morph
toggleUi in interface Morphpublic void setPlayTimedTasks(boolean playTimedTasks)
setPlayTimedTasks in interface MorphplayTimedTasks - Used by the default implementation of MidiTimerTask to play or not play: true by defaultpublic boolean isPlayTimedTasks()
isPlayTimedTasks in interface MorphMidiTimerTask.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||