public class ProgressListenerList extends Object implements ProgressListener
Constructor and Description |
---|
ProgressListenerList() |
Modifier and Type | Method and Description |
---|---|
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) |
public boolean processStarted(String processDescription, int minProgressValue, int maxProgressValue)
fireProcessStarted(java.lang.String, int, int)
.processStarted
in interface ProgressListener
processDescription
- minProgressValue
- maxProgressValue
- true
if the process is started, otherwise false
.public boolean processInProgress(int currentProgressValue)
fireProcessInProgress(int)
.processInProgress
in interface ProgressListener
currentProgressValue
- true
if the process should be continued, false
otherwisepublic void processEnded(boolean success)
fireProcessEnded(boolean)
.processEnded
in interface ProgressListener
success
- 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()
Copyright © 2014–2017 European Space Agency (ESA). All rights reserved.