|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.wicket.behavior.AbstractBehavior org.apache.wicket.extensions.ajax.markup.html.WicketAjaxIndicatorAppender
public class WicketAjaxIndicatorAppender
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 | |
---|---|
WicketAjaxIndicatorAppender()
Construct. |
Method Summary | |
---|---|
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 |
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, onException, rendered |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public WicketAjaxIndicatorAppender()
Method Detail |
---|
public void renderHead(IHeaderResponse response)
IHeaderContributor
renderHead
in interface IHeaderContributor
renderHead
in class AbstractBehavior
response
- Response objectAbstractBehavior.renderHead(IHeaderResponse)
public void onRendered(Component component)
AbstractBehavior
onRendered
in class AbstractBehavior
component
- the component that has this behavior coupledAbstractBehavior.onRendered(org.apache.wicket.Component)
protected java.lang.CharSequence getIndicatorUrl()
protected java.lang.String getSpanClass()
public java.lang.String getMarkupId()
public final void bind(Component component)
IBehavior
bind
in interface IBehavior
bind
in class AbstractBehavior
component
- 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 |