public class AnimationConfigurationManager
extends java.lang.Object
Modifier and Type | Method | Description |
---|---|---|
void |
allowAnimations(AnimationFacet animationFacet) |
Allows animations of the specified facet on all controls.
|
void |
allowAnimations(AnimationFacet animationFacet,
java.awt.Component comp) |
Allows animations of the specified facet on the specified control.
|
void |
allowAnimations(AnimationFacet animationFacet,
java.lang.Class<?> clazz) |
Allows animations of the specified facet on all controls of specified
class.
|
void |
allowAnimations(AnimationFacet animationFacet,
java.lang.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,
java.awt.Component comp) |
Disallows animations of the specified facet on the specified control.
|
void |
disallowAnimations(AnimationFacet animationFacet,
java.lang.Class<?> clazz) |
Disallows animations of the specified facet on all controls of specified
class.
|
void |
disallowAnimations(AnimationFacet animationFacet,
java.lang.Class<?>[] clazz) |
Disallows animations of the specified facet on all controls of specified
classes.
|
static AnimationConfigurationManager |
getInstance() |
Returns the configuration manager instance.
|
long |
getTimelineDuration() |
|
boolean |
isAnimationAllowed(AnimationFacet animationFacet,
java.awt.Component comp) |
Checks whether the specified animation facet is allowed on the specified
component.
|
void |
setTimelineDuration(long timelineDuration) |
public static AnimationConfigurationManager getInstance()
public void allowAnimations(AnimationFacet animationFacet)
animationFacet
- Animation facet to allow.public void allowAnimations(AnimationFacet animationFacet, java.lang.Class<?> clazz)
animationFacet
- Animation facet to allow.clazz
- Control class for allowing the animation facet.public void allowAnimations(AnimationFacet animationFacet, java.lang.Class<?>[] clazz)
animationFacet
- Animation facet to allow.clazz
- Control classes for allowing the animation facet.public void allowAnimations(AnimationFacet animationFacet, java.awt.Component comp)
animationFacet
- Animation facet to allow.comp
- Control for allowing the animation facet.public void disallowAnimations(AnimationFacet animationFacet)
animationFacet
- Animation facet to disallow.public void disallowAnimations(AnimationFacet animationFacet, java.lang.Class<?> clazz)
animationFacet
- Animation facet to disallow.clazz
- Control class for disallowing the animation facet.public void disallowAnimations(AnimationFacet animationFacet, java.lang.Class<?>[] clazz)
animationFacet
- Animation facet to disallow.clazz
- Control classes for disallowing the animation facet.public void disallowAnimations(AnimationFacet animationFacet, java.awt.Component comp)
animationFacet
- Animation facet to disallow.comp
- Control for disallowing the animation facet.public boolean isAnimationAllowed(AnimationFacet animationFacet, java.awt.Component comp)
animationFacet
- Animation facet.comp
- Component. Can be null
.true
if the specified animation facet is allowed on
the specified component, false
otherwise.public void setTimelineDuration(long timelineDuration)
public long getTimelineDuration()
public void configureTimeline(org.pushingpixels.trident.Timeline timeline)
public void configureModifiedTimeline(org.pushingpixels.trident.Timeline timeline)