|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.esa.beam.framework.datamodel.ProgressListenerList
public class ProgressListenerList
A utility class for clients interested in the progress made while reading, writing or somehow processing data products.
| Constructor Summary | |
|---|---|
ProgressListenerList()
|
|
| Method Summary | |
|---|---|
void |
addProgressListener(ProgressListener listener)
|
void |
fireProcessEnded(boolean success)
|
boolean |
fireProcessInProgress(int currentProgressValue)
|
boolean |
fireProcessStarted(String processName,
int minProgressValue,
int maxProgressValue)
|
boolean |
isEmpty()
|
void |
processEnded(boolean success)
Don't call this method directly. |
boolean |
processInProgress(int currentProgressValue)
Don't call this method directly. |
boolean |
processStarted(String processDescription,
int minProgressValue,
int maxProgressValue)
Don't call this method directly. |
void |
removeAllProgressListeners()
|
void |
removeProgressListener(ProgressListener listener)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ProgressListenerList()
| Method Detail |
|---|
public boolean processStarted(String processDescription,
int minProgressValue,
int maxProgressValue)
fireProcessStarted(java.lang.String, int, int).
processStarted in interface ProgressListenerprocessDescription - minProgressValue - maxProgressValue -
true if the process is started, otherwise false.public boolean processInProgress(int currentProgressValue)
fireProcessInProgress(int).
processInProgress in interface ProgressListenercurrentProgressValue -
true if the process should be continued, false otherwisepublic void processEnded(boolean success)
fireProcessEnded(boolean).
processEnded in interface ProgressListenersuccess - public void addProgressListener(ProgressListener listener)
public void removeProgressListener(ProgressListener listener)
public void removeAllProgressListeners()
public boolean fireProcessStarted(String processName,
int minProgressValue,
int maxProgressValue)
public boolean fireProcessInProgress(int currentProgressValue)
public void fireProcessEnded(boolean success)
public boolean isEmpty()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||