IlsTimer
 
IlsTimer
Category 
Rogue Wave Views Script class (server side)
Description 
This class is the JavaScriptTM proxy of an IlsTimer.
Synopsis 
Constructor
IlsTimer
Properties
id
sec
msec
runOnce
running
timerProcName
timerProcArg
Methods
start()
stop()
API 
Constructor
IlsTimer(id, sec, mvsec, timerProcName, timerProcArg)
This constructor builds a new timer named id, with a period of sec seconds and msec milliseconds, which will trigger the JavaScript function named timerProcName. The callback function receives the timer as its argument and the timerProcArg parameter.
Properties
id
This property returns the name used to initialize the timer.
sec
This property gives the period of the timer in seconds.
msec
This property gives the period of the timer in milliseconds.
runOnce
This property is true when the timer is planned to be run only once orfalse if the timer should be triggered more than once. The default value is true.
running
This is a read-only property. It is true when the timer is currently running.
timerProcName
This property is the name of the script procedure that must be called when the timer is fired.
timerProcArg
This property is the extra argument which is passed to timerProc when the timer is fired.
Methods
start()
This method triggers the timer.
stop()
This method stops the running timer.

Version 5.8
Copyright © 2014, Rogue Wave Software, Inc. All Rights Reserved.