Class WiQueryAjaxEventBehavior
- java.lang.Object
-
- org.apache.wicket.behavior.Behavior
-
- org.apache.wicket.behavior.AbstractAjaxBehavior
-
- org.apache.wicket.ajax.AbstractDefaultAjaxBehavior
-
- org.wicketstuff.wiquery.core.behavior.WiQueryAbstractAjaxBehavior
-
- org.wicketstuff.wiquery.core.events.WiQueryAjaxEventBehavior
-
- All Implemented Interfaces:
java.io.Serializable,org.apache.wicket.IComponentAwareEventSink,org.apache.wicket.IRequestListener,org.apache.wicket.markup.html.IComponentAwareHeaderContributor,org.apache.wicket.util.io.IClusterable
public abstract class WiQueryAjaxEventBehavior extends WiQueryAbstractAjaxBehavior
$Id: WiQueryAjaxEventBehavior.java 1714M 2012-01-17 08:32:44Z (local) $Binds the given
Eventto an Ajax request.- Since:
- 0.5
- Author:
- Lionel Armanet
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class org.wicketstuff.wiquery.core.behavior.WiQueryAbstractAjaxBehavior
options
-
-
Constructor Summary
Constructors Constructor Description WiQueryAjaxEventBehavior(EventLabel... events)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected java.lang.StringgetPrecondition()protected voidonBind()protected abstract voidonEvent(org.apache.wicket.ajax.AjaxRequestTarget target)onEvent is called back when the ajax request is made.protected voidrespond(org.apache.wicket.ajax.AjaxRequestTarget target)protected voidupdateAjaxAttributes(org.apache.wicket.ajax.attributes.AjaxRequestAttributes attributes)-
Methods inherited from class org.wicketstuff.wiquery.core.behavior.WiQueryAbstractAjaxBehavior
getBehaviorComponent, getOptions, setEventListener
-
Methods inherited from class org.apache.wicket.ajax.AbstractDefaultAjaxBehavior
findIndicatorId, getAttributes, getCallbackFunction, getCallbackFunctionBody, getCallbackScript, getCallbackScript, onMethodMismatch, onRequest, postprocessConfiguration, renderAjaxAttributes, renderAjaxAttributes, renderHead
-
Methods inherited from class org.apache.wicket.behavior.AbstractAjaxBehavior
afterRender, bind, getCallbackUrl, getComponent, onComponentRendered, onComponentTag, onComponentTag, onUnbind, unbind
-
Methods inherited from class org.apache.wicket.behavior.Behavior
beforeRender, canCallListener, detach, getStatelessHint, isEnabled, isTemporary, onAttribute, onConfigure, onEvent, onException, onRemove, onTag
-
-
-
-
Constructor Detail
-
WiQueryAjaxEventBehavior
public WiQueryAjaxEventBehavior(EventLabel... events)
-
-
Method Detail
-
updateAjaxAttributes
protected void updateAjaxAttributes(org.apache.wicket.ajax.attributes.AjaxRequestAttributes attributes)
- Overrides:
updateAjaxAttributesin classorg.apache.wicket.ajax.AbstractDefaultAjaxBehavior
-
onBind
protected void onBind()
- Overrides:
onBindin classorg.apache.wicket.ajax.AbstractDefaultAjaxBehavior
-
respond
protected void respond(org.apache.wicket.ajax.AjaxRequestTarget target)
- Overrides:
respondin classWiQueryAbstractAjaxBehavior
-
onEvent
protected abstract void onEvent(org.apache.wicket.ajax.AjaxRequestTarget target)
onEvent is called back when the ajax request is made.- Parameters:
target- The Ajax request target
-
getPrecondition
protected java.lang.String getPrecondition()
-
-