public enum PropertyType extends java.lang.Enum<PropertyType>
Enum Constant and Description |
---|
BOOLEAN
the property is a boolean value that means the value is represented as a checkbox
|
COLOR
the property is a color value that means the value is represented as a color box and a choose button
|
LIST
the property can take on multiple values and the values are represented in a combobox
|
NUMERIC
the property is numeric that means the result is a number and the user can only input a numeric value
|
TEXT
the property is a text property that means the result is a string
|
Modifier and Type | Method and Description |
---|---|
static PropertyType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PropertyType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PropertyType TEXT
public static final PropertyType NUMERIC
public static final PropertyType LIST
public static final PropertyType BOOLEAN
public static final PropertyType COLOR
public static PropertyType[] values()
for (PropertyType c : PropertyType.values()) System.out.println(c);
public static PropertyType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified namejava.lang.NullPointerException
- if the argument is null