sky.monome.sequencer
Enum Sequencer.SequencerOrientation


java.lang.Object

  extended by java.lang.Enum<Sequencer.SequencerOrientation>

      extended by sky.monome.sequencer.Sequencer.SequencerOrientation

All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<Sequencer.SequencerOrientation>
Enclosing interface:
Sequencer<S extends Sequencer<S,B>,B extends ButtonManager<B>>

public static enum Sequencer.SequencerOrientation
extends java.lang.Enum<Sequencer.SequencerOrientation>

Orientation of the sequencer.


Enum Constant Summary
X_FOR_ANYTHING_Y_FOR_TIME
          Denotes a sequencer which have time along the Y-axis.
X_FOR_TIME_Y_FOR_ANYTHING
          Denotes a sequencer which have time along the X-axis.
 
Method Summary
static Sequencer.SequencerOrientation valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static Sequencer.SequencerOrientation[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

X_FOR_TIME_Y_FOR_ANYTHING


public static final Sequencer.SequencerOrientation X_FOR_TIME_Y_FOR_ANYTHING
Denotes a sequencer which have time along the X-axis.


X_FOR_ANYTHING_Y_FOR_TIME


public static final Sequencer.SequencerOrientation X_FOR_ANYTHING_Y_FOR_TIME
Denotes a sequencer which have time along the Y-axis.

Method Detail

values


public static Sequencer.SequencerOrientation[] 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 (Sequencer.SequencerOrientation c : Sequencer.SequencerOrientation.values())
    System.out.println(c);

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

valueOf


public static Sequencer.SequencerOrientation 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