wicket.extensions.ajax.markup.html
Class WicketAjaxIndicatorAppender

java.lang.Object
  extended bywicket.behavior.AbstractBehavior
      extended bywicket.extensions.ajax.markup.html.WicketAjaxIndicatorAppender
All Implemented Interfaces:
wicket.behavior.IBehavior, java.io.Serializable

public class WicketAjaxIndicatorAppender
extends wicket.behavior.AbstractBehavior

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.

Since:
1.2
Author:
Igor Vaynberg (ivaynberg)
See Also:
IndicatingAjaxLink, IAjaxIndicatorAware, Serialized Form

Constructor Summary
WicketAjaxIndicatorAppender()
          Construct.
 
Method Summary
 void bind(wicket.Component 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(wicket.Component component)
           
 
Methods inherited from class wicket.behavior.AbstractBehavior
cleanup, detachModel, exception, onComponentTag, onException, rendered
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WicketAjaxIndicatorAppender

public WicketAjaxIndicatorAppender()
Construct.

Method Detail

onRendered

public void onRendered(wicket.Component component)
See Also:
AbstractBehavior.onRendered(wicket.Component)

getIndicatorUrl

protected java.lang.CharSequence getIndicatorUrl()
Returns:
url of the animated indicator image

getSpanClass

protected java.lang.String getSpanClass()
Returns:
css class name of the generated outer span

getMarkupId

public java.lang.String getMarkupId()
Returns the markup id attribute of the outer most span of this indicator. This is the id of the span that should be hidden or show to hide or show the indicator.

Returns:
markup id of outer most span

bind

public final void bind(wicket.Component component)
See Also:
AbstractBehavior.bind(wicket.Component)


Copyright © 2004-2008 Wicket developers. All Rights Reserved.