|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Refreshing
A refreshing object is anything that utilizes TimerTasks for
updating. Object that change their internal state and that are not
event-driven are the mainly implementors of this interface.
The refreshing object has to provide a period and a method that should
be called repeatedly. The isFixedRate() method should return true,
if scheduling at fixed rate is needed, otherwise a fixed delay schedule
is assumed. Implementing objects work together with the ObjectRefresh
class.
| Method Summary | |
|---|---|
long |
getRefreshInterval()
Returns the period in milliseconds of the refresh intervall. |
boolean |
isFixedRate()
Returns true if fixed rate scheduling is desired, otherwise fixed delay is assumed. |
void |
refresh()
The method that should be invoked on refresh. |
| Method Detail |
|---|
long getRefreshInterval()
boolean isFixedRate()
Timervoid refresh()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||