Humboldt Alignment Editor 2.5.0

eu.esdihumboldt.hale.server.webapp.components
Class StoppableAjaxSelfUpdatingTimer

java.lang.Object
  extended by org.apache.wicket.behavior.Behavior
      extended by org.apache.wicket.behavior.AbstractAjaxBehavior
          extended by org.apache.wicket.ajax.AbstractDefaultAjaxBehavior
              extended by org.apache.wicket.ajax.AbstractAjaxTimerBehavior
                  extended by org.apache.wicket.ajax.AjaxSelfUpdatingTimerBehavior
                      extended by eu.esdihumboldt.hale.server.webapp.components.StoppableAjaxSelfUpdatingTimer
All Implemented Interfaces:
Serializable, org.apache.wicket.behavior.IBehaviorListener, org.apache.wicket.IComponentAwareEventSink, org.apache.wicket.IRequestListener, org.apache.wicket.markup.html.IComponentAwareHeaderContributor, org.apache.wicket.util.io.IClusterable

public class StoppableAjaxSelfUpdatingTimer
extends org.apache.wicket.ajax.AjaxSelfUpdatingTimerBehavior

Ajax timer beahvior that can be marked to stop the time when it is next updated.

Author:
Simon Templer
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.apache.wicket.ajax.AbstractDefaultAjaxBehavior
INDICATOR
 
Fields inherited from interface org.apache.wicket.behavior.IBehaviorListener
INTERFACE
 
Constructor Summary
StoppableAjaxSelfUpdatingTimer(org.apache.wicket.util.time.Duration updateInterval)
           
 
Method Summary
protected  void onPostProcessTarget(org.apache.wicket.ajax.AjaxRequestTarget target)
           
 void stopOnNextUpdate()
          Set the timer to stop when it is next updated.
 
Methods inherited from class org.apache.wicket.ajax.AjaxSelfUpdatingTimerBehavior
onTimer
 
Methods inherited from class org.apache.wicket.ajax.AbstractAjaxTimerBehavior
getJsTimeoutCall, getUpdateInterval, isStopped, renderHead, respond, restart, setUpdateInterval, stop
 
Methods inherited from class org.apache.wicket.ajax.AbstractDefaultAjaxBehavior
findIndicatorId, getAttributes, getCallbackFunction, getCallbackFunctionBody, getCallbackScript, getCallbackScript, getChannel, getFailureScript, getPreconditionScript, getSuccessScript, onBind, onRequest, postprocessConfiguration, renderAjaxAttributes, renderAjaxAttributes, updateAjaxAttributes
 
Methods inherited from class org.apache.wicket.behavior.AbstractAjaxBehavior
afterRender, bind, getCallbackUrl, getComponent, onComponentRendered, onComponentTag, onComponentTag
 
Methods inherited from class org.apache.wicket.behavior.Behavior
beforeRender, canCallListenerInterface, detach, getStatelessHint, isEnabled, isTemporary, onConfigure, onEvent, onException, unbind
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StoppableAjaxSelfUpdatingTimer

public StoppableAjaxSelfUpdatingTimer(org.apache.wicket.util.time.Duration updateInterval)
See Also:
AjaxSelfUpdatingTimerBehavior.AjaxSelfUpdatingTimerBehavior(Duration)
Method Detail

onPostProcessTarget

protected void onPostProcessTarget(org.apache.wicket.ajax.AjaxRequestTarget target)
Overrides:
onPostProcessTarget in class org.apache.wicket.ajax.AjaxSelfUpdatingTimerBehavior
See Also:
AjaxSelfUpdatingTimerBehavior.onPostProcessTarget(AjaxRequestTarget)

stopOnNextUpdate

public void stopOnNextUpdate()
Set the timer to stop when it is next updated.


Humboldt Alignment Editor 2.5.0

Build 2012-12-03_12-30-59
Revision 9d2dd4b0318cda9f1393b1ddd390f7f792d70a2d