org.odlabs.wiquery.core.effects
Class WiqueryAjaxEffectBehavior

java.lang.Object
  extended by org.apache.wicket.behavior.Behavior
      extended by org.apache.wicket.behavior.AbstractAjaxBehavior
          extended by org.apache.wicket.ajax.AbstractDefaultAjaxBehavior
              extended by org.odlabs.wiquery.core.behavior.WiQueryAbstractAjaxBehavior
                  extended by org.odlabs.wiquery.core.effects.WiqueryAjaxEffectBehavior
All Implemented Interfaces:
Serializable, org.apache.wicket.behavior.IBehaviorListener, org.apache.wicket.IClusterable, org.apache.wicket.IComponentAwareEventSink, org.apache.wicket.IRequestListener, org.apache.wicket.markup.html.IComponentAwareHeaderContributor, IWiQueryPlugin

public abstract class WiqueryAjaxEffectBehavior
extends WiQueryAbstractAjaxBehavior

$Id$

Defines an Effect behavior triggering the AbstractDefaultAjaxBehavior.respond(AjaxRequestTarget) method with an Ajax query.

Since:
1.0
Author:
Lionel Armanet
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.apache.wicket.ajax.AbstractDefaultAjaxBehavior
INDICATOR
 
Fields inherited from interface org.apache.wicket.behavior.IBehaviorListener
INTERFACE
 
Constructor Summary
WiqueryAjaxEffectBehavior(Effect effect)
          Creates this behavior for a given Effect.
 
Method Summary
protected  CharSequence getCallbackScript()
           
protected  CharSequence getHandlerScript()
           
protected  CharSequence getPreconditionScript()
           
 JsStatement statement()
          Returns the main JsStatement used to create the plugin.
 
Methods inherited from class org.apache.wicket.ajax.AbstractDefaultAjaxBehavior
findIndicatorId, generateCallbackScript, getAjaxCallDecorator, getChannel, getChannelName, getFailureScript, getSuccessScript, onBind, onRequest, renderHead, respond, throttleScript
 
Methods inherited from class org.apache.wicket.behavior.AbstractAjaxBehavior
afterRender, bind, getCallbackUrl, getComponent, getStatelessHint, onComponentRendered, onComponentTag, onComponentTag
 
Methods inherited from class org.apache.wicket.behavior.Behavior
beforeRender, canCallListenerInterface, canCallListenerInterface, detach, isEnabled, isTemporary, onConfigure, onEvent, onException, unbind
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WiqueryAjaxEffectBehavior

public WiqueryAjaxEffectBehavior(Effect effect)
Creates this behavior for a given Effect.

Method Detail

getCallbackScript

protected CharSequence getCallbackScript()
Overrides:
getCallbackScript in class org.apache.wicket.ajax.AbstractDefaultAjaxBehavior

getHandlerScript

protected CharSequence getHandlerScript()

getPreconditionScript

protected CharSequence getPreconditionScript()
Overrides:
getPreconditionScript in class org.apache.wicket.ajax.AbstractDefaultAjaxBehavior

statement

public JsStatement statement()
Description copied from interface: IWiQueryPlugin
Returns the main JsStatement used to create the plugin.

Specified by:
statement in interface IWiQueryPlugin
Specified by:
statement in class WiQueryAbstractAjaxBehavior
Returns:
The JsStatement corresponding to this component.


Copyright © 2012. All Rights Reserved.