public enum ElementType extends Enum<ElementType>
| 限定符和类型 | 类和说明 |
|---|---|
static class |
ElementType.Adapter |
| 枚举常量和说明 |
|---|
BOOLEAN |
CANVAS |
CONSULT |
ENUM |
FORM |
IMAGE |
NUMBER |
PHONE |
REFERENCE |
STRUCT |
TEXT |
URL |
VIDEO |
| 限定符和类型 | 方法和说明 |
|---|---|
static ElementType |
fromValue(String text) |
String |
getValue() |
String |
toString() |
static ElementType |
valueOf(String name)
返回带有指定名称的该类型的枚举常量。
|
static ElementType[] |
values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
public static final ElementType TEXT
public static final ElementType IMAGE
public static final ElementType VIDEO
public static final ElementType URL
public static final ElementType ENUM
public static final ElementType CANVAS
public static final ElementType STRUCT
public static final ElementType REFERENCE
public static final ElementType BOOLEAN
public static final ElementType PHONE
public static final ElementType FORM
public static final ElementType CONSULT
public static final ElementType NUMBER
public static ElementType[] values()
for (ElementType c : ElementType.values()) System.out.println(c);
public static ElementType valueOf(String name)
name - 要返回的枚举常量的名称。IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量NullPointerException - 如果参数为空值public String getValue()
public String toString()
toString 在类中 Enum<ElementType>public static ElementType fromValue(String text)
Copyright © 2020. All rights reserved.