public class EffectBehavior extends WiQueryAbstractAjaxBehavior
Attach an effect to the given component.
Effect,
EffectSpeed,
Serialized Form| Modifier and Type | Class and Description |
|---|---|
static class |
EffectBehavior.AjaxEffectCallback |
options| Constructor and Description |
|---|
EffectBehavior(Effect effect)
Builds a new instance of
EffectBehavior. |
| Modifier and Type | Method and Description |
|---|---|
void |
setCallback(EffectBehavior.AjaxEffectCallback callback) |
JsStatement |
statement()
Deprecated.
|
getBehaviorComponent, getOptions, renderHead, respond, setEventListenerfindIndicatorId, getAttributes, getCallbackFunction, getCallbackFunctionBody, getCallbackScript, getCallbackScript, onBind, onRequest, postprocessConfiguration, renderAjaxAttributes, renderAjaxAttributes, updateAjaxAttributesafterRender, bind, getCallbackUrl, getComponent, onComponentRendered, onComponentTag, onComponentTag, onUnbind, unbindpublic EffectBehavior(Effect effect)
EffectBehavior.@Deprecated public JsStatement statement()
WiQueryAbstractAjaxBehavior
Since wicket 6.0 this function is no longer needed, nearly all of WiQuery core's
inner workings have been ported to Wicket 6.0. Use
WiQueryAbstractAjaxBehavior.renderHead(Component, IHeaderResponse) to render your statement.
For backward compatibility we render the output of this function in an
OnDomReadyHeaderItem if it is not empty. For your convenience this abstract
class returns null so that nothing is rendered.
If you decide to use this class and to override this function then make sure you do
call this class' WiQueryAbstractAjaxBehavior.renderHead(Component, IHeaderResponse) otherwise no
statement will be rendered.
statement in interface IWiQueryPluginstatement in class WiQueryAbstractAjaxBehaviorJsStatement corresponding to this component.public void setCallback(EffectBehavior.AjaxEffectCallback callback)
Copyright © 2015. All Rights Reserved.