|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<NoteListFormat>
net.charlesames.music.ensemble.NoteListFormat
public enum NoteListFormat
Output formats for MUSIC-N Note lists.
| Enum Constant Summary | |
|---|---|
MUSICV
MUSIC-V output format, as described in The Technology of Computer Music. |
|
NONE
No defined output format. |
|
SOUND
Output format for Charles Ames's SOUND program. |
|
| Method Summary | |
|---|---|
abstract void |
configureEnsemble(Ensemble ensemble)
Configure the indicated ensemble to employ this format; |
NoteAttribute |
getNoteAttribute(int parameterID)
Get the NoteAttribute associated with the indicated parameter ID. |
java.util.SortedMap<java.lang.Integer,NoteAttribute> |
getNoteAttributes()
Get the sequence of NoteAttribute mappings. |
static NoteListFormat |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static NoteListFormat[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final NoteListFormat NONE
public static final NoteListFormat MUSICV
public static final NoteListFormat SOUND
| Method Detail |
|---|
public static NoteListFormat[] values()
for (NoteListFormat c : NoteListFormat.values()) System.out.println(c);
public static NoteListFormat valueOf(java.lang.String name)
name - the name of the enum constant to be returned.
java.lang.IllegalArgumentException - if this enum type has no constant
with the specified name
java.lang.NullPointerException - if the argument is nullpublic abstract void configureEnsemble(Ensemble ensemble)
ensemble - The indicated ensemble.public NoteAttribute getNoteAttribute(int parameterID)
NoteAttribute associated with the indicated parameter ID.
parameterID - The indicated parameter ID.
NoteAttribute associated with the indicated parameter ID.public java.util.SortedMap<java.lang.Integer,NoteAttribute> getNoteAttributes()
NoteAttribute mappings.
NoteAttribute instances.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||