griffon.effects
[Groovy] Class AbstractBasicEffect
java.lang.Object
griffon.effects.AbstractEffect
griffon.effects.AbstractBasicEffect
- All Implemented Interfaces:
- BasicEffect
abstract class AbstractBasicEffect
extends AbstractEffect
Base class for all basic 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
- Authors:
- Andres Almiray
AbstractBasicEffect
AbstractBasicEffect(Map params = [:], Component component, Closure callback = null)
- Creates a new effect.
- Parameters:
params - - set of optionscomponent - - the component to animatecallback - - an optional callback to be executed at the end of the animation
Groovy Documentation