Example usage for Java javax.swing ProgressMonitor fields, constructors, methods, implement or subclass
The text is from its open source code.
ProgressMonitor(Component parentComponent, Object message, String note, int min, int max) Constructs a graphic object that shows progress, typically by filling in a rectangular bar as the process nears completion. |
void | close() Indicate that the operation is complete. |
int | getMaximum() Returns the maximum value -- the higher end of the progress value. |
int | getMillisToDecideToPopup() Returns the amount of time this object waits before deciding whether or not to popup a progress monitor. |
int | getMillisToPopup() Returns the amount of time it will take for the popup to appear. |
int | getMinimum() Returns the minimum value -- the lower end of the progress value. |
boolean | isCanceled() Returns true if the user hits the Cancel button or closes the progress dialog. |
void | setMaximum(int m) Specifies the maximum value. |
void | setMillisToDecideToPopup(int millisToDecideToPopup) Specifies the amount of time to wait before deciding whether or not to popup a progress monitor. |
void | setMillisToPopup(int millisToPopup) Specifies the amount of time it will take for the popup to appear. |
void | setMinimum(int m) Specifies the minimum value. |
void | setNote(String note) Specifies the additional note that is displayed along with the progress message. |
void | setProgress(int nv) Indicate the progress of the operation being monitored. |