griffon.effects
[Groovy] Class ParallelEffect
java.lang.Object
griffon.effects.AbstractEffect
griffon.effects.ParallelEffect
- All Implemented Interfaces:
- CompositeEffect
abstract class ParallelEffect
extends AbstractEffect
Base class for composite, parallel Effects.
The following parameters are shared across all effects unless otherwise specified
- duration: long, how long should the animation take. default: 500l
- delay: long, wait time before the animation starts. default: 0l
- ease: TimelineEase. default: Linear
- wait: boolean. Force the caller thread to wait until the effects finishes. default: false
If a callback is supplied it will be called at the end of the animation,
with the component and supplied parameters as arguments.
- Authors:
- Andres Almiray
|
Method Summary |
protected void
|
setupTimeline(org.pushingpixels.trident.Timeline timeline)
Configures the Timeline for this effect
|
ParallelEffect
ParallelEffect(Map params = [:], Component component, Closure callback = null)
- Creates a new parallel effect.
- Parameters:
params - - set of optionscomponent - - the component to animatecallback - - an optional callback to be executed at the end of the animation
setupTimeline
protected void setupTimeline(org.pushingpixels.trident.Timeline timeline)
- Configures the Timeline for this effect
- Parameters:
timeline - - a timeline on which properties to interpolate can be set
Groovy Documentation