|
Component Prototype |
Description |
|||
|
Timer Component
|
The timer is an adjustable component that counts the time. The component represents a kind of stop watch by which intervals of time can be measured; a kind of stop watch. It can be used for secuenial presentations in storyboard or just to keep the time since the applications started. The component provide anytime the value of the timer. The mode can be configured to show the value in seconds, minutes or hours. When an end value is specified as endValue property, end is set to true, when the end value is reached. |
|||
|
In-slots |
Name |
Type |
Description |
|
|
start |
boolean |
Starts the timer count. |
||
|
pause |
boolean |
Pauses the timer count. |
||
|
reset |
boolean |
Reset the timer count to 0. |
||
|
Out-slots |
Name |
Type |
Description |
|
|
out |
double |
The value of the timer count |
||
|
end |
boolean |
True when the count reaches the endValue |
||
|
Properties |
Name |
Type |
Description |
|
|
iconFileName* |
string |
The filename of the icon shown for the component in the authoring environment. |
||
|
mode |
int |
mode=0, the returned value in seconds (by default) mode=1, the returned value in minutes mode=2, the returned value in hours |
||
|
endValue |
double |
End value for the timer count |
||

Figure 1 Timer Component Status Diagram