public static enum InformationCaseTemplet.InputRuleType extends Enum<InformationCaseTemplet.InputRuleType>
文件名:InputRuleType.java
用途:用于枚举控件中可输入字符类型的限制
编码时间:2020年3月14日 下午9:14:30
修改时间:2023年3月8日 上午8:13:53
Enum Constant and Description |
---|
CAP
大写字母
|
CH
中文
|
EMOJI
emoji表情
|
LOW
小写字母
|
NUM
数字
|
SPE
特殊字符
|
Modifier and Type | Method and Description |
---|---|
String |
getName()
返回枚举名称
|
static InformationCaseTemplet.InputRuleType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static InformationCaseTemplet.InputRuleType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final InformationCaseTemplet.InputRuleType CH
public static final InformationCaseTemplet.InputRuleType NUM
public static final InformationCaseTemplet.InputRuleType SPE
public static final InformationCaseTemplet.InputRuleType LOW
public static final InformationCaseTemplet.InputRuleType CAP
public static final InformationCaseTemplet.InputRuleType EMOJI
public static InformationCaseTemplet.InputRuleType[] values()
for (InformationCaseTemplet.InputRuleType c : InformationCaseTemplet.InputRuleType.values()) System.out.println(c);
public static InformationCaseTemplet.InputRuleType 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 getName()
Copyright © 2024. All rights reserved.