org.odftoolkit.simple.form
Enum FormTypeDefinition.FormCheckboxState

java.lang.Object
  extended by java.lang.Enum<FormTypeDefinition.FormCheckboxState>
      extended by org.odftoolkit.simple.form.FormTypeDefinition.FormCheckboxState
All Implemented Interfaces:
Serializable, Comparable<FormTypeDefinition.FormCheckboxState>
Enclosing class:
FormTypeDefinition

public static enum FormTypeDefinition.FormCheckboxState
extends Enum<FormTypeDefinition.FormCheckboxState>

Common used state for a check box from users perspective.

This attibutes pecifies the default state of a check box control.


Enum Constant Summary
CHECKED
           
UNCHECKED
           
UNKNOWN
           
 
Method Summary
static FormTypeDefinition.FormCheckboxState enumValueOf(String aValue)
           
 String toString()
           
static FormTypeDefinition.FormCheckboxState valueOf(String name)
          Returns the enum constant of this type with the specified name.
static FormTypeDefinition.FormCheckboxState[] 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, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

CHECKED

public static final FormTypeDefinition.FormCheckboxState CHECKED

UNCHECKED

public static final FormTypeDefinition.FormCheckboxState UNCHECKED

UNKNOWN

public static final FormTypeDefinition.FormCheckboxState UNKNOWN
Method Detail

values

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

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

valueOf

public static FormTypeDefinition.FormCheckboxState valueOf(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:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null

enumValueOf

public static FormTypeDefinition.FormCheckboxState enumValueOf(String aValue)

toString

public String toString()
Overrides:
toString in class Enum<FormTypeDefinition.FormCheckboxState>


Copyright © 2010-2017 The Apache Software Foundation. All Rights Reserved.