public class FileProgressMonitor extends Object
| Constructor and Description |
|---|
FileProgressMonitor(JProgressBar fileProgressBar,
int max)
Constructs a graphic object that shows progress, typically by filling in
a rectangular bar as the process nears completion.
|
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Indicate that the operation is complete.
|
int |
getMaximum()
Returns the maximum value - the higher end of the progress value.
|
void |
setMaximum(int m)
Specifies the maximum value.
|
void |
setProgress(int newValue)
Indicate the progress of the operation being monitored.
|
public FileProgressMonitor(JProgressBar fileProgressBar, int max)
fileProgressBar - the JProgressBar to monitormax - the upper bound of the rangepublic void setProgress(int newValue)
newValue - the value specifying the current value, between the maximum
and minimum specified for this componentpublic void close()
public int getMaximum()
setMaximum(int)public void setMaximum(int m)
m - an int specifying the maximum valuegetMaximum()Copyright © 2016 Leibniz Institute of Plant Genetics and Crop Plant Research (IPK). All rights reserved.