Class DefaultChartAnimations

  • All Implemented Interfaces:
    IsDefaultAnimations

    public final class DefaultChartAnimations
    extends Object
    implements IsDefaultAnimations
    Defaults for animations option element, based on chart type.
    Author:
    Andrea "Stock" Stocchero
    • Constructor Detail

      • DefaultChartAnimations

        public DefaultChartAnimations​(IsDefaultAnimations animations)
        Creates the object by animations option element instance.
        Parameters:
        animations - animations option element instance.
    • Method Detail

      • contains

        public boolean contains​(Key collection)
        Description copied from interface: IsDefaultAnimations
        Returns true if an animation collection instance is stored in the animation options.
        Specified by:
        contains in interface IsDefaultAnimations
        Parameters:
        collection - collection instance used to check in the animation options
        Returns:
        true if an animation collection instance is stored in the animation options
      • get

        public IsDefaultAnimationCollection get​(Key collection)
        Description copied from interface: IsDefaultAnimations
        Returns an animation collection instance if stored in the animation options.
        Specified by:
        get in interface IsDefaultAnimations
        Parameters:
        collection - collection instance used to get for animation options
        Returns:
        an animation collection instance or null if does not exists