Class WiQueryEventBehavior

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.WiQueryEventBehavior
All Implemented Interfaces:
Serializable, org.apache.wicket.IComponentAwareEventSink, org.apache.wicket.IRequestListener, org.apache.wicket.markup.html.IComponentAwareHeaderContributor, org.apache.wicket.util.io.IClusterable

public class WiQueryEventBehavior extends WiQueryAbstractAjaxBehavior
$Id: WiQueryEventBehavior.java 1714M 2012-01-19 16:56:55Z (local) $

Calls a JavaScript statement when the given Event is triggered.

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

    Fields inherited from class org.wicketstuff.wiquery.core.behavior.WiQueryAbstractAjaxBehavior

    options

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

    INDICATOR
  • Constructor Summary

    Constructors
    Constructor
    Description
    Builds a new instance of WiQueryEventBehavior.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    renderHead(org.apache.wicket.Component component, org.apache.wicket.markup.head.IHeaderResponse response)
     

    Methods inherited from class org.wicketstuff.wiquery.core.behavior.WiQueryAbstractAjaxBehavior

    getBehaviorComponent, getOptions, respond, setEventListener

    Methods inherited from class org.apache.wicket.ajax.AbstractDefaultAjaxBehavior

    findIndicatorId, getAttributes, getCallbackFunction, getCallbackFunctionBody, getCallbackScript, getCallbackScript, onBind, onMethodMismatch, onRequest, postprocessConfiguration, renderAjaxAttributes, renderAjaxAttributes, updateAjaxAttributes

    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 Details

    • WiQueryEventBehavior

      public WiQueryEventBehavior(Event event)
      Builds a new instance of WiQueryEventBehavior.
      Parameters:
      event - the Event triggering the JavaScript statement.
  • Method Details

    • renderHead

      public void renderHead(org.apache.wicket.Component component, org.apache.wicket.markup.head.IHeaderResponse response)
      Specified by:
      renderHead in interface org.apache.wicket.markup.html.IComponentAwareHeaderContributor
      Overrides:
      renderHead in class org.apache.wicket.ajax.AbstractDefaultAjaxBehavior