public class ProgressDialog
extends java.lang.Object
Constructor and Description |
---|
ProgressDialog(ResultsViewer parentFrame,
java.lang.String title,
java.lang.String progressLabel)
Constructor of progress dialog.
|
Modifier and Type | Method and Description |
---|---|
void |
addValue(int value)
Method to increment progress bar.
|
void |
end()
Method to finish progress dialog.
|
javax.swing.JDialog |
getDlg()
Method to get dialog.
|
javax.swing.JProgressBar |
getDpb()
Method to get progress bar.
|
int |
getValue()
Method to get value of progress bar.
|
void |
setValue(int value)
Method to set progress bar to a specified value.
|
void |
start()
Method to initialize progress bar (value 0).
|
public ProgressDialog(ResultsViewer parentFrame, java.lang.String title, java.lang.String progressLabel)
parentFrame
- Parental ResultsViewer windowtitle
- Title stringprogressLabel
- Progress labelpublic void start()
public void end()
public void addValue(int value)
value
- Increment valuepublic void setValue(int value)
value
- New valuepublic int getValue()
public javax.swing.JDialog getDlg()
public javax.swing.JProgressBar getDpb()