Share via


Overview | Methods | This Package | All Packages

OverviewMethodsThis PackageAll Packages

Timer.addOnTimer

Adds a timer event handler to the Timer control.

Syntax

public final void addOnTimer( EventHandler value )

Parameters

value

The EventHandler to add.

Remarks

The timer event is where you can place code that you want to run at regular intervals. Whenever the Timer control's enabled property is set to true and the interval property is greater than 0, the timer event is triggered at intervals based on the interval property setting.

See Also removeOnTimer