Class Transitions

    • Method Detail

      • getScope

        public String getScope()
        Description copied from interface: HasCallbackScope
        Returns the scope of the options, which is the options are used for defaults, chart defaults or chart.
        Specified by:
        getScope in interface HasCallbackScope
        Returns:
        the scope of the options
      • has

        public boolean has​(TransitionKey transition)
        Returns true if an animation transition instance is stored in the animation options.
        Specified by:
        has in interface IsDefaultTransitions
        Parameters:
        transition - transition instance used to check in the animation options
        Returns:
        true if an animation transition instance is stored in the animation options
      • get

        public AnimationTransition get​(TransitionKey transition)
        Returns an animation transition instance if stored in the animation options.
        Specified by:
        get in interface IsDefaultTransitions
        Specified by:
        get in interface IsTransitions
        Parameters:
        transition - transition instance used to get for animation options
        Returns:
        an animation transition instance or null if does not exists
      • set

        public void set​(TransitionKey transition,
                        AnimationTransition animationTransition)
        Sets an animation transition instance to store in the animation options.
        Specified by:
        set in interface IsTransitions
        Parameters:
        transition - transition instance used to get for animation options
        animationTransition - an animation transition instance to set
      • create

        public AnimationTransition create​(TransitionKey transition)
        Creates an animation transition instance and stores in the animation options.
        Specified by:
        create in interface IsTransitions
        Parameters:
        transition - transition key used to create the animation transitions
        Returns:
        a transition animation options
      • remove

        public void remove​(TransitionKey transition)
        Removes an animation transition previously added.
        Specified by:
        remove in interface IsTransitions
        Parameters:
        transition - transition instance used to remove from animation options