public class UITimer extends Object
Modifier | Constructor and Description |
---|---|
protected |
UITimer()
This constructor is useful when deriving this class to implement a timer.
|
|
UITimer(Runnable r)
Constructor that accepts a runnable to invoke on timer elapse
|
protected UITimer()
public UITimer(Runnable r)
r
- runnable instancepublic void schedule(int timeMillis, boolean repeat, Form bound)
timeMillis
- the time from now in millisecondsrepeat
- whether the timer repeatsbound
- the form to which the timer is boundpublic void cancel()