sky.monome.frame
Enum AbstractWindow.WindowType


java.lang.Object

  extended by java.lang.Enum<AbstractWindow.WindowType>

      extended by sky.monome.frame.AbstractWindow.WindowType

All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<AbstractWindow.WindowType>
Enclosing class:
AbstractWindow<T extends Frame,F extends AbstractWindow<T,F>>

public static enum AbstractWindow.WindowType
extends java.lang.Enum<AbstractWindow.WindowType>

Type of window. The type denotes the behavior of outer leds (leds out of viewed frame).


Enum Constant Summary
LEDS_OFF_OUTSIDE
          Makes outer leds off.
LEDS_ON_OUTSIDE
          Makes outer leds on.
 
Method Summary
static AbstractWindow.WindowType valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static AbstractWindow.WindowType[] 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

LEDS_OFF_OUTSIDE


public static final AbstractWindow.WindowType LEDS_OFF_OUTSIDE
Makes outer leds off.


LEDS_ON_OUTSIDE


public static final AbstractWindow.WindowType LEDS_ON_OUTSIDE
Makes outer leds on.

Method Detail

values


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

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

valueOf


public static AbstractWindow.WindowType 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