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, setFontStyle
checkAndAddToParent, getChildKey, getDefaultValues, getParent, setCallbackToModel, setEventToModel
getArrayValue, 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, type
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getFontColorAsString, getFontFamily, getFontSize, getFontStyle
public ScaleLabelPadding getPadding()
getPadding
in interface IsDefaultScaleLabel
public 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 IsDefaultScaleLabel
true
, display the axis title.public void setLabelString(String labelString)
labelString
- the text for the scale string.public String getLabelString()
getLabelString
in interface IsDefaultScaleLabel
public void setLineHeight(double lineHeight)
lineHeight
- height of an individual line of text.public double getLineHeight()
getLineHeight
in interface IsDefaultScaleLabel