|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object wicket.behavior.AbstractBehavior wicket.behavior.AbstractAjaxBehavior wicket.ajax.AbstractDefaultAjaxBehavior wicket.ajax.AbstractAjaxTimerBehavior wicket.ajax.AjaxSelfUpdatingTimerBehavior
public class AjaxSelfUpdatingTimerBehavior
Automatically re-renders the component it is attached to via AJAX at a regular interval.
Field Summary |
---|
Fields inherited from class wicket.ajax.AbstractDefaultAjaxBehavior |
---|
INDICATOR |
Fields inherited from interface wicket.behavior.IBehaviorListener |
---|
INTERFACE |
Constructor Summary | |
---|---|
AjaxSelfUpdatingTimerBehavior(Duration updateInterval)
Construct. |
Method Summary | |
---|---|
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. |
Methods inherited from class wicket.ajax.AbstractAjaxTimerBehavior |
---|
getJsTimeoutCall, onBind, onRenderHeadContribution, respond |
Methods inherited from class wicket.ajax.AbstractDefaultAjaxBehavior |
---|
getAjaxCallDecorator, getCallbackScript, getCallbackScript, getCallbackScript, getImplementationId, onRenderHeadInitContribution, onRequest, throttleScript |
Methods inherited from class wicket.behavior.AbstractAjaxBehavior |
---|
bind, cleanup, getCallbackUrl, getCallbackUrl, getComponent, onComponentRendered, onComponentTag, onComponentTag, onRendered, renderHead, writeJsReference, writeJsReference |
Methods inherited from class wicket.behavior.AbstractBehavior |
---|
detachModel, exception, onException, rendered |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AjaxSelfUpdatingTimerBehavior(Duration updateInterval)
updateInterval
- Duration between AJAX callbacksMethod Detail |
---|
protected final void onTimer(AjaxRequestTarget target)
AbstractAjaxTimerBehavior
onTimer
in class AbstractAjaxTimerBehavior
target
- The request targetAbstractAjaxTimerBehavior.onTimer(wicket.ajax.AjaxRequestTarget)
protected void onPostProcessTarget(AjaxRequestTarget target)
target
- The AJAX target
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |