Class DefaultScaleTitle
- java.lang.Object
-
- org.pepstock.charba.client.defaults.globals.DefaultScaleTitle
-
- All Implemented Interfaces:
IsDefaultFontContainer
,IsDefaultScaleTitle
public final class DefaultScaleTitle extends Object implements IsDefaultScaleTitle
CHART.JS default values for TITLE element of a scale.- Author:
- Andrea "Stock" Stocchero
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ScaleTitleAlign
getAlign()
Returns the alignment of the axis title.String
getColorAsString()
Returns the font color as string.IsDefaultFont
getFont()
Returns the font element.IsDefaultPadding
getPadding()
Returns the padding defaults.boolean
isDisplay()
Returns if the title is shown.
-
-
-
Method Detail
-
getFont
public IsDefaultFont getFont()
Description copied from interface:IsDefaultFontContainer
Returns the font element.- Specified by:
getFont
in interfaceIsDefaultFontContainer
- Returns:
- the font
-
getPadding
public IsDefaultPadding getPadding()
Description copied from interface:IsDefaultScaleTitle
Returns the padding defaults.- Specified by:
getPadding
in interfaceIsDefaultScaleTitle
- Returns:
- the padding defaults.
-
getColorAsString
public String getColorAsString()
Description copied from interface:IsDefaultFontContainer
Returns the font color as string.- Specified by:
getColorAsString
in interfaceIsDefaultFontContainer
- Returns:
- font color as string
-
isDisplay
public boolean isDisplay()
Description copied from interface:IsDefaultScaleTitle
Returns if the title is shown.- Specified by:
isDisplay
in interfaceIsDefaultScaleTitle
- Returns:
- if the title is shown.
-
getAlign
public ScaleTitleAlign getAlign()
Description copied from interface:IsDefaultScaleTitle
Returns the alignment of the axis title.- Specified by:
getAlign
in interfaceIsDefaultScaleTitle
- Returns:
- the alignment of the axis title.
-
-