public class AjaxClientInfoBehavior extends AbstractAjaxTimerBehavior
INDICATOR
INTERFACE
Constructor and Description |
---|
AjaxClientInfoBehavior()
Constructor.
|
AjaxClientInfoBehavior(Duration duration)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
protected void |
onClientInfo(AjaxRequestTarget target,
WebClientInfo clientInfo)
A callback method invoked when the client info is collected.
|
protected void |
onTimer(AjaxRequestTarget target)
Listener method for the AJAX timer event.
|
void |
renderHead(Component component,
IHeaderResponse response)
Render to the web response whatever the component wants to contribute to the head section.
|
protected void |
updateAjaxAttributes(AjaxRequestAttributes attributes)
Gives a chance to the specializations to modify the attributes.
|
getJsTimeoutCall, getUpdateInterval, isStopped, onRemove, onUnbind, respond, restart, setUpdateInterval, shouldTrigger, stop
findIndicatorId, getAttributes, getCallbackFunction, getCallbackFunctionBody, getCallbackScript, getCallbackScript, onBind, onRequest, postprocessConfiguration, renderAjaxAttributes, renderAjaxAttributes
afterRender, bind, getCallbackUrl, getComponent, onComponentRendered, onComponentTag, onComponentTag, unbind
beforeRender, canCallListenerInterface, detach, getStatelessHint, isEnabled, isTemporary, onConfigure, onEvent, onException
public AjaxClientInfoBehavior()
public AjaxClientInfoBehavior(Duration duration)
duration
.protected final void onTimer(AjaxRequestTarget target)
AbstractAjaxTimerBehavior
onTimer
in class AbstractAjaxTimerBehavior
target
- The request targetprotected void onClientInfo(AjaxRequestTarget target, WebClientInfo clientInfo)
target
- The Ajax request handlerclientInfo
- The collected info for the clientprotected void updateAjaxAttributes(AjaxRequestAttributes attributes)
AbstractDefaultAjaxBehavior
updateAjaxAttributes
in class AbstractDefaultAjaxBehavior
public void renderHead(Component component, IHeaderResponse response)
Behavior
renderHead
in interface IComponentAwareHeaderContributor
renderHead
in class AbstractAjaxTimerBehavior
component
- component which is contributing to the response. This parameter is here to give
the component as the context for component-awares implementing this interfaceresponse
- Response objectBehavior.renderHead(Component,
org.apache.wicket.markup.head.IHeaderResponse)
Copyright © 2006–2016 Apache Software Foundation. All rights reserved.