public enum SelectionType extends Enum<SelectionType>
Java class for selectionType.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="selectionType"> <restriction base="{http://www.w3.org/2001/XMLSchema}string"> <enumeration value="select"/> <enumeration value="select:multiple"/> <enumeration value="radio"/> <enumeration value="checkbox"/> <enumeration value="text"/> <enumeration value="date"/> </restriction> </simpleType>
Enum Constant and Description |
---|
CHECKBOX
Display selection as a (list of) checkbox(es).
|
DATE
Display selection as a date, using a calendar.
|
RADIO
Display selection as a list of radio buttons.
|
SELECT
Display selection as a dropdown-list (single-selection).
|
SELECT_MULTIPLE
Display selection as a dropdown-list (multi-selection).
|
TEXT
Display selection as a text-field.
|
Modifier and Type | Method and Description |
---|---|
static SelectionType |
fromValue(String v) |
String |
value() |
static SelectionType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SelectionType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SelectionType SELECT
public static final SelectionType SELECT_MULTIPLE
public static final SelectionType RADIO
public static final SelectionType CHECKBOX
public static final SelectionType TEXT
public static final SelectionType DATE
public static SelectionType[] values()
for (SelectionType c : SelectionType.values()) System.out.println(c);
public static SelectionType 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()
public static SelectionType fromValue(String v)
Copyright © 2011–2023 aiticon GmbH. All rights reserved.