Class AnimationConfigurationManager


  • public class AnimationConfigurationManager
    extends java.lang.Object
    Internal implementation of animation configuration.
    See Also:
    RadianceThemingCortex
    • Constructor Detail

      • AnimationConfigurationManager

        private AnimationConfigurationManager()
        Creates a new instance.
    • Method Detail

      • getInstance

        public static AnimationConfigurationManager getInstance()
        Returns the configuration manager instance.
        Returns:
        Configuration manager instance.
      • allowAnimations

        public void allowAnimations​(RadianceThemingSlices.AnimationFacet animationFacet)
        Allows animations of the specified facet on all controls.
        Parameters:
        animationFacet - Animation facet to allow.
      • allowAnimations

        public void allowAnimations​(RadianceThemingSlices.AnimationFacet animationFacet,
                                    java.lang.Class<?> clazz)
        Allows animations of the specified facet on all controls of specified class.
        Parameters:
        animationFacet - Animation facet to allow.
        clazz - Control class for allowing the animation facet.
      • allowAnimations

        public void allowAnimations​(RadianceThemingSlices.AnimationFacet animationFacet,
                                    java.lang.Class<?>[] clazz)
        Allows animations of the specified facet on all controls of specified classes.
        Parameters:
        animationFacet - Animation facet to allow.
        clazz - Control classes for allowing the animation facet.
      • allowAnimations

        public void allowAnimations​(RadianceThemingSlices.AnimationFacet animationFacet,
                                    java.awt.Component comp)
        Allows animations of the specified facet on the specified control.
        Parameters:
        animationFacet - Animation facet to allow.
        comp - Control for allowing the animation facet.
      • disallowAnimations

        public void disallowAnimations​(RadianceThemingSlices.AnimationFacet animationFacet)
        Disallows animations of the specified facet on all controls.
        Parameters:
        animationFacet - Animation facet to disallow.
      • disallowAnimations

        public void disallowAnimations​(RadianceThemingSlices.AnimationFacet animationFacet,
                                       java.lang.Class<?> clazz)
        Disallows animations of the specified facet on all controls of specified class.
        Parameters:
        animationFacet - Animation facet to disallow.
        clazz - Control class for disallowing the animation facet.
      • disallowAnimations

        public void disallowAnimations​(RadianceThemingSlices.AnimationFacet animationFacet,
                                       java.lang.Class<?>[] clazz)
        Disallows animations of the specified facet on all controls of specified classes.
        Parameters:
        animationFacet - Animation facet to disallow.
        clazz - Control classes for disallowing the animation facet.
      • disallowAnimations

        public void disallowAnimations​(RadianceThemingSlices.AnimationFacet animationFacet,
                                       java.awt.Component comp)
        Disallows animations of the specified facet on the specified control.
        Parameters:
        animationFacet - Animation facet to disallow.
        comp - Control for disallowing the animation facet.
      • isAnimationAllowed

        public boolean isAnimationAllowed​(RadianceThemingSlices.AnimationFacet animationFacet,
                                          java.awt.Component comp)
        Checks whether the specified animation facet is allowed on the specified component.
        Parameters:
        animationFacet - Animation facet.
        comp - Component. Can be null.
        Returns:
        true if the specified animation facet is allowed on the specified component, false otherwise.
      • setTimelineDuration

        public void setTimelineDuration​(long timelineDuration)
      • getTimelineDuration

        public long getTimelineDuration()