Class DefaultChartLegendTitle
- java.lang.Object
-
- org.pepstock.charba.client.defaults.chart.DefaultChartLegendTitle
-
- All Implemented Interfaces:
IsDefaultFontContainer
,IsDefaultLegendTitle
public final class DefaultChartLegendTitle extends Object implements IsDefaultLegendTitle
Defaults for legend title option element, based on chart type.- Author:
- Andrea "Stock" Stocchero
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getColorAsString()
Returns the font color as string.IsDefaultFont
getFont()
Returns the font element.IsDefaultPadding
getPadding()
Returns the padding to apply around title.boolean
isDisplay()
Returnstrue
if the legend 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:IsDefaultLegendTitle
Returns the padding to apply around title.- Specified by:
getPadding
in interfaceIsDefaultLegendTitle
- Returns:
- Padding to apply around title.
-
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:IsDefaultLegendTitle
Returnstrue
if the legend title is shown.- Specified by:
isDisplay
in interfaceIsDefaultLegendTitle
- Returns:
true
if the legend title is shown.
-
-