Enum Constant and Description |
---|
BitInversion |
ExponentialFilter |
Linear |
Off |
SquareRoot |
Modifier and Type | Method and Description |
---|---|
int |
getIntValue()
Returns the type code for this scale mode
|
static ScaleMode |
getTypeForValue(int val)
Returns the ScaleMode for the given type code.
|
static ScaleMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ScaleMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ScaleMode Off
public static final ScaleMode Linear
public static final ScaleMode SquareRoot
public static final ScaleMode ExponentialFilter
public static final ScaleMode BitInversion
public static ScaleMode[] values()
for (ScaleMode c : ScaleMode.values()) System.out.println(c);
public static ScaleMode 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 getIntValue()
public static ScaleMode getTypeForValue(int val)