Groovy Documentation

griffon.effects
[Groovy] Interface Effect


interface Effect
extends Runnable

Base class for all Effects.

The following parameters are shared across all effects unless otherwise specified

Authors:
Andres Almiray


Method Summary
Closure getCallback()

end-of-animation callback

Component getComponent()

Effect component

Map getParams()

Effect options

void run()

Runs the timeline.

 
Methods inherited from interface Runnable
run
 
Methods inherited from class Object
wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll
 

Method Detail

getCallback

Closure getCallback()
end-of-animation callback


getComponent

Component getComponent()
Effect component


getParams

Map getParams()
Effect options


run

void run()
Runs the timeline.

If a callback was supplied it will be called at the end of the animation, with the component and supplied parameters as arguments.


 

Groovy Documentation