Squiz Matrix
4.12.2
|
Public Member Functions | |
ProgressBar (int canvasWidth, int canvasHeight) | |
void | show (int currentValue, int finalValue) |
void | show (double percent) |
void | update (Graphics g) |
void | paint (Graphics g) |
Dimension | getPreferredSize () |
This is the progress bar that is displayed in the lower right hand corner of the ImageJ window. Use one of the static IJ.showProgress() methods to display and update the progress bar.
Definition at line 9 of file ProgressBar.java.
|
inline |
This constructor is called once by ImageJ at startup.
Definition at line 27 of file ProgressBar.java.
|
inline |
Updates the progress bar, where the length of the bar is set to (currentValue+1)/finalValue
of the maximum bar length. The bar is erased if currentValue>=finalValue
. Does nothing if the ImageJ window is not present.
Definition at line 55 of file ProgressBar.java.
|
inline |
Updates the progress bar. It is not displayed if the time between the first and second calls to 'show' is less than 30 milliseconds. It is erased when show is passed a percent value >= 1.0.
Definition at line 69 of file ProgressBar.java.