org.odftoolkit.simple.form
public static enum FormTypeDefinition.FormListSourceType extends Enum<FormTypeDefinition.FormListSourceType>
This attibutes pecifies how to populate the entry list in a combo box or list box control.
Enum Constant and Description |
---|
QUERY |
SQL |
SQL_PASS_THROUGH |
TABLE |
TABLE_FIELDS |
VALUE_LIST |
Modifier and Type | Method and Description |
---|---|
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.
|
public static final FormTypeDefinition.FormListSourceType TABLE
public static final FormTypeDefinition.FormListSourceType QUERY
public static final FormTypeDefinition.FormListSourceType SQL
public static final FormTypeDefinition.FormListSourceType SQL_PASS_THROUGH
public static final FormTypeDefinition.FormListSourceType VALUE_LIST
public static final FormTypeDefinition.FormListSourceType TABLE_FIELDS
public static FormTypeDefinition.FormListSourceType[] values()
for (FormTypeDefinition.FormListSourceType c : FormTypeDefinition.FormListSourceType.values()) System.out.println(c);
public static FormTypeDefinition.FormListSourceType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant
with the specified nameNullPointerException
- if the argument is nullpublic static FormTypeDefinition.FormListSourceType enumValueOf(String aValue)
public String toString()
toString
in class Enum<FormTypeDefinition.FormListSourceType>
Copyright © 2010-2014 The Apache Software Foundation. All Rights Reserved.