public static enum SliderComponent.SliderType extends java.lang.Enum<SliderComponent.SliderType>
| Enum Constant and Description |
|---|
Range
Indicates that the slider can be used to select range of values.
|
SingleValue
Indicates that the slider can be used to select a single value.
|
| Modifier and Type | Method and Description |
|---|---|
static SliderComponent.SliderType |
fromInteger(int intVal)
Gets SliderType member corresponding to specified integer value.
|
int |
getValue()
Gets an integer value associated with this enum value.
|
static SliderComponent.SliderType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SliderComponent.SliderType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SliderComponent.SliderType SingleValue
public static final SliderComponent.SliderType Range
public static SliderComponent.SliderType[] values()
for (SliderComponent.SliderType c : SliderComponent.SliderType.values()) System.out.println(c);
public static SliderComponent.SliderType 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 static SliderComponent.SliderType fromInteger(int intVal)
intVal - The integer value to conevrt.public int getValue()