griffon.effects
[Groovy] Class DropIn
java.lang.Object
griffon.effects.AbstractEffect
griffon.effects.ParallelEffect
griffon.effects.DropIn
class DropIn
extends ParallelEffect
Fades in and moves a window.
Parameters:
- anchor: Anchor, anchoring point. default: Anchor.TOP
Shared parameters:
- 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
|
Constructor Summary |
DropIn(Map params = [:], Window window, Closure callback = null)
Creates a new DropIn effect.
|
DropIn
DropIn(Map params = [:], Window window, Closure callback = null)
- Creates a new DropIn effect.
- Parameters:
params - - set of optionswindow - - the window to animatecallback - - an optional callback to be executed at the end of the animation
doBeforePlay
protected void doBeforePlay()
-
makeEffects
List makeEffects()
-
Groovy Documentation