public enum PropertyEditorType extends Enum<PropertyEditorType>
Enum Constant and Description |
---|
BOOLEAN |
COLOR |
COMBO |
CUSTOM |
NATURAL_NUMBER |
SECRET_TEXT |
TEXT |
Modifier and Type | Method and Description |
---|---|
static PropertyEditorType |
getFromType(Class<?> type) |
List<PropertyFieldValidator> |
getValidators() |
boolean |
isType(Class<?> type) |
static PropertyEditorType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PropertyEditorType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PropertyEditorType TEXT
public static final PropertyEditorType BOOLEAN
public static final PropertyEditorType NATURAL_NUMBER
public static final PropertyEditorType COMBO
public static final PropertyEditorType SECRET_TEXT
public static final PropertyEditorType COLOR
public static final PropertyEditorType CUSTOM
public static PropertyEditorType[] values()
for (PropertyEditorType c : PropertyEditorType.values()) System.out.println(c);
public static PropertyEditorType 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 PropertyEditorType getFromType(Class<?> type)
public boolean isType(Class<?> type)
public List<PropertyFieldValidator> getValidators()
Copyright © 2012–2020 JBoss by Red Hat. All rights reserved.