public enum ParameterTypes extends java.lang.Enum<ParameterTypes>
Enum Constant and Description |
---|
Bool
Boolean parameter.
|
Color
Color parameter.
|
Double
Double parameter.
|
Enum
Enum parameter.
|
Float
Float parameter.
|
Int
Integer parameter.
|
Length
Length parameter.
|
Long
Long parameter.
|
String
String parameter.
|
Modifier and Type | Field and Description |
---|---|
static Indexable<ParameterTypes> |
VALUES
The values of this enum.
|
Modifier and Type | Method and Description |
---|---|
static ParameterTypes |
fromInternal(int internalValue)
Get the ParameterType enum associated with the given internal value.
|
static ParameterTypes |
fromInternal(int internalValue,
ParameterTypes defaultValue)
Get the ParameterType enum associated with the given internal value.
|
static ParameterTypes |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ParameterTypes[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ParameterTypes String
Utility.getStringParameter(java.lang.String, java.lang.String)
public static final ParameterTypes Bool
Utility.getBooleanParameter(java.lang.String, boolean)
and
Utility.getBooleanParameter(java.lang.String, boolean, java.lang.String...)
.public static final ParameterTypes Int
Utility.getIntParameter(java.lang.String, int)
and
Utility.getIntParameter(java.lang.String, int, int)
.public static final ParameterTypes Long
Utility.getLongParameter(java.lang.String, long)
and
Utility.getLongParameter(java.lang.String, long, int)
.public static final ParameterTypes Double
Utility.getDoubleParameter(java.lang.String, double)
.public static final ParameterTypes Float
Utility.getFloatParameter(java.lang.String, float)
.public static final ParameterTypes Enum
Utility.getEnumParameter(java.lang.String, java.lang.Enum)
.public static final ParameterTypes Color
Utility.getColorParameter(java.lang.String, java.awt.Color)
.public static final ParameterTypes Length
Utility.getLengthParameter(java.lang.String, PhysicalLength)
.@NotNull public static final Indexable<ParameterTypes> VALUES
values()
because it does not require internal array copying.public static ParameterTypes[] values()
for (ParameterTypes c : ParameterTypes.values()) System.out.println(c);
public static ParameterTypes 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@Nullable public static ParameterTypes fromInternal(int internalValue)
internalValue
- internal valuenull
if there is none@NotNull public static ParameterTypes fromInternal(int internalValue, @NotNull ParameterTypes defaultValue)
internalValue
- internal valuedefaultValue
- default valuedefaultValue
if there is none