|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.wicket.behavior.Behavior org.apache.wicket.extensions.ajax.markup.html.AjaxIndicatorAppender
public class AjaxIndicatorAppender
A behavior that adds a span with wicket's default indicator gif to the end of the component's
markup. This span can be used as an ajax busy indicator. For an example usage see
IndicatingAjaxLink
Instances of this behavior must not be shared between components.
IndicatingAjaxLink
,
IAjaxIndicatorAware
,
Serialized FormConstructor Summary | |
---|---|
AjaxIndicatorAppender()
Construct. |
Method Summary | |
---|---|
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 java.lang.CharSequence |
getIndicatorUrl()
|
java.lang.String |
getMarkupId()
Returns the markup id attribute of the outer most span of this indicator. |
protected java.lang.String |
getSpanClass()
|
void |
renderHead(Component component,
IHeaderResponse response)
Render to the web response whatever the component wants to contribute to the head section. |
Methods inherited from class org.apache.wicket.behavior.Behavior |
---|
beforeRender, canCallListenerInterface, detach, getStatelessHint, isEnabled, isTemporary, onComponentTag, onConfigure, onEvent, onException, unbind |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AjaxIndicatorAppender()
Method Detail |
---|
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 java.lang.CharSequence getIndicatorUrl()
protected java.lang.String getSpanClass()
public java.lang.String getMarkupId()
public final void bind(Component component)
Behavior
bind
in class Behavior
component
- the component to bind toBehavior.bind(org.apache.wicket.Component)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |