org.tritonus.test.tritonus.share.midi
Enum TDirectSynthesizerTestCase.Type

java.lang.Object
  extended by java.lang.Enum<TDirectSynthesizerTestCase.Type>
      extended by org.tritonus.test.tritonus.share.midi.TDirectSynthesizerTestCase.Type
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<TDirectSynthesizerTestCase.Type>
Enclosing class:
TDirectSynthesizerTestCase

public static enum TDirectSynthesizerTestCase.Type
extends java.lang.Enum<TDirectSynthesizerTestCase.Type>


Enum Constant Summary
BANK_PROGRAM
           
CHANNEL_PRESSURE
           
CONTROL_CHANGE
           
NONE
           
NOTEOFF
           
NOTEON
           
PITCHBEND
           
POLY_PRESSURE
           
PROGRAM
           
 
Method Summary
 int getCommand()
           
static TDirectSynthesizerTestCase.Type valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static TDirectSynthesizerTestCase.Type[] 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

NONE

public static final TDirectSynthesizerTestCase.Type NONE

CONTROL_CHANGE

public static final TDirectSynthesizerTestCase.Type CONTROL_CHANGE

NOTEON

public static final TDirectSynthesizerTestCase.Type NOTEON

NOTEOFF

public static final TDirectSynthesizerTestCase.Type NOTEOFF

PROGRAM

public static final TDirectSynthesizerTestCase.Type PROGRAM

BANK_PROGRAM

public static final TDirectSynthesizerTestCase.Type BANK_PROGRAM

PITCHBEND

public static final TDirectSynthesizerTestCase.Type PITCHBEND

POLY_PRESSURE

public static final TDirectSynthesizerTestCase.Type POLY_PRESSURE

CHANNEL_PRESSURE

public static final TDirectSynthesizerTestCase.Type CHANNEL_PRESSURE
Method Detail

values

public static TDirectSynthesizerTestCase.Type[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (TDirectSynthesizerTestCase.Type c : TDirectSynthesizerTestCase.Type.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static TDirectSynthesizerTestCase.Type valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null

getCommand

public int getCommand()