cn.remex.db.view
枚举 EditType
java.lang.Object
java.lang.Enum<EditType>
cn.remex.db.view.EditType
- 所有已实现的接口:
- Serializable, Comparable<EditType>
public enum EditType
- extends Enum<EditType>
- 从以下版本开始:
- 2012-4-30
- 作者:
- Hengyang Liu
button
public static final EditType button
checkbox
public static final EditType checkbox
custom
public static final EditType custom
file
public static final EditType file
image
public static final EditType image
password
public static final EditType password
select
public static final EditType select
text
public static final EditType text
textarea
public static final EditType textarea
CodeRef
public static final EditType CodeRef
EnumRef
public static final EditType EnumRef
values
public static EditType[] values()
- 按照声明该枚举类型的常量的顺序,返回
包含这些常量的数组。该方法可用于迭代
常量,如下所示:
for (EditType c : EditType.values())
System.out.println(c);
valueOf
public static EditType valueOf(String name)
- 返回带有指定名称的该类型的枚举常量。
字符串必须与用于声明该类型的枚举常量的
标识符完全匹配。(不允许有多余
的空格。)
- 参数:
name - 要返回的枚举常量的名称。
- 返回:
- 返回带有指定名称的枚举常量
- 抛出:
如果该枚举类型没有带有指定名称的常量, - 则抛出 IllegalArgumentException
Copyright © 2016. All rights reserved.