Class DefaultChartScaleTitle
- java.lang.Object
-
- org.pepstock.charba.client.defaults.chart.DefaultChartScaleTitle
-
- All Implemented Interfaces:
IsDefaultFontContainer
,IsDefaultScaleTitle
public final class DefaultChartScaleTitle extends Object implements IsDefaultScaleTitle
Defaults for scale title option element, based on chart type.- 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
-
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
-
getPadding
public IsDefaultPadding getPadding()
Description copied from interface:IsDefaultScaleTitle
Returns the padding defaults.- Specified by:
getPadding
in interfaceIsDefaultScaleTitle
- Returns:
- the padding defaults.
-
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.
-
-