Difference between revisions of "Timer"
From Lianjapedia
Barrymavin (Talk | contribs) (Created page with '====Properties==== This class supports the '''Common properties''' plus the following: {| class="wikitable" !width="20%"|Property !Access (R/RW) !Value !width="50%"|Description…') |
Barrymavin (Talk | contribs) (→Properties) |
||
(13 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 | + | 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 | ||
|- | |- | ||
− | + | |valign="top"|Interval | |
+ | |valign="top"|RW | ||
+ | |valign="top"|Numeric | ||
+ | |valign="top"|Interval for timer timeout in milliseconds | ||
+ | |- | ||
|} | |} | ||
====Methods==== | ====Methods==== | ||
− | This class supports | + | This class supports the following methods: |
− | {| class="wikitable" | + | {| class="wikitable" width="100%" |
!width="20%"|Method | !width="20%"|Method | ||
!Args | !Args | ||
!width="50%"|Description | !width="50%"|Description | ||
− | + | |- | |
+ | |Reset | ||
+ | |None | ||
+ | |Reset the timer | ||
+ | |- | ||
+ | |Start | ||
+ | |None | ||
+ | |Start the timer | ||
+ | |- | ||
+ | |Stop | ||
+ | |None | ||
+ | |Stop the timer | ||
+ | |- | ||
|} | |} | ||
====Events==== | ====Events==== | ||
− | This class supports the | + | 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 |