public static enum VisualFormatter.Item.Property.Type extends java.lang.Enum<VisualFormatter.Item.Property.Type>
VisualFormatter.Item.Property.Type is an enumeration representing
the type of property.| Enum Constant and Description |
|---|
BOOLEAN
Boolean.
|
NUMBER
Number, corresponding to the Double type for the property value.
|
STRING
String.
|
| Modifier and Type | Method and Description |
|---|---|
static VisualFormatter.Item.Property.Type |
fromInt(int value)
Retrieves the corresponding property type value from a valid integer.
|
int |
toInt()
Converts the property type to its integer corresponding value.
|
static VisualFormatter.Item.Property.Type |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static VisualFormatter.Item.Property.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final VisualFormatter.Item.Property.Type STRING
public static final VisualFormatter.Item.Property.Type NUMBER
public static final VisualFormatter.Item.Property.Type BOOLEAN
public static VisualFormatter.Item.Property.Type[] values()
for (VisualFormatter.Item.Property.Type c : VisualFormatter.Item.Property.Type.values()) System.out.println(c);
public static VisualFormatter.Item.Property.Type 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 nullpublic int toInt()
public static VisualFormatter.Item.Property.Type fromInt(int value)
value - Integer to use as input in the conversion.