Difference between revisions of "Timer"

From Lianjapedia
Jump to: navigation, search
(Properties)
 
(4 intermediate revisions by 2 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)
Line 20: 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 30: Line 30:
 
|None
 
|None
 
|Reset the timer
 
|Reset the timer
 +
|-
 +
|Start
 +
|None
 +
|Start the timer
 +
|-
 +
|Stop
 +
|None
 +
|Stop the timer
 
|-
 
|-
 
|}
 
|}
Line 35: 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 11: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