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 ScaleTitleAligngetAlign()Returns the alignment of the axis title.StringgetColorAsString()Returns the font color as string.IsDefaultFontgetFont()Returns the font element.IsDefaultPaddinggetPadding()Returns the padding defaults.booleanisDisplay()Returns if the title is shown.
-
-
-
Method Detail
-
getFont
public IsDefaultFont getFont()
Description copied from interface:IsDefaultFontContainerReturns the font element.- Specified by:
getFontin interfaceIsDefaultFontContainer- Returns:
- the font
-
getPadding
public IsDefaultPadding getPadding()
Description copied from interface:IsDefaultScaleTitleReturns the padding defaults.- Specified by:
getPaddingin interfaceIsDefaultScaleTitle- Returns:
- the padding defaults.
-
getColorAsString
public String getColorAsString()
Description copied from interface:IsDefaultFontContainerReturns the font color as string.- Specified by:
getColorAsStringin interfaceIsDefaultFontContainer- Returns:
- font color as string
-
isDisplay
public boolean isDisplay()
Description copied from interface:IsDefaultScaleTitleReturns if the title is shown.- Specified by:
isDisplayin interfaceIsDefaultScaleTitle- Returns:
- if the title is shown.
-
getAlign
public ScaleTitleAlign getAlign()
Description copied from interface:IsDefaultScaleTitleReturns the alignment of the axis title.- Specified by:
getAlignin interfaceIsDefaultScaleTitle- Returns:
- the alignment of the axis title.
-
-