|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectwicket.util.watch.ModificationWatcher
Monitors one or more Modifiable objects, calling a ChangeListener when a given object's modification time changes.
| Constructor Summary | |
ModificationWatcher()
For two-phase construction |
|
ModificationWatcher(Duration pollFrequency)
Constructor |
|
| Method Summary | |
void |
add(IModifiable modifiable,
IChangeListener listener)
Adds a Modifiable object and an IChangeListener to call when the modifiable object is modified. |
void |
start(Duration pollFrequency)
Start watching at a given polling rate |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ModificationWatcher()
public ModificationWatcher(Duration pollFrequency)
pollFrequency - How often to check on modifiables| Method Detail |
public final void add(IModifiable modifiable,
IChangeListener listener)
modifiable - The modifiable thing to monitorlistener - The listener to call if the modifiable is modifiedpublic void start(Duration pollFrequency)
pollFrequency - The poll rate
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||