public class AjaxSelfUpdatingTimerBehavior extends AbstractAjaxTimerBehavior
onTimer(AjaxRequestTarget)
,
onPostProcessTarget(AjaxRequestTarget)
,
Serialized FormINDICATOR
INTERFACE
Constructor and Description |
---|
AjaxSelfUpdatingTimerBehavior(Duration updateInterval)
Construct.
|
Modifier and Type | Method and Description |
---|---|
protected void |
onPostProcessTarget(AjaxRequestTarget target)
Give the subclass a chance to add something to the target, like a javascript effect call.
|
protected void |
onTimer(AjaxRequestTarget target)
Listener method for the AJAX timer event.
|
getJsTimeoutCall, getUpdateInterval, isStopped, onRemove, onUnbind, renderHead, respond, restart, setUpdateInterval, shouldTrigger, stop
findIndicatorId, getAttributes, getCallbackFunction, getCallbackFunctionBody, getCallbackScript, getCallbackScript, onBind, onRequest, postprocessConfiguration, renderAjaxAttributes, renderAjaxAttributes, updateAjaxAttributes
afterRender, bind, getCallbackUrl, getComponent, onComponentRendered, onComponentTag, onComponentTag, unbind
beforeRender, canCallListenerInterface, detach, getStatelessHint, isEnabled, isTemporary, onConfigure, onEvent, onException
public AjaxSelfUpdatingTimerBehavior(Duration updateInterval)
updateInterval
- Duration between AJAX callbacksprotected final void onTimer(AjaxRequestTarget target)
AbstractAjaxTimerBehavior
onTimer
in class AbstractAjaxTimerBehavior
target
- The request targetAbstractAjaxTimerBehavior.onTimer(AjaxRequestTarget)
protected void onPostProcessTarget(AjaxRequestTarget target)
target
- The AJAX targetCopyright © 2006–2016 Apache Software Foundation. All rights reserved.