Difference between revisions of "Timer"

From Lianjapedia
Jump to: navigation, search
(Properties)
 
(5 intermediate revisions by 3 users not shown)
Line 3: Line 3:
 
====Properties====
 
====Properties====
  
This class supports the [[:Category:Common_Properties|Common Properties]] plus the following:
+
This class supports the following properties:
  
{| class="wikitable" width=100%
+
{| class="wikitable" width="100%"
 
!width="20%"|Property
 
!width="20%"|Property
 
!Access (R/RW)
 
!Access (R/RW)
 
!Value
 
!Value
 
!width="50%"|Description
 
!width="50%"|Description
|-
 
|Enabled
 
|RW
 
|
 
|
 
 
|-
 
|-
 
|valign="top"|Interval
 
|valign="top"|Interval
Line 25: Line 20:
 
====Methods====
 
====Methods====
  
This class supports the [[:Category:Common_Methods|Common Methods]] plus the following:
+
This class supports the following methods:
  
{| class="wikitable" width=100%
+
{| class="wikitable" width="100%"
 
!width="20%"|Method
 
!width="20%"|Method
 
!Args
 
!Args
Line 35: Line 30:
 
|None
 
|None
 
|Reset the timer
 
|Reset the timer
 +
|-
 +
|Start
 +
|None
 +
|Start the timer
 +
|-
 +
|Stop
 +
|None
 +
|Stop the timer
 
|-
 
|-
 
|}
 
|}
Line 40: Line 43:
 
====Events====
 
====Events====
  
This class supports the [[:Category:Common_Events|Common Events]] plus the following:
+
This class supports the the following events:
  
{| class="wikitable" width=100%
+
{| class="wikitable" width="100%"
 
!width="20%"|Event
 
!width="20%"|Event
 
!Args
 
!Args

Latest revision as of 10:41, 10 April 2019

Note: property, method and event names should be referred to in lowercase in case-sensitive scripting languages.

Properties

This class supports the following properties:

Property Access (R/RW) Value Description
Interval RW Numeric Interval for timer timeout in milliseconds

Methods

This class supports the following methods:

Method Args Description
Reset None Reset the timer
Start None Start the timer
Stop None Stop the timer

Events

This class supports the the following events:

Event Args Description
timer None Occurs on timer timeout