Class 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:
    Serialized Form
    • 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

      All Methods Instance Methods Abstract Methods Concrete Methods 
      Modifier and Type Method Description
      void cleanup()  
      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 interface org.apache.wicket.IRequestListener

        rendersPage
    • Constructor Detail

      • RemovableAjaxTimerBehavior

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

      • 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)