Class DefaultTitle
- java.lang.Object
- 
- org.pepstock.charba.client.defaults.globals.DefaultTitle
 
- 
- All Implemented Interfaces:
- IsDefaultAbstractTitle,- IsDefaultFontContainer,- IsDefaultPluginElement,- IsDefaultTitle
 
 public final class DefaultTitle extends Object implements IsDefaultTitle CHART.JS default values for TITLE element.- Author:
- Andrea "Stock" Stocchero
 
- 
- 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description ElementAligngetAlign()Returns the alignment of the element.StringgetColorAsString()Returns the font color as string.IsDefaultFontgetFont()Returns the font element.IsDefaultPaddinggetPadding()Returns the padding to apply around labels.PositiongetPosition()Returns the position of element.booleanisDisplay()Returns if the element is shown.booleanisFullSize()Returns if marks that this box should take the full width/height of the canvas (moving other boxes).- 
Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 - 
Methods inherited from interface org.pepstock.charba.client.defaults.IsDefaultAbstractTitleisFullSize
 - 
Methods inherited from interface org.pepstock.charba.client.defaults.IsDefaultFontContainergetColorAsString
 - 
Methods inherited from interface org.pepstock.charba.client.defaults.IsDefaultPluginElementgetAlign, getPosition, isDisplay
 
- 
 
- 
- 
- 
Method Detail- 
getFontpublic IsDefaultFont getFont() Description copied from interface:IsDefaultFontContainerReturns the font element.- Specified by:
- getFontin interface- IsDefaultFontContainer
- Returns:
- the font
 
 - 
getPaddingpublic IsDefaultPadding getPadding() Description copied from interface:IsDefaultAbstractTitleReturns the padding to apply around labels. Only top and bottom are implemented.- Specified by:
- getPaddingin interface- IsDefaultAbstractTitle
- Returns:
- Padding to apply around labels. Only top and bottom are implemented.
 
 - 
isDisplaypublic boolean isDisplay() Description copied from interface:IsDefaultPluginElementReturns if the element is shown.- Specified by:
- isDisplayin interface- IsDefaultPluginElement
- Returns:
- if the element is shown.
 
 - 
getPositionpublic Position getPosition() Description copied from interface:IsDefaultPluginElementReturns the position of element.- Specified by:
- getPositionin interface- IsDefaultPluginElement
- Returns:
- the position of element.
 
 - 
isFullSizepublic boolean isFullSize() Description copied from interface:IsDefaultAbstractTitleReturns if marks that this box should take the full width/height of the canvas (moving other boxes).- Specified by:
- isFullSizein interface- IsDefaultAbstractTitle
- Returns:
- Marks that this box should take the full width/height of the canvas (moving other boxes)
 
 - 
getAlignpublic ElementAlign getAlign() Description copied from interface:IsDefaultPluginElementReturns the alignment of the element.- Specified by:
- getAlignin interface- IsDefaultPluginElement
- Returns:
- alignment of the element.
 
 - 
getColorAsStringpublic String getColorAsString() Description copied from interface:IsDefaultFontContainerReturns the font color as string.- Specified by:
- getColorAsStringin interface- IsDefaultFontContainer
- Returns:
- font color as string
 
 
- 
 
-