public final class LegendTitle extends AbstractModel<Legend,IsDefaultLegendTitle> implements IsDefaultLegendTitle, HasLegendText
| Modifier and Type | Method and Description |
|---|---|
default IsColor |
getColor()
Returns the font color.
|
default String |
getColorAsString()
Returns the font color as string.
|
default Font |
getFont()
Returns the font element.
|
org.pepstock.charba.client.options.FontContainer |
getFontContainer()
Returns a font container instance to use in the default methods of this interface.
|
LegendTextHandler |
getLegendTextHandler()
Returns a legend text handler instance to use in the default methods of this interface.
|
Padding |
getPadding()
Returns the padding to apply around labels.
|
boolean |
isDisplay()
Returns
true if the title is shown. |
default void |
setColor(IsColor color)
Sets the font color.
|
default void |
setColor(String color)
Sets the font color.
|
void |
setDisplay(boolean display)
Sets
true if the title is shown. |
getDefaultValues, getParent, loadPadding, setCallbackToModel, setCallbackToModel, setEventToModelcheckAndAddToParent, getChildKey, getParentNode, getRootNode, retrieveRoot, setArrayValueAndAddToParent, setArrayValueAndAddToParent, setArrayValueAndAddToParent, setInternalCallbackToModel, setInternalCallbackToModel, setValueAndAddToParent, setValueAndAddToParent, setValueAndAddToParent, setValueAndAddToParent, setValueAndAddToParent, setValueAndAddToParent, setValueAndAddToParent, setValueAndAddToParent, setValueAndAddToParent, setValueAndAddToParent, setValueAndAddToParent, setValueAndAddToParent, setValueAndAddToParent, setValueAndAddToParent, setValueAndAddToParent, setValueAndAddToParent, setValueOrArrayAndAddToParent, setValueOrArrayAndAddToParent, setValueOrArrayAndAddToParent, setValueOrArrayAndAddToParent, setValueOrArrayAndAddToParent, setValueOrArrayAndAddToParent, setValueOrArrayAndAddToParent, setValueOrArrayAndAddToParent, setValueOrArrayAndAddToParentcheckDefaultValuesArgument, empty, getArrayValue, getIncrementalId, getNativeChart, getNativeEvent, getNativeObject, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValueForMultipleKeyTypes, getValueForMultipleKeyTypes, getValueForMultipleKeyTypes, getValueOrArray, getValueOrArray, getValueOrArray, getValueOrArray, getValueOrArray, getValueOrArray, getValueOrArray, has, has, isType, keys, loadNativeObject, remove, remove, setArrayValue, setArrayValue, setArrayValue, setEmptyValue, setNewIncrementalId, setNewIncrementalId, 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, toJSON, typeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetText, getTextAsHtml, isHtmlText, setHtmlText, setText, setTextpublic org.pepstock.charba.client.options.FontContainer getFontContainer()
public LegendTextHandler getLegendTextHandler()
HasLegendTextgetLegendTextHandler in interface HasLegendTextpublic Padding getPadding()
getPadding in interface IsDefaultLegendTitlepublic void setDisplay(boolean display)
true if the title is shown.display - if true the title is shown.public boolean isDisplay()
true if the title is shown.isDisplay in interface IsDefaultLegendTitletrue the title is shown.public Font getFont()
getFont in interface IsDefaultFontContainerpublic void setColor(IsColor color)
color - font color.public void setColor(String color)
color - font color.public String getColorAsString()
getColorAsString in interface IsDefaultFontContainerpublic IsColor getColor()