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 StringgetColorAsString()Returns the font color as string.IsDefaultFontgetFont()Returns the font element.IsDefaultPaddinggetPadding()Returns the padding to apply around title.booleanisDisplay()Returnstrueif the legend title is shown.
-
-
-
Method Detail
-
getFont
public IsDefaultFont getFont()
Description copied from interface:IsDefaultFontContainerReturns the font element.- Specified by:
getFontin interfaceIsDefaultFontContainer- Returns:
- the font
-
getColorAsString
public String getColorAsString()
Description copied from interface:IsDefaultFontContainerReturns the font color as string.- Specified by:
getColorAsStringin interfaceIsDefaultFontContainer- Returns:
- font color as string
-
getPadding
public IsDefaultPadding getPadding()
Description copied from interface:IsDefaultLegendTitleReturns the padding to apply around title.- Specified by:
getPaddingin interfaceIsDefaultLegendTitle- Returns:
- Padding to apply around title.
-
isDisplay
public boolean isDisplay()
Description copied from interface:IsDefaultLegendTitleReturnstrueif the legend title is shown.- Specified by:
isDisplayin interfaceIsDefaultLegendTitle- Returns:
trueif the legend title is shown.
-
-