public final class ScaleLabel extends FontItem<Scale,IsDefaultScaleLabel> implements IsDefaultScaleLabel
| Modifier and Type | Method and Description |
|---|---|
String |
getLabelString()
Returns the text for the scale string.
|
double |
getLineHeight()
Returns the height of an individual line of text.
|
ScaleLabelPadding |
getPadding()
Returns the padding element.
|
boolean |
isDisplay()
If
true, display the axis title. |
void |
setDisplay(boolean display)
If
true, display the axis title. |
void |
setLabelString(String labelString)
Sets the text for the scale string.
|
void |
setLineHeight(double lineHeight)
Sets the height of an individual line of text.
|
getFontColor, getFontColorAsString, getFontFamily, getFontSize, getFontStyle, setFontColor, setFontColor, setFontFamily, setFontSize, setFontStylecheckAndAddToParent, getChildKey, getDefaultValues, getParent, setCallbackToModel, setEventToModelgetArrayValue, getNativeObject, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, 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, typeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetFontColorAsString, getFontFamily, getFontSize, getFontStylepublic ScaleLabelPadding getPadding()
getPadding in interface IsDefaultScaleLabelpublic void setDisplay(boolean display)
true, display the axis title.display - if true, display the axis title.public boolean isDisplay()
true, display the axis title.isDisplay in interface IsDefaultScaleLabeltrue, display the axis title.public void setLabelString(String labelString)
labelString - the text for the scale string.public String getLabelString()
getLabelString in interface IsDefaultScaleLabelpublic void setLineHeight(double lineHeight)
lineHeight - height of an individual line of text.public double getLineHeight()
getLineHeight in interface IsDefaultScaleLabel