Class AnimationConfigurationManager
java.lang.Object
org.pushingpixels.lafwidget.animation.AnimationConfigurationManager
Animation configuration manager.
- Since:
- 2.1
-
Method Summary
Modifier and TypeMethodDescriptionvoid
allowAnimations
(AnimationFacet animationFacet) Allows animations of the specified facet on all controls.void
allowAnimations
(AnimationFacet animationFacet, Component comp) Allows animations of the specified facet on the specified control.void
allowAnimations
(AnimationFacet animationFacet, Class<?> clazz) Allows animations of the specified facet on all controls of specified class.void
allowAnimations
(AnimationFacet animationFacet, Class<?>[] clazz) Allows animations of the specified facet on all controls of specified classes.void
configureModifiedTimeline
(org.pushingpixels.trident.Timeline timeline) void
configureTimeline
(org.pushingpixels.trident.Timeline timeline) void
disallowAnimations
(AnimationFacet animationFacet) Disallows animations of the specified facet on all controls.void
disallowAnimations
(AnimationFacet animationFacet, Component comp) Disallows animations of the specified facet on the specified control.void
disallowAnimations
(AnimationFacet animationFacet, Class<?> clazz) Disallows animations of the specified facet on all controls of specified class.void
disallowAnimations
(AnimationFacet animationFacet, Class<?>[] clazz) Disallows animations of the specified facet on all controls of specified classes.Returns the configuration manager instance.long
boolean
isAnimationAllowed
(AnimationFacet animationFacet, Component comp) Checks whether the specified animation facet is allowed on the specified component.void
setTimelineDuration
(long timelineDuration)
-
Method Details
-
getInstance
Returns the configuration manager instance.- Returns:
- Configuration manager instance.
-
allowAnimations
Allows animations of the specified facet on all controls.- Parameters:
animationFacet
- Animation facet to allow.
-
allowAnimations
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
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
Allows animations of the specified facet on the specified control.- Parameters:
animationFacet
- Animation facet to allow.comp
- Control for allowing the animation facet.
-
disallowAnimations
Disallows animations of the specified facet on all controls.- Parameters:
animationFacet
- Animation facet to disallow.
-
disallowAnimations
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
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
Disallows animations of the specified facet on the specified control.- Parameters:
animationFacet
- Animation facet to disallow.comp
- Control for disallowing the animation facet.
-
isAnimationAllowed
Checks whether the specified animation facet is allowed on the specified component.- Parameters:
animationFacet
- Animation facet.comp
- Component. Can benull
.- 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() -
configureTimeline
public void configureTimeline(org.pushingpixels.trident.Timeline timeline) -
configureModifiedTimeline
public void configureModifiedTimeline(org.pushingpixels.trident.Timeline timeline)
-