Interface IsDefaultLegendLabels
- 
- All Superinterfaces:
- IsDefaultBoxHandler,- IsDefaultFontContainer,- IsDefaultPointStyleHandler
 - All Known Implementing Classes:
- DefaultChartLegendLabels,- DefaultLegendLabels,- LegendLabels
 
 public interface IsDefaultLegendLabels extends IsDefaultBoxHandler, IsDefaultPointStyleHandler, IsDefaultFontContainer Interface to define legend labels object defaults.- Author:
- Andrea "Stock" Stocchero
 
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description intgetBorderRadius()Returns the the border radius to use on the legend.intgetPadding()Returns the padding to apply around labels.doublegetPointStyleWidth()Returns ifusePointStyleis true, the width of the point style used for the legend.TextAligngetTextAlign()Returns the horizontal alignment of the label text.booleanisUseBorderRadius()Returns if label border radius will match corresponding border radius.booleanisUsePointStyle()Returns if label style will match corresponding point style (size is based on fontSize, boxWidth is not used in this case).- 
Methods inherited from interface org.pepstock.charba.client.defaults.IsDefaultBoxHandlergetBoxHeight, getBoxWidth
 - 
Methods inherited from interface org.pepstock.charba.client.defaults.IsDefaultFontContainergetColorAsString, getFont
 - 
Methods inherited from interface org.pepstock.charba.client.defaults.IsDefaultPointStyleHandlergetPointStyle, getPointStyleAsCanvas, getPointStyleAsImage, getPointStyleType
 
- 
 
- 
- 
- 
Method Detail- 
isUsePointStyleboolean isUsePointStyle() Returns if label style will match corresponding point style (size is based on fontSize, boxWidth is not used in this case).- Returns:
- if label style will match corresponding point style (size is based on fontSize, boxWidth is not used in this case).
 
 - 
getPointStyleWidthdouble getPointStyleWidth() Returns ifusePointStyleis true, the width of the point style used for the legend.- Returns:
- if usePointStyleis true, the width of the point style used for the legend.
 
 - 
getPaddingint getPadding() Returns the padding to apply around labels. Only top and bottom are implemented.- Returns:
- Padding to apply around labels. Only top and bottom are implemented.
 
 - 
getTextAlignTextAlign getTextAlign() Returns the horizontal alignment of the label text.- Returns:
- the horizontal alignment of the label text.
 
 - 
isUseBorderRadiusboolean isUseBorderRadius() Returns if label border radius will match corresponding border radius.- Returns:
- if label border radius will match corresponding border radius.
 
 - 
getBorderRadiusint getBorderRadius() Returns the the border radius to use on the legend.- Returns:
- the the border radius to use on the legend
 
 
- 
 
-