public class IJProgressBarAdapter extends java.lang.Object implements ProgressListener
ProgressReporter
to ImageJ's progress bar.
Example use:
final ProgressReporter r = ...; final IJProgressBarAdapter progressBarAdapter = new IJProgressBarAdapter(); r.addProgressListener(progressBarAdapter); ... r.removeProgressListener(progressBarAdapter);Always remember to remove listeners when processing is done to avoid memory leaks.
Constructor and Description |
---|
IJProgressBarAdapter() |
Modifier and Type | Method and Description |
---|---|
void |
progressNotification(ProgressEvent e)
sent to this listener new progress event.
|
public void progressNotification(ProgressEvent e)
ProgressListener
progressNotification
in interface ProgressListener
e
- event information.