public class ScaleTickItem extends NativeObjectContainer
ScaleItem.| Modifier and Type | Method and Description |
|---|---|
int |
getIndex()
Returns the index of the tick.
|
String |
getLabel()
Returns the label of the tick.
|
double |
getValueAsDouble()
Returns the value of the tick as double.
|
String |
getValueAsString()
Returns the value of the tick as string.
|
boolean |
isMajor()
Returns
true if is the major tick, otherwise UndefinedValues.BOOLEAN. |
checkValue, empty, getArrayValue, getNativeObject, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValueForMultipleKeyTypes, getValueForMultipleKeyTypes, getValueForMultipleKeyTypes, getValueOrArray, getValueOrArray, getValueOrArray, getValueOrArray, getValueOrArray, getValueOrArray, getValueOrArray, has, has, keys, remove, remove, removeIfExists, setArrayValue, setArrayValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, toJSON, typepublic final int getIndex()
UndefinedValues.INTEGER if missing.public final String getLabel()
UndefinedValues.STRING if missing.public final String getValueAsString()
UndefinedValues.STRING if missing or not a string.public final double getValueAsDouble()
UndefinedValues.DOUBLE if missing or not a double.public final boolean isMajor()
true if is the major tick, otherwise UndefinedValues.BOOLEAN.true if is the major tick, otherwise UndefinedValues.BOOLEAN.