Class 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 Event to an Ajax request.

    Since:
    0.5
    Author:
    Lionel Armanet
    See Also:
    Serialized Form
    • Field Summary

      • Fields inherited from class org.apache.wicket.ajax.AbstractDefaultAjaxBehavior

        INDICATOR
    • Method Summary

      All Methods Instance Methods Abstract Methods Concrete Methods 
      Modifier and Type Method 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)  
      • 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
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface org.apache.wicket.IRequestListener

        rendersPage
    • Constructor Detail

      • WiQueryAjaxEventBehavior

        public WiQueryAjaxEventBehavior​(EventLabel... events)
    • Method Detail

      • updateAjaxAttributes

        protected void updateAjaxAttributes​(org.apache.wicket.ajax.attributes.AjaxRequestAttributes attributes)
        Overrides:
        updateAjaxAttributes in class org.apache.wicket.ajax.AbstractDefaultAjaxBehavior
      • onBind

        protected void onBind()
        Overrides:
        onBind in class org.apache.wicket.ajax.AbstractDefaultAjaxBehavior
      • 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()