Groovy Documentation

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

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


Field Summary
 
Fields inherited from class AbstractEffect
params
 
Constructor Summary
ParallelEffect(Map params = [:], Component component, Closure callback = null)

Creates a new parallel effect.

 
Method Summary
protected void setupTimeline(org.pushingpixels.trident.Timeline timeline)

Configures the Timeline for this effect

 
Methods inherited from class AbstractEffect
doBeforePlay, getParams, paramsInternal, run, setupTimeline, toString
 
Methods inherited from class Object
wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll
 

Constructor Detail

ParallelEffect

ParallelEffect(Map params = [:], Component component, Closure callback = null)
Creates a new parallel effect.
Parameters:
params - - set of options
component - - the component to animate
callback - - an optional callback to be executed at the end of the animation


 
Method Detail

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