public interface WLoadingIndicator
The loading indicator displays a message while a response from the server is pending.
By providing a custom implementation of this interface, you may use a custom loading indicator
WApplication#setLoadingIndicator(),instead of the default implementation (
Modifier and Type Method Description
()Returns the widget that visually represents the indicator.
(java.lang.CharSequence text)Sets the message that you want to be displayed.
getWidgetWWidget getWidget()Returns the widget that visually represents the indicator.
You should reimplement this method to return a widget that will be shown to indicate that a response is pending. The widget should be positioned using CSS.
The widget will be shown and hidden using
WWidget.hide(). If you want to customize this behaviour, you should reimplement the
Note: The widget will not be added to the
setMessagevoid setMessage(java.lang.CharSequence text)Sets the message that you want to be displayed.
If the indicator is capable of displaying a text message, then you should reimplement this method to allow this message to be modified.