public enum EditorTypeEnum extends Enum<EditorTypeEnum>
| 枚举常量和说明 |
|---|
MARKDOWN_EDITOR |
UEDITOR_EDITOR |
VOID_ID |
| 限定符和类型 | 方法和说明 |
|---|---|
static EditorTypeEnum |
getEditorType(String name) |
int |
getIndex() |
static String |
getName(int index) |
String |
getType() |
void |
setIndex(int index) |
void |
setType(String type) |
static EditorTypeEnum |
valueOf(String name)
返回带有指定名称的该类型的枚举常量。
|
static EditorTypeEnum[] |
values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
public static final EditorTypeEnum UEDITOR_EDITOR
public static final EditorTypeEnum MARKDOWN_EDITOR
public static final EditorTypeEnum VOID_ID
public static EditorTypeEnum[] values()
for (EditorTypeEnum c : EditorTypeEnum.values()) System.out.println(c);
public static EditorTypeEnum valueOf(String name)
name - 要返回的枚举常量的名称。IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量NullPointerException - 如果参数为空值public static EditorTypeEnum getEditorType(String name) throws EditorTypeConventException
public static String getName(int index)
public String getType()
public void setType(String type)
public int getIndex()
public void setIndex(int index)
Copyright © 2018 Pivotal Software, Inc.. All rights reserved.