public class Timer
extends com.jniwrapper.UInt
Modifier and Type | Class and Description |
---|---|
static class |
Timer.Callback |
Constructor and Description |
---|
Timer(Wnd wnd,
long timerID,
long timeout,
Timer.Callback callback) |
Modifier and Type | Method and Description |
---|---|
Timer.Callback |
getCallback() |
long |
getTimeout() |
long |
getTimerID() |
Wnd |
getWnd() |
void |
start()
Starts the timer using
SetTimer API function. |
void |
stop()
Kills the timer using
KillTimer API function. |
acceptIOPerformer, getDataBuffer, getDataBufferOffset, getLength, getValueObject, pop, push, read, setDataBuffer, setValueObject, write
public Timer(Wnd wnd, long timerID, long timeout, Timer.Callback callback)
public Wnd getWnd()
public long getTimerID()
public long getTimeout()
public Timer.Callback getCallback()
public void start()
SetTimer
API function.public void stop()
KillTimer
API function.