pl.mbdev.openstage
Enum IppAction.Type

java.lang.Object
  extended by java.lang.Enum<IppAction.Type>
      extended by pl.mbdev.openstage.IppAction.Type
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<IppAction.Type>
Enclosing class:
IppAction

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

Defines types of IppAction.

Author:
Mateusz Bysiek

Enum Constant Summary
ENDCALL
          End a call.
MAKECALL
          Make a call.
TURNLEDOFF
          Turn the LED off.
TURNLEDON
          Turn the LED on.
 
Method Summary
static IppAction.Type valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static IppAction.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
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

MAKECALL

public static final IppAction.Type MAKECALL
Make a call.


ENDCALL

public static final IppAction.Type ENDCALL
End a call.


TURNLEDON

public static final IppAction.Type TURNLEDON
Turn the LED on.


TURNLEDOFF

public static final IppAction.Type TURNLEDOFF
Turn the LED off.

Method Detail

values

public static IppAction.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 (IppAction.Type c : IppAction.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 IppAction.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