|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.xinapse.util.IndeterminateProgressMonitor
public final class IndeterminateProgressMonitor
A JDialog for showing progress through an operation that will take an indeterminate number of steps, or an unknown time to complete.
| Constructor Summary | |
|---|---|
IndeterminateProgressMonitor(java.awt.Component parentComponent,
java.lang.Object message,
java.lang.String title)
Constructs a JDialog that shows progress that will take place over an indeterminate time, typically by making a rectangular bar oscillate from side to side. |
|
| Method Summary | |
|---|---|
void |
close()
Indicate that the operation is complete. |
boolean |
isCanceled()
Returns true if the user hits the Cancel button in the progress dialog. |
void |
setMessage(java.lang.Object message)
Sets the message shown. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public IndeterminateProgressMonitor(java.awt.Component parentComponent,
java.lang.Object message,
java.lang.String title)
parentComponent - the parent component for the dialog boxmessage - a descriptive message that will be shown
to the user to indicate what operation is being monitored.
This does not change as the operation progresses.title - the title shown in the JDialog.| Method Detail |
|---|
public void setMessage(java.lang.Object message)
message - the message to show in the dialog.public void close()
public boolean isCanceled()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||