Class WLoadingIndicator

Direct Known Subclasses:
WDefaultLoadingIndicator, WOverlayLoadingIndicator

public abstract class WLoadingIndicator extends WCompositeWidget
An abstract interface for a loading indicator.

The loading indicator displays a message while a response from the server is pending.

The widget will be shown and hidden using WWidget.show() and WWidget.hide(). If you want to customize this behaviour, you should reimplement the WWidget#setHidden() method.

See Also:
  • Constructor Details

    • WLoadingIndicator

      public WLoadingIndicator()
  • Method Details

    • remove

      public void remove()
      Destructor.

      The destructor must delete the widget().

      Overrides:
      remove in class WCompositeWidget
      See Also:
    • setMessage

      public abstract void setMessage(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.