Class RemovableAjaxTimerBehavior

java.lang.Object
org.apache.wicket.behavior.Behavior
org.apache.wicket.behavior.AbstractAjaxBehavior
org.apache.wicket.ajax.AbstractDefaultAjaxBehavior
org.apache.wicket.ajax.AbstractAjaxTimerBehavior
com.evolveum.midpoint.web.component.refresh.RemovableAjaxTimerBehavior
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 abstract class RemovableAjaxTimerBehavior extends org.apache.wicket.ajax.AbstractAjaxTimerBehavior
EXPERIMENTAL. (Working with these timers is very tricky. What we really need is flexible re-scheduling of these timers.)
See Also:
  • Field Summary

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

    INDICATOR
  • Constructor Summary

    Constructors
    Constructor
    Description
    RemovableAjaxTimerBehavior(@NotNull org.apache.wicket.Component parent, long updateInterval)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     
    protected abstract void
    handleOnTimer(org.apache.wicket.ajax.AjaxRequestTarget target)
     
    protected void
    onTimer(org.apache.wicket.ajax.AjaxRequestTarget target)
     
    void
    remove(org.apache.wicket.ajax.AjaxRequestTarget target)
     

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

    getTimerId, getUpdateInterval, isStopped, onRemove, onTimer, onUnbind, renderHead, respond, restart, setUpdateInterval, shouldTrigger, stop

    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, unbind

    Methods inherited from class org.apache.wicket.behavior.Behavior

    beforeRender, canCallListener, detach, getStatelessHint, isEnabled, isTemporary, onAttribute, onConfigure, onEvent, onException, 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

    • RemovableAjaxTimerBehavior

      public RemovableAjaxTimerBehavior(@NotNull @NotNull org.apache.wicket.Component parent, long updateInterval)
  • Method Details

    • onTimer

      protected void onTimer(org.apache.wicket.ajax.AjaxRequestTarget target)
      Specified by:
      onTimer in class org.apache.wicket.ajax.AbstractAjaxTimerBehavior
    • cleanup

      public void cleanup()
    • handleOnTimer

      protected abstract void handleOnTimer(org.apache.wicket.ajax.AjaxRequestTarget target)
    • remove

      public void remove(org.apache.wicket.ajax.AjaxRequestTarget target)