com.jniwrapper.win32.ui
Class Timer

java.lang.Object
  extended bycom.jniwrapper.Parameter
      extended bycom.jniwrapper.DelegatingParameter
          extended bycom.jniwrapper.ax
              extended bycom.jniwrapper.UInt
                  extended bycom.jniwrapper.win32.ui.Timer
All Implemented Interfaces:
com.jniwrapper.IntegerParameter

public class Timer
extends com.jniwrapper.UInt

System timer that executes a callback after a specified timeout value elapsed.


Nested Class Summary
static class Timer.Callback
           
 
Field Summary
 
Fields inherited from class com.jniwrapper.Parameter
LICENSE_TYPE, V
 
Constructor Summary
Timer(Wnd wnd, long timerID, long timeout, Timer.Callback callback)
           
 
Method Summary
 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.
 
Methods inherited from class com.jniwrapper.UInt
clone
 
Methods inherited from class com.jniwrapper.ax
b, equals, getDebugInfo, getValue, hashCode, setValue, toLong, toString
 
Methods inherited from class com.jniwrapper.DelegatingParameter
a, acceptIOPerformer, b, getDataBuffer, getDataBufferOffset, getLength, getValueObject, pop, push, read, setDataBuffer, setValueObject, write
 
Methods inherited from class com.jniwrapper.Parameter
, a, asReturnValue, dataBufferAssigned, getAlignedLength, getAlignmentRequirement, indent, read, read, toByteArray, write
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Timer

public Timer(Wnd wnd,
             long timerID,
             long timeout,
             Timer.Callback callback)
Method Detail

getWnd

public Wnd getWnd()

getTimerID

public long getTimerID()

getTimeout

public long getTimeout()

getCallback

public Timer.Callback getCallback()

start

public void start()
Starts the timer using SetTimer API function.


stop

public void stop()
Kills the timer using KillTimer API function.