public class Progress
extends java.lang.Object
Constructor and Description |
---|
Progress(java.lang.String title)
The constructor displays the progress dialog.
|
Modifier and Type | Method and Description |
---|---|
void |
close()
Method to terminate the progress dialog.
|
java.lang.String |
getNote()
Method to return the text message in the progress dialog.
|
int |
getProgress()
Method to return the progress amount.
|
void |
setNote(java.lang.String note)
Method to set a text message in the progress dialog.
|
void |
setProgress(int progress)
Method to set the progress amount.
|
public Progress(java.lang.String title)
title
- the title of the dialog.public void close()
public void setProgress(int progress)
progress
- the amount of progress (from 0 to 100);public int getProgress()
public void setNote(java.lang.String note)
note
- the message to display.public java.lang.String getNote()