Groovy Documentation

griffon.effects
[Groovy] Class Puff

java.lang.Object
  griffon.effects.AbstractEffect
      griffon.effects.ParallelEffect
          griffon.effects.Puff

class Puff
extends ParallelEffect

Fades and blows up a window.

Shared parameters:

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
Puff(Map params = [:], Window window, Closure callback = null)

Creates a new Puff effect.

 
Method Summary
List makeEffects()

 
Methods inherited from class ParallelEffect
setupTimeline
 
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

Puff

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


 
Method Detail

makeEffects

List makeEffects()


 

Groovy Documentation