org.odftoolkit.simple.form
Enum FormTypeDefinition.FormListSourceType
java.lang.Object
java.lang.Enum<FormTypeDefinition.FormListSourceType>
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.
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
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.