public class TimeViewUpdater
extends java.lang.Object
implements java.lang.Runnable
Constructor and Description |
---|
TimeViewUpdater(MapView mapView,
long interval) |
Modifier and Type | Method and Description |
---|---|
void |
register(TimeListener listener)
Register a listener to the updater
If the delay loop isn't running then it will begin once this
listener is added
|
void |
run()
Time interval has elapsed
|
void |
unregister(TimeListener listener)
Unregister a listener from the updater
|
public TimeViewUpdater(MapView mapView, long interval)
public void register(TimeListener listener)
listener
- Time listenerpublic void unregister(TimeListener listener)
listener
- Time listenerpublic void run()
run
in interface java.lang.Runnable