GWTApplication.client
Class BusyIndicator

java.lang.Object
  extended by GWTApplication.client.BusyIndicator

public class BusyIndicator
extends java.lang.Object

This class will be used to display a red banner in the top right of the window to indicate to the user that the application is busy doing something.

Version:
$Id: BusyIndicator.java,v 1.2 2007/08/17 14:21:56 cb Exp $
Author:
Craige Bevil

Field Summary
(package private)  com.google.gwt.user.client.ui.Label busyLabel
          This is the label which is used to display the message
private  com.google.gwt.user.client.ui.PopupPanel busyPanel
          This is the popup panel which will be used to indicate to the user that we are busy.
private  InternationalizationConstants internationalizationConstants
          This class will be used for internationalization so that we can flick between the locales of English and Spanish.
 
Constructor Summary
BusyIndicator()
          Constructor
 
Method Summary
(package private)  void showBusy(boolean showBusy)
          This is used to show that we are busy or not.
(package private)  void showBusy(boolean showBusy, java.lang.String message)
          This is used to show that we are busy or not.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

busyPanel

private final com.google.gwt.user.client.ui.PopupPanel busyPanel
This is the popup panel which will be used to indicate to the user that we are busy. We make the dialog modal with no autohide.


internationalizationConstants

private InternationalizationConstants internationalizationConstants
This class will be used for internationalization so that we can flick between the locales of English and Spanish.


busyLabel

final com.google.gwt.user.client.ui.Label busyLabel
This is the label which is used to display the message

Constructor Detail

BusyIndicator

BusyIndicator()
Constructor

Method Detail

showBusy

void showBusy(boolean showBusy)
This is used to show that we are busy or not. It pops up a red box in the top right of the display indicating that we are currently busy doing something.

Parameters:
showBusy - True if we are to display a red box indicating that we are doing something.

showBusy

void showBusy(boolean showBusy,
              java.lang.String message)
This is used to show that we are busy or not. It pops up a red box in the top right of the display indicating that we are currently busy doing something.

Parameters:
showBusy - True if we are to display a red box indicating that we are doing something.
message - Message to be displayed