griffon.effects
[Groovy] Class Move
java.lang.Object
griffon.effects.AbstractEffect
griffon.effects.AbstractBasicEffect
griffon.effects.Move
class Move
extends AbstractBasicEffect
Moves a component.
Parameters:
- x: int, in pixels. default: 0i
- y: int, in pixels. default: 0i
- mode: String, if movement should be 'relative' or 'absolute'. default: 'relative'
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 |
Move(Map params = [:], Component component, Closure callback = null)
Creates a new Move effect.
|
|
Method Summary |
protected void
|
setupTimeline(org.pushingpixels.trident.Timeline timeline)
|
Move
Move(Map params = [:], Component component, Closure callback = null)
- Creates a new Move effect.
- Parameters:
params - - set of optionscomponent - - the component to animatecallback - - an optional callback to be executed at the end of the animation
setupTimeline
protected void setupTimeline(org.pushingpixels.trident.Timeline timeline)
-
Groovy Documentation