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​(TransitionMode 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​(TransitionMode 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​(TransitionMode 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​(TransitionMode 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​(TransitionMode transition)
        Removes an animation transition previously added.
        Specified by:
        remove in interface IsTransitions
        Parameters:
        transition - transition instance used to remove from animation options