Class AbstractDefaultOptions
- java.lang.Object
-
- org.pepstock.charba.client.defaults.globals.AbstractDefaultOptions
-
- All Implemented Interfaces:
IsDefaultAnimationContainer,IsDefaultAnimationTransition,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 protectedAbstractDefaultOptions()Creates the object using the defaults inner elements of chart options.protectedAbstractDefaultOptions(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 IsDefaultAnimationgetAnimation()Returns the animation element.IsDefaultAnimationsgetAnimations()Returns the animations collection element.IsDefaultDatasetsgetDatasets()Returns the plugins defaults.IsDefaultDecimationgetDecimation()Returns the decimation defaults.IsDefaultElementsgetElements()Returns the elements defaults.IsDefaultFillergetFiller()Returns the filler defaults.IsDefaultFontgetFont()Returns the font element.IsDefaultInteractiongetHover()Returns the hover defaults.IsDefaultInteractiongetInteraction()Returns the interaction defaults.IsDefaultLayoutgetLayout()Returns the layout defaults.IsDefaultLegendgetLegend()Returns the legend defaults.IsDefaultPluginsgetPlugins()Returns the plugins defaults.IsDefaultSubtitlegetSubtitle()Returns the title defaults.IsDefaultTitlegetTitle()Returns the title defaults.IsDefaultTooltipsgetTooltips()Returns the tooltips defaults.IsDefaultTransitionsgetTransitions()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.IsDefaultOptions
getAspectRatio, getBackgroundColorAsString, getBorderColorAsString, getCircumference, getColorAsString, getCutout, getCutoutPercentage, getDevicePixelRatio, getEvents, 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:IsDefaultOptionsReturns the font element.- Specified by:
getFontin interfaceIsDefaultOptions- Returns:
- the font
-
getAnimation
public final IsDefaultAnimation getAnimation()
Description copied from interface:IsDefaultAnimationTransitionReturns the animation element.- Specified by:
getAnimationin interfaceIsDefaultAnimationTransition- Returns:
- the animation
-
getTransitions
public IsDefaultTransitions getTransitions()
Description copied from interface:IsDefaultAnimationContainerReturns the animation transition element.- Specified by:
getTransitionsin interfaceIsDefaultAnimationContainer- Returns:
- the animation transition
-
getAnimations
public IsDefaultAnimations getAnimations()
Description copied from interface:IsDefaultAnimationTransitionReturns the animations collection element.- Specified by:
getAnimationsin interfaceIsDefaultAnimationTransition- Returns:
- the animations collection
-
getLayout
public final IsDefaultLayout getLayout()
Description copied from interface:IsDefaultOptionsReturns the layout defaults.- Specified by:
getLayoutin interfaceIsDefaultOptions- Returns:
- the layout defaults.
-
getElements
public final IsDefaultElements getElements()
Description copied from interface:IsDefaultOptionsReturns the elements defaults.- Specified by:
getElementsin interfaceIsDefaultOptions- Returns:
- the elements defaults.
-
getHover
public final IsDefaultInteraction getHover()
Description copied from interface:IsDefaultOptionsReturns the hover defaults.- Specified by:
getHoverin interfaceIsDefaultOptions- Returns:
- the hover defaults.
-
getInteraction
public IsDefaultInteraction getInteraction()
Description copied from interface:IsDefaultOptionsReturns the interaction defaults.- Specified by:
getInteractionin interfaceIsDefaultOptions- Returns:
- the interaction defaults.
-
getTitle
public final IsDefaultTitle getTitle()
Description copied from interface:IsDefaultOptionsReturns the title defaults.- Specified by:
getTitlein interfaceIsDefaultOptions- Returns:
- the title defaults.
-
getSubtitle
public IsDefaultSubtitle getSubtitle()
Description copied from interface:IsDefaultOptionsReturns the title defaults.- Specified by:
getSubtitlein interfaceIsDefaultOptions- Returns:
- the title defaults.
-
getLegend
public final IsDefaultLegend getLegend()
Description copied from interface:IsDefaultOptionsReturns the legend defaults.- Specified by:
getLegendin interfaceIsDefaultOptions- Returns:
- the legend defaults.
-
getTooltips
public final IsDefaultTooltips getTooltips()
Description copied from interface:IsDefaultOptionsReturns the tooltips defaults.- Specified by:
getTooltipsin interfaceIsDefaultOptions- Returns:
- the tooltips defaults.
-
getPlugins
public IsDefaultPlugins getPlugins()
Description copied from interface:IsDefaultOptionsReturns the plugins defaults.- Specified by:
getPluginsin interfaceIsDefaultOptions- Returns:
- the plugins defaults.
-
getDatasets
public IsDefaultDatasets getDatasets()
Description copied from interface:IsDefaultOptionsReturns the plugins defaults.- Specified by:
getDatasetsin interfaceIsDefaultOptions- Returns:
- the plugins defaults.
-
getDecimation
public IsDefaultDecimation getDecimation()
Description copied from interface:IsDefaultOptionsReturns the decimation defaults.- Specified by:
getDecimationin interfaceIsDefaultOptions- Returns:
- the decimation defaults.
-
getFiller
public IsDefaultFiller getFiller()
Description copied from interface:IsDefaultOptionsReturns the filler defaults.- Specified by:
getFillerin interfaceIsDefaultOptions- Returns:
- the filler defaults.
-
-