protected static enum RangeSeekBar.NumberType extends java.lang.Enum<RangeSeekBar.NumberType>
| Enum Constant and Description |
|---|
BIG_DECIMAL |
BYTE |
DOUBLE |
FLOAT |
INTEGER |
LONG |
SHORT |
| Modifier and Type | Method and Description |
|---|---|
static <E extends java.lang.Number> |
fromNumber(E value) |
java.lang.Number |
toNumber(double value) |
static RangeSeekBar.NumberType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static RangeSeekBar.NumberType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RangeSeekBar.NumberType LONG
public static final RangeSeekBar.NumberType DOUBLE
public static final RangeSeekBar.NumberType INTEGER
public static final RangeSeekBar.NumberType FLOAT
public static final RangeSeekBar.NumberType SHORT
public static final RangeSeekBar.NumberType BYTE
public static final RangeSeekBar.NumberType BIG_DECIMAL
public static RangeSeekBar.NumberType[] values()
for (RangeSeekBar.NumberType c : RangeSeekBar.NumberType.values()) System.out.println(c);
public static RangeSeekBar.NumberType 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 <E extends java.lang.Number> RangeSeekBar.NumberType fromNumber(E value) throws java.lang.IllegalArgumentException
java.lang.IllegalArgumentExceptionpublic java.lang.Number toNumber(double value)