|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjaitools.jiffle.runtime.AbstractProgressListener
jaitools.jiffle.runtime.NullProgressListener
public class NullProgressListener
A no-action progress listener. All methods are empty and
getUpdateInterval() returns Long.MAX_VALUE so that
the runtime object never bothers calling.
| Field Summary |
|---|
| Fields inherited from class jaitools.jiffle.runtime.AbstractProgressListener |
|---|
taskSize, updateInterval, updateProp |
| Constructor Summary | |
|---|---|
NullProgressListener()
|
|
| Method Summary | |
|---|---|
void |
finish()
Called by the runtime object when the task finishes. |
long |
getUpdateInterval()
Gets the update interval. |
void |
start()
Called by the runtime object when the task starts. |
void |
update(long numPixels)
Called by the runtime object at update intervals as specified by either JiffleProgressListener.setUpdateInterval(long) or JiffleProgressListener.setUpdateInterval(double). |
| Methods inherited from class jaitools.jiffle.runtime.AbstractProgressListener |
|---|
setTaskSize, setUpdateInterval, setUpdateInterval |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public NullProgressListener()
| Method Detail |
|---|
public void start()
JiffleProgressListener
public void update(long numPixels)
JiffleProgressListenerJiffleProgressListener.setUpdateInterval(long) or JiffleProgressListener.setUpdateInterval(double).
It is important to keep the amount of processing done in this method to a minimum.
numPixels - number of pixels processedpublic void finish()
JiffleProgressListener
public long getUpdateInterval()
getUpdateInterval in interface JiffleProgressListenergetUpdateInterval in class AbstractProgressListenerLong.MAX_VALUE which effectively means
"don't bother calling me".
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||