Difference between revisions of "Timer"

From Lianjapedia
Jump to: navigation, search
(Properties)
 
(12 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 +
Note: property, method and event names should be referred to in lowercase in case-sensitive scripting languages.
 +
 
====Properties====
 
====Properties====
  
This class supports the '''Common properties''' plus the following:
+
This class supports the following properties:
  
{| class="wikitable"
+
{| class="wikitable" width="100%"
 
!width="20%"|Property
 
!width="20%"|Property
 
!Access (R/RW)
 
!Access (R/RW)
Line 9: Line 11:
 
!width="50%"|Description
 
!width="50%"|Description
 
|-
 
|-
|Enabled
+
|valign="top"|Interval
|RW
+
|valign="top"|RW
|
+
|valign="top"|Numeric
|
+
|valign="top"|Interval for timer timeout in milliseconds
|-
+
|Interval
+
|RW
+
|
+
|
+
 
|-
 
|-
 
|}
 
|}
Line 23: Line 20:
 
====Methods====
 
====Methods====
  
This class supports the '''Common methods''' plus the following:
+
This class supports the following methods:
  
{| class="wikitable"
+
{| class="wikitable" width="100%"
 
!width="20%"|Method
 
!width="20%"|Method
 
!Args
 
!Args
Line 31: Line 28:
 
|-
 
|-
 
|Reset
 
|Reset
|
+
|None
|
+
|Reset the timer
 +
|-
 +
|Start
 +
|None
 +
|Start the timer
 +
|-
 +
|Stop
 +
|None
 +
|Stop the timer
 
|-
 
|-
 
|}
 
|}
Line 38: Line 43:
 
====Events====
 
====Events====
  
This class supports the '''Common events''' plus the following:
+
This class supports the the following events:
  
{| class="wikitable"
+
{| class="wikitable" width="100%"
 
!width="20%"|Event
 
!width="20%"|Event
 
!Args
 
!Args
 
!width="50%"|Description
 
!width="50%"|Description
 
+
|-
 +
|timer
 +
|None
 +
|Occurs on timer timeout
 +
|-
 
|}
 
|}
 +
 +
[[Category:Documentation]]
 +
[[Category:Framework Classes]]

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