pl.mbdev.openstage
Enum IppChoiceGroup.Type

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

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

Defines possible types of the IppChoiceGroup.

Author:
Mateusz Bysiek

Enum Constant Summary
EXCLUSIVE
          The exclusive choice group, only one option can be selected.
MULTIPLE
          The multiple choice group, multiple options may be selected at the same time.
POPUP
          The choice group acts like an exclusive choice group, but is presented differently.
 
Method Summary
static IppChoiceGroup.Type valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static IppChoiceGroup.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

EXCLUSIVE

public static final IppChoiceGroup.Type EXCLUSIVE
The exclusive choice group, only one option can be selected.


MULTIPLE

public static final IppChoiceGroup.Type MULTIPLE
The multiple choice group, multiple options may be selected at the same time.


POPUP

public static final IppChoiceGroup.Type POPUP
The choice group acts like an exclusive choice group, but is presented differently. It appears as a pop-up with initially only the selected option visible.

Method Detail

values

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