public enum FieldType extends Enum<FieldType>
Java class for fieldType.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="fieldType"> <restriction base="{http://www.w3.org/2001/XMLSchema}string"> <enumeration value="text"/> <enumeration value="longtext"/> <enumeration value="richtext"/> <enumeration value="password"/> <enumeration value="url"/> <enumeration value="int"/> <enumeration value="long"/> <enumeration value="decimal"/> <enumeration value="checkbox"/> <enumeration value="coordinate"/> <enumeration value="date"/> <enumeration value="file"/> <enumeration value="file-multiple"/> <enumeration value="image"/> <enumeration value="linkpanel"/> <enumeration value="list:checkbox"/> <enumeration value="list:radio"/> <enumeration value="list:select"/> <enumeration value="list:text"/> <enumeration value="object"/> <enumeration value="list:object"/> </restriction> </simpleType>
Enum Constant and Description |
---|
CHECKBOX
A field containing a
Boolean or a boolean , usually displayed as checkbox. |
COORDINATE
A property containing a
org.appng.tools.locator.Coordinate , usually displayed as two input fields together with a map. |
DATE
A property containing a
Date , formatted with the format defined in FieldDef.getFormat() . |
DECIMAL
|
FILE
A property containing a
org.appng.forms.FormUpload , usually displayed as file-upload dialog for a single file. |
FILE_MULTIPLE
A property containing a collection of
org.appng.forms.FormUpload s, usually displayed as file-upload dialog for a multiple files. |
IMAGE
Displays an icon.
|
INT
A property containing a
Integer , formatted with the format defined in FieldDef.getFormat() . |
LINKPANEL
Defines a reference to a
Linkpanel using Linkmode.INTERN |
LIST_CHECKBOX
A property containing a collection which is being displayed as a list of checkboxes.
|
LIST_OBJECT
A property containing a collection of objects
|
LIST_RADIO
A property containing a collection which is being displayed as a list of radio-buttons.
|
LIST_SELECT
A property containing a collection which is being displayed as a dropdown list.
|
LIST_TEXT
A property containing a collection of
String s |
LONG
A property containing a
Long , formatted with the format defined in FieldDef.getFormat() . |
LONGTEXT
A property containing a (possibly large)
String . |
OBJECT
A property containing an object
|
PASSWORD
A property containing a
String which represents a password. |
RICHTEXT
A property containing a (possibly large)
String , which contains richtext (usually HTML). |
TEXT
A property containing a
String . |
URL
A property containing a
URL . |
Modifier and Type | Method and Description |
---|---|
static FieldType |
fromValue(String v) |
String |
value() |
static FieldType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FieldType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FieldType RICHTEXT
String
, which contains richtext (usually HTML).public static final FieldType PASSWORD
String
which represents a password.public static final FieldType INT
Integer
, formatted with the format defined in FieldDef.getFormat()
.public static final FieldType LONG
Long
, formatted with the format defined in FieldDef.getFormat()
.public static final FieldType DECIMAL
public static final FieldType CHECKBOX
Boolean
or a boolean
, usually displayed as checkbox.public static final FieldType COORDINATE
org.appng.tools.locator.Coordinate
, usually displayed as two input fields together with a map.public static final FieldType DATE
Date
, formatted with the format defined in FieldDef.getFormat()
. Usually displayed together with a calendar.public static final FieldType FILE
org.appng.forms.FormUpload
, usually displayed as file-upload dialog for a single file.public static final FieldType FILE_MULTIPLE
org.appng.forms.FormUpload
s, usually displayed as file-upload dialog for a multiple files.public static final FieldType IMAGE
public static final FieldType LINKPANEL
Linkpanel
using Linkmode.INTERN
public static final FieldType LIST_CHECKBOX
public static final FieldType LIST_RADIO
public static final FieldType LIST_SELECT
public static final FieldType OBJECT
public static final FieldType LIST_OBJECT
public static FieldType[] values()
for (FieldType c : FieldType.values()) System.out.println(c);
public static FieldType 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 String value()
Copyright © 2011–2017 aiticon GmbH. All rights reserved.