Groovy Documentation

griffon.effects
[Groovy] Class Scale

java.lang.Object
  griffon.effects.AbstractEffect
      griffon.effects.AbstractBasicEffect
          griffon.effects.Scale

class Scale
extends AbstractBasicEffect

Scales a component on x/y coordinates over an specific anchor.

Parameters:

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


Nested Class Summary
private class Scale.Scaler

 
Field Summary
private static Map DEFAULT_PARAMS

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

Creates a new Scale effect.

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

 
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
 

Field Detail

DEFAULT_PARAMS

private static final Map DEFAULT_PARAMS


 
Constructor Detail

Scale

Scale(Map params = [:], Component component, Closure callback = null)
Creates a new Scale 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)


 

Groovy Documentation