Main Page | Packages | Class Tree | Index | Help

xp.util

class Timer

Object
  |
  +--xp.util.Timer


class Timer
extends Object

Simple Timer Object


Author:
ProWin Computers Ltd. - Rob Edgar

Version:
3.0.0.000

See also:


Constructor

public
Timer ( owner, func, interval, param)
Constructor

Method Summary

public
( )
Start timer execution

public
killTimer ( )
Kills the timer

public
onTimerEvent ( )
Callback on each timer event

public
stopTimer ( )
Stop timer executing but does not remove it



Constructor Documentation

Timer

public function Timer(owner,
 func,
 interval,
 param)
Constructor

Parameters:
owner
The owning
func
The function to call
interval
The time inteval
param
params to store can be retrieved on timer event

Method Documentation

public function ()
Start timer execution

killTimer

public function killTimer()
Kills the timer

onTimerEvent

public function onTimerEvent()
Callback on each timer event

stopTimer

public function stopTimer()
Stop timer executing but does not remove it


The documentation was generated from the following file:


Generated on 10/30/2005 9:34:02 PM by AS2Doc