|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface LoadingProgressListener
Listener to follow and control (cancel) loading progress
Method Summary | |
---|---|
void |
dataLoaded(long startTime,
long endTime,
long currentTime,
String information)
Called on some random periods when new data arrives from curves server |
void |
loadingFinished(boolean allDataLoaded,
long startTime,
long endTime,
long currentTime)
Called when data loading finished for some reason, it can be because all requested data loaded or because of some failure |
boolean |
stopJob()
This method should be called to check if job we doing is still actual for caller. |
Method Detail |
---|
void dataLoaded(long startTime, long endTime, long currentTime, String information)
startTime
- time used as start point to load data, usually specified in loadData methodsendTime
- time used as end point to load data, usually specified in loadData methods or if it'scurrentTime
- last loaded data timeinformation
- information which can be used as details for data loading. Can vary from simple "Loading..." to something more
informative like "Loading data for period from 12.02.2007 to 13.02.2007..."void loadingFinished(boolean allDataLoaded, long startTime, long endTime, long currentTime)
allDataLoaded
- true if all requested data loaded, false if loading finished as a result of failurestartTime
- time used as start point to load data, usually specified in loadData methodsendTime
- time used as end point to load data, usually specified in loadData methods or if it'scurrentTime
- last loaded data timeboolean stopJob()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |