com.jniwrapper.win32.ui
Class Timer

java.lang.Object
  extended by com.jniwrapper.Parameter
      extended by com.jniwrapper.DelegatingParameter
          extended by com.jniwrapper.bf
              extended by com.jniwrapper.UInt
                  extended by com.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.bf
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.