public enum ControlType extends Enum<ControlType>
| Enum Constant and Description |
|---|
AUDIO_CAPTURE |
FILE_CAPTURE |
IMAGE_CHOOSE |
INPUT |
LABEL |
OSM_CAPTURE |
RANGE |
RANK |
SECRET |
SELECT_MULTI |
SELECT_ONE |
SUBMIT |
TEXTAREA |
TRIGGER |
UNTYPED |
UPLOAD |
VIDEO_CAPTURE |
| Modifier and Type | Field and Description |
|---|---|
int |
value |
| Modifier and Type | Method and Description |
|---|---|
static ControlType |
from(int intControlType)
Returns a
ControlType from its int value |
static ControlType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ControlType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ControlType UNTYPED
public static final ControlType INPUT
public static final ControlType SELECT_ONE
public static final ControlType SELECT_MULTI
public static final ControlType TEXTAREA
public static final ControlType SECRET
public static final ControlType RANGE
public static final ControlType UPLOAD
public static final ControlType SUBMIT
public static final ControlType TRIGGER
public static final ControlType IMAGE_CHOOSE
public static final ControlType LABEL
public static final ControlType AUDIO_CAPTURE
public static final ControlType VIDEO_CAPTURE
public static final ControlType OSM_CAPTURE
public static final ControlType FILE_CAPTURE
public static final ControlType RANK
public static ControlType[] values()
for (ControlType c : ControlType.values()) System.out.println(c);
public static ControlType 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 ControlType from(int intControlType)
ControlType from its int valueintControlType - the int value of the requested ControlTypeControlType instanceCopyright © 2022. All rights reserved.