|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgecco.client.dialogs.LoadingInfo
This class supplies a modal dialog box that indicates that something is loading. There is a progress bar, that is to be updated as the loading progresses. At most one loading dialog box should be open at any given time.
Method Summary | |
static void |
display(String msg,
Frame owner)
Displays a new dialog with the given message. |
static void |
hide()
Hides the dialog. |
static void |
update(double progress)
Update the progress bar. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public static void display(String msg, Frame owner)
msg
- The message to display. If the message should be formatted
in a way different from a one line standard JLabel, use html-format
of the text.owner
- The frame that owns the modal error dialog.public static void update(double progress)
progress
- A number between 0 and 1, indicating how much of the
task that has been completed (0 = nothing, 1 = all).public static void hide()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |