public abstract class WiQueryAjaxEventBehavior extends WiQueryAbstractAjaxBehavior
Binds the given Event to an Ajax request.
options| Constructor and Description |
|---|
WiQueryAjaxEventBehavior(EventLabel... events) |
| Modifier and Type | Method and Description |
|---|---|
protected java.lang.String |
getPrecondition() |
protected void |
onBind() |
protected abstract void |
onEvent(org.apache.wicket.ajax.AjaxRequestTarget target)
onEvent is called back when the ajax request is made.
|
protected void |
respond(org.apache.wicket.ajax.AjaxRequestTarget target) |
protected void |
updateAjaxAttributes(org.apache.wicket.ajax.attributes.AjaxRequestAttributes attributes) |
getBehaviorComponent, getOptions, setEventListenerfindIndicatorId, getAttributes, getCallbackFunction, getCallbackFunctionBody, getCallbackScript, getCallbackScript, onRequest, postprocessConfiguration, renderAjaxAttributes, renderAjaxAttributes, renderHeadafterRender, bind, getCallbackUrl, getComponent, onComponentRendered, onComponentTag, onComponentTag, onUnbind, unbindbeforeRender, canCallListener, detach, getStatelessHint, isEnabled, isTemporary, onAttribute, onConfigure, onEvent, onException, onRemove, onTagpublic WiQueryAjaxEventBehavior(EventLabel... events)
protected void updateAjaxAttributes(org.apache.wicket.ajax.attributes.AjaxRequestAttributes attributes)
updateAjaxAttributes in class org.apache.wicket.ajax.AbstractDefaultAjaxBehaviorprotected void onBind()
onBind in class org.apache.wicket.ajax.AbstractDefaultAjaxBehaviorprotected void respond(org.apache.wicket.ajax.AjaxRequestTarget target)
respond in class WiQueryAbstractAjaxBehaviorprotected abstract void onEvent(org.apache.wicket.ajax.AjaxRequestTarget target)
target - The Ajax request targetprotected java.lang.String getPrecondition()
Copyright © 2021. All Rights Reserved.