Class AbstractDefaultOptions
- java.lang.Object
-
- org.pepstock.charba.client.defaults.globals.AbstractDefaultOptions
-
- All Implemented Interfaces:
IsDefaultAnimationContainer
,IsDefaultAnimationTransition
,IsDefaultEventHandler
,IsDefaultOptions
- Direct Known Subclasses:
DefaultChartOptions
,DefaultGlobalOptions
,DefaultOptions
public abstract class AbstractDefaultOptions extends Object implements IsDefaultOptions
Abstract CHART.JS default values for OPTIONS element with all inner elements.- Author:
- Andrea "Stock" Stocchero
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
AbstractDefaultOptions()
Creates the object using the defaults inner elements of chart options.protected
AbstractDefaultOptions(IsDefaultOptions options)
Creates the object using the argument options instance as default of chart options.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IsDefaultAnimation
getAnimation()
Returns the animation element.IsDefaultAnimations
getAnimations()
Returns the animations collection element.IsDefaultDatasets
getDatasets()
Returns the plugins defaults.IsDefaultDecimation
getDecimation()
Returns the decimation defaults.IsDefaultElements
getElements()
Returns the elements defaults.IsDefaultFiller
getFiller()
Returns the filler defaults.IsDefaultFont
getFont()
Returns the font element.IsDefaultInteraction
getHover()
Returns the hover defaults.IsDefaultInteraction
getInteraction()
Returns the interaction defaults.IsDefaultLayout
getLayout()
Returns the layout defaults.IsDefaultLegend
getLegend()
Returns the legend defaults.IsDefaultPlugins
getPlugins()
Returns the plugins defaults.IsDefaultSubtitle
getSubtitle()
Returns the title defaults.IsDefaultTitle
getTitle()
Returns the title defaults.IsDefaultTooltips
getTooltips()
Returns the tooltips defaults.IsDefaultTransitions
getTransitions()
Returns the animation transition element.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.pepstock.charba.client.defaults.IsDefaultEventHandler
getEvents
-
Methods inherited from interface org.pepstock.charba.client.defaults.IsDefaultOptions
getAspectRatio, getBackgroundColorAsString, getBorderColorAsString, getCircumference, getColorAsString, getCutout, getCutoutPercentage, getDevicePixelRatio, getIndexAxis, getLocale, getRadius, getRadiusPercentage, getResizeDelay, getRotation, isDestroyOnDetach, isDrawOnAttach, isMaintainAspectRatio, isResponsive, isShowLine, isSkipNull, isSpanGaps
-
-
-
-
Constructor Detail
-
AbstractDefaultOptions
protected AbstractDefaultOptions()
Creates the object using the defaults inner elements of chart options.
-
AbstractDefaultOptions
protected AbstractDefaultOptions(IsDefaultOptions options)
Creates the object using the argument options instance as default of chart options.- Parameters:
options
- default options instance
-
-
Method Detail
-
getFont
public IsDefaultFont getFont()
Description copied from interface:IsDefaultOptions
Returns the font element.- Specified by:
getFont
in interfaceIsDefaultOptions
- Returns:
- the font
-
getAnimation
public final IsDefaultAnimation getAnimation()
Description copied from interface:IsDefaultAnimationTransition
Returns the animation element.- Specified by:
getAnimation
in interfaceIsDefaultAnimationTransition
- Returns:
- the animation
-
getTransitions
public IsDefaultTransitions getTransitions()
Description copied from interface:IsDefaultAnimationContainer
Returns the animation transition element.- Specified by:
getTransitions
in interfaceIsDefaultAnimationContainer
- Returns:
- the animation transition
-
getAnimations
public IsDefaultAnimations getAnimations()
Description copied from interface:IsDefaultAnimationTransition
Returns the animations collection element.- Specified by:
getAnimations
in interfaceIsDefaultAnimationTransition
- Returns:
- the animations collection
-
getLayout
public final IsDefaultLayout getLayout()
Description copied from interface:IsDefaultOptions
Returns the layout defaults.- Specified by:
getLayout
in interfaceIsDefaultOptions
- Returns:
- the layout defaults.
-
getElements
public final IsDefaultElements getElements()
Description copied from interface:IsDefaultOptions
Returns the elements defaults.- Specified by:
getElements
in interfaceIsDefaultOptions
- Returns:
- the elements defaults.
-
getHover
public final IsDefaultInteraction getHover()
Description copied from interface:IsDefaultOptions
Returns the hover defaults.- Specified by:
getHover
in interfaceIsDefaultOptions
- Returns:
- the hover defaults.
-
getInteraction
public IsDefaultInteraction getInteraction()
Description copied from interface:IsDefaultOptions
Returns the interaction defaults.- Specified by:
getInteraction
in interfaceIsDefaultOptions
- Returns:
- the interaction defaults.
-
getTitle
public final IsDefaultTitle getTitle()
Description copied from interface:IsDefaultOptions
Returns the title defaults.- Specified by:
getTitle
in interfaceIsDefaultOptions
- Returns:
- the title defaults.
-
getSubtitle
public IsDefaultSubtitle getSubtitle()
Description copied from interface:IsDefaultOptions
Returns the title defaults.- Specified by:
getSubtitle
in interfaceIsDefaultOptions
- Returns:
- the title defaults.
-
getLegend
public final IsDefaultLegend getLegend()
Description copied from interface:IsDefaultOptions
Returns the legend defaults.- Specified by:
getLegend
in interfaceIsDefaultOptions
- Returns:
- the legend defaults.
-
getTooltips
public final IsDefaultTooltips getTooltips()
Description copied from interface:IsDefaultOptions
Returns the tooltips defaults.- Specified by:
getTooltips
in interfaceIsDefaultOptions
- Returns:
- the tooltips defaults.
-
getPlugins
public IsDefaultPlugins getPlugins()
Description copied from interface:IsDefaultOptions
Returns the plugins defaults.- Specified by:
getPlugins
in interfaceIsDefaultOptions
- Returns:
- the plugins defaults.
-
getDatasets
public IsDefaultDatasets getDatasets()
Description copied from interface:IsDefaultOptions
Returns the plugins defaults.- Specified by:
getDatasets
in interfaceIsDefaultOptions
- Returns:
- the plugins defaults.
-
getDecimation
public IsDefaultDecimation getDecimation()
Description copied from interface:IsDefaultOptions
Returns the decimation defaults.- Specified by:
getDecimation
in interfaceIsDefaultOptions
- Returns:
- the decimation defaults.
-
getFiller
public IsDefaultFiller getFiller()
Description copied from interface:IsDefaultOptions
Returns the filler defaults.- Specified by:
getFiller
in interfaceIsDefaultOptions
- Returns:
- the filler defaults.
-
-