org.odftoolkit.simple.form
Enum FormTypeDefinition.FormListSourceType

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

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

Common used source type of entry list from users perspective.

This attibutes pecifies how to populate the entry list in a combo box or list box control.


Enum Constant Summary
QUERY
           
SQL
           
SQL_PASS_THROUGH
           
TABLE
           
TABLE_FIELDS
           
VALUE_LIST
           
 
Method Summary
static FormTypeDefinition.FormListSourceType enumValueOf(String aValue)
           
 String toString()
           
static FormTypeDefinition.FormListSourceType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static FormTypeDefinition.FormListSourceType[] 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

TABLE

public static final FormTypeDefinition.FormListSourceType TABLE

QUERY

public static final FormTypeDefinition.FormListSourceType QUERY

SQL

public static final FormTypeDefinition.FormListSourceType SQL

SQL_PASS_THROUGH

public static final FormTypeDefinition.FormListSourceType SQL_PASS_THROUGH

VALUE_LIST

public static final FormTypeDefinition.FormListSourceType VALUE_LIST

TABLE_FIELDS

public static final FormTypeDefinition.FormListSourceType TABLE_FIELDS
Method Detail

values

public static FormTypeDefinition.FormListSourceType[] 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.FormListSourceType c : FormTypeDefinition.FormListSourceType.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.FormListSourceType 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.FormListSourceType enumValueOf(String aValue)

toString

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


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