|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.wicket.behavior.AbstractBehavior
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 Form| Constructor Summary | |
|---|---|
AjaxIndicatorAppender()
Construct. |
|
| Method Summary | |
|---|---|
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 |
onRendered(Component component)
Called when a component that has this behavior coupled was rendered. |
void |
renderHead(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.AbstractBehavior |
|---|
afterRender, beforeRender, cleanup, detach, detachModel, exception, getStatelessHint, isEnabled, isTemporary, onComponentTag, onConfigure, onException, rendered |
| 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(IHeaderResponse response)
IHeaderContributor
renderHead in interface IHeaderContributorrenderHead in class AbstractBehaviorresponse - Response objectAbstractBehavior.renderHead(IHeaderResponse)public void onRendered(Component component)
AbstractBehavior
onRendered in class AbstractBehaviorcomponent - the component that has this behavior coupledAbstractBehavior.onRendered(org.apache.wicket.Component)protected CharSequence getIndicatorUrl()
protected String getSpanClass()
public String getMarkupId()
public final void bind(Component component)
IBehavior
bind in interface IBehaviorbind in class AbstractBehaviorcomponent - the component to bind toAbstractBehavior.bind(org.apache.wicket.Component)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||