Class DefaultLegendTitle
- java.lang.Object
-
- org.pepstock.charba.client.defaults.globals.DefaultLegendTitle
-
- All Implemented Interfaces:
IsDefaultFontContainer
,IsDefaultLegendTitle
public final class DefaultLegendTitle extends Object implements IsDefaultLegendTitle
CHART.JS default values for LEGENDTITLE element.- 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
-
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:IsDefaultLegendTitle
Returns the padding to apply around title.- Specified by:
getPadding
in interfaceIsDefaultLegendTitle
- Returns:
- Padding to apply around title.
-
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.
-
-