public class AjaxIndicatorAppender extends Behavior
IndicatingAjaxLink
Instances of this behavior must not be shared between components.
IndicatingAjaxLink
,
IAjaxIndicatorAware
,
Serialized FormConstructor and Description |
---|
AjaxIndicatorAppender()
Construct.
|
Modifier and Type | Method and Description |
---|---|
void |
afterRender(Component component)
Called when a component that has this behavior coupled was rendered.
|
void |
bind(Component component)
Bind this handler to the given component.
|
protected CharSequence |
getIndicatorUrl() |
String |
getMarkupId()
Returns the markup id attribute of the outer most span of this indicator.
|
protected String |
getSpanClass() |
void |
renderHead(Component component,
IHeaderResponse response)
Render to the web response whatever the component wants to contribute to the head section.
|
beforeRender, canCallListenerInterface, detach, getStatelessHint, isEnabled, isTemporary, onComponentTag, onConfigure, onEvent, onException, onRemove, unbind
public void renderHead(Component component, IHeaderResponse response)
Behavior
renderHead
in interface IComponentAwareHeaderContributor
renderHead
in class Behavior
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 objectpublic void afterRender(Component component)
Behavior
afterRender
in class Behavior
component
- the component that has this behavior coupledprotected CharSequence getIndicatorUrl()
protected String getSpanClass()
public String getMarkupId()
public final void bind(Component component)
Behavior
bind
in class Behavior
component
- the component to bind toBehavior.bind(org.apache.wicket.Component)
Copyright © 2006–2021 Apache Software Foundation. All rights reserved.