|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Monitor a changing state on an object.
Usual states are : 1 - loading, 2 - initialising
Method Summary | |
void |
progress(java.lang.Object obj,
int state,
int p)
Periodicaly called while processing (eg.: periodicaly called while loading) This method will be called to inform interested object about object state progress |
void |
terminate(java.lang.Object o,
int state)
Called when object reach a new state This method will be called when an object reach a new state |
Method Detail |
public void progress(java.lang.Object obj, int state, int p)
This method will be called to inform interested object about object state progress
obj
- object for wich state progress is givenstate
- object state for wich progress is given (eg: 1 could mean loading and 2 could mean initialising)p
- current state progress expressed in percent (0-100)public void terminate(java.lang.Object o, int state)
This method will be called when an object reach a new state
state
- object state reached (eg: 1 could mean loaded and 2 could mean initialised)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |