public final class ScaleTitle extends AbstractModel<AbstractScale,IsDefaultScaleTitle> implements IsDefaultScaleTitle, HasFont
| Modifier and Type | Method and Description |
|---|---|
ScaleTitleAlign |
getAlign()
Returns the alignment of the axis title.
|
FontContainer |
getFontContainer()
Returns a font container instance to use in the default methods of this interface.
|
Padding |
getPadding()
Returns the padding element.
|
List<String> |
getText()
Returns the title text to display, as a list of strings.
|
boolean |
isDisplay()
If
true, display the axis title. |
void |
setAlign(ScaleTitleAlign align)
Sets the alignment of the axis title.
|
void |
setDisplay(boolean display)
If
true, display the axis title. |
void |
setText(String... text)
Sets the title text to display.
If specified as an array, text is rendered on multiple lines. |
getDefaultValues, getParent, loadPadding, setCallbackToModel, setCallbackToModel, setEventToModelcheckAndAddToParent, getChildKey, getParentNode, getRootNode, retrieveRoot, setArrayValueAndAddToParent, setArrayValueAndAddToParent, setArrayValueAndAddToParent, setElementAndAddToParent, setInternalCallbackToModel, setInternalCallbackToModel, setValueAndAddToParent, setValueAndAddToParent, setValueAndAddToParent, setValueAndAddToParent, setValueAndAddToParent, setValueAndAddToParent, setValueAndAddToParent, setValueAndAddToParent, setValueAndAddToParent, setValueAndAddToParent, setValueAndAddToParent, setValueAndAddToParent, setValueAndAddToParent, setValueAndAddToParent, setValueAndAddToParent, setValueAndAddToParent, setValueAndAddToParent, setValueOrArrayAndAddToParent, setValueOrArrayAndAddToParent, setValueOrArrayAndAddToParent, setValueOrArrayAndAddToParent, setValueOrArrayAndAddToParent, setValueOrArrayAndAddToParent, setValueOrArrayAndAddToParent, setValueOrArrayAndAddToParent, setValueOrArrayAndAddToParent, setValueOrArrayAndAddToParentcheckDefaultValuesArgument, empty, getArrayValue, getElement, getIncrementalId, getNativeChart, getNativeEvent, getNativeObject, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValueForMultipleKeyTypes, getValueForMultipleKeyTypes, getValueForMultipleKeyTypes, getValueOrArray, getValueOrArray, getValueOrArray, getValueOrArray, getValueOrArray, getValueOrArray, getValueOrArray, getValueOrArray, has, has, isType, keys, loadNativeObject, remove, remove, setArrayValue, setArrayValue, setArrayValue, setElement, setEmptyValue, setNewIncrementalId, setNewIncrementalId, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, toJSON, typepublic FontContainer getFontContainer()
HasFontgetFontContainer in interface HasFontpublic Padding getPadding()
getPadding in interface IsDefaultScaleTitlepublic 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 IsDefaultScaleTitletrue, display the axis title.public void setText(String... text)
text - the title text to display.public List<String> getText()
public void setAlign(ScaleTitleAlign align)
align - the alignment of the axis titlepublic ScaleTitleAlign getAlign()
getAlign in interface IsDefaultScaleTitle