|
Groovy Documentation | |||||||
| FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectgriffon.effects.Effects
class Effects extends Object
Effects.
The following parameters are shared across all effects unless otherwise specified
If a callback is supplied it will be called at the end of the animation, with the component and supplied parameters as arguments.
| Constructor Summary | |
Effects()
|
|
| Method Summary | |
|---|---|
static void
|
appear(Map params = [:], Window window, Closure callback = null)
Makes a window appear. |
static void
|
appear(Window window, Closure callback)
Makes a window appear. |
static void
|
bounds(Map params = [:], Component component, Closure callback = null)
Moves and resizes a component. |
static void
|
chain(List effects, Closure callback = null)
Runs a series of effects one after another. |
static void
|
dropIn(Map params = [:], Window window, Closure callback = null)
Fades in and centers a window. |
static void
|
dropOut(Map params = [:], Window window, Closure callback = null)
Fades and moves a window. |
static void
|
fade(Map params = [:], Window window, Closure callback = null)
Fades a window. |
static void
|
fade(Window window, Closure callback)
Fades a window. |
static void
|
move(Map params = [:], Component component, Closure callback = null)
Moves a component. |
static void
|
opacity(Map params = [:], Window window, Closure callback = null)
Animates window opacity. |
static void
|
puff(Map params = [:], Window window, Closure callback = null)
Fades and blows up a window. |
static void
|
puff(Window window, Closure callback)
Fades and blows up a window. |
static void
|
resize(Map params = [:], Component component, Closure callback = null)
Resizes a component. |
static void
|
scale(Map params = [:], Component component, Closure callback = null)
Scales a component on x/y coordinates over an specific anchor. |
static void
|
shake(Map params = [:], Component component, Closure callback = null)
Shakes a component. |
static void
|
shake(Component component, Closure callback)
Shakes a component. |
| Methods inherited from class Object | |
|---|---|
| wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll |
| Constructor Detail |
|---|
Effects()
| Method Detail |
|---|
static void appear(Map params = [:], Window window, Closure callback = null)
params - - set of optionswindow - - the window to animatecallback - - an optional callback to be executed at the end of the animation
static void appear(Window window, Closure callback)
window - - the window to animatecallback - - an optional callback to be executed at the end of the animation
static void bounds(Map params = [:], Component component, Closure callback = null)
params - - set of optionscomponent - - the component to animatecallback - - an optional callback to be executed at the end of the animation
static void chain(List effects, Closure callback = null)
effects - - a list of effects to be run sequentiallycallback - - an optional callback to be executed at the end of the chain
static void dropIn(Map params = [:], Window window, Closure callback = null)
params - - set of optionswindow - - the window to animatecallback - - an optional callback to be executed at the end of the animation
static void dropOut(Map params = [:], Window window, Closure callback = null)
params - - set of optionswindow - - the window to animatecallback - - an optional callback to be executed at the end of the animation
static void fade(Map params = [:], Window window, Closure callback = null)
params - - set of optionswindow - - the window to animatecallback - - an optional callback to be executed at the end of the animation
static void fade(Window window, Closure callback)
window - - the window to animatecallback - - an optional callback to be executed at the end of the animation
static void move(Map params = [:], Component component, Closure callback = null)
params - - set of optionscomponent - - the component to animatecallback - - an optional callback to be executed at the end of the animation
static void opacity(Map params = [:], Window window, Closure callback = null)
params - - set of optionswindow - - the window to animatecallback - - an optional callback to be executed at the end of the animation
static void puff(Map params = [:], Window window, Closure callback = null)
params - - set of optionswindow - - the window to animatecallback - - an optional callback to be executed at the end of the animation
static void puff(Window window, Closure callback)
window - - the window to animatecallback - - an optional callback to be executed at the end of the animation
static void resize(Map params = [:], Component component, Closure callback = null)
params - - set of optionscomponent - - the component to animatecallback - - an optional callback to be executed at the end of the animation
static void scale(Map params = [:], Component component, Closure callback = null)
Parameters:
params - - set of optionscomponent - - the component to animatecallback - - an optional callback to be executed at the end of the animation
static void shake(Map params = [:], Component component, Closure callback = null)
params - - set of optionscomponent - - the component to animatecallback - - an optional callback to be executed at the end of the animation
static void shake(Component component, Closure callback)
component - - the component to animatecallback - - an optional callback to be executed at the end of the animation
Groovy Documentation