-
-
Add/replace CSS class(es) for this control
Name |
Type |
Description |
name |
string
|
CSS class name(s) to add to the control. Separate class names by a space if more than one class. |
replaced |
string
|
optional
CSS class name(s) to be replaced by the first argument. Separate class names by a space if more than one class. |
Example
Button.addClass("green");
-
-
Returns the current number of timer ticks
Returns:
-
-
Gets the timeout value (milliseconds)
Returns:
Type |
Description |
integer
|
timeout Milliseconds until timer ticks |
-
-
Get descriptive string representing the type of control
Returns:
-
-
gets the value of the Repeatable flag
Returns:
-
-
Indicates whether or not the timer is started
Returns:
-
inherited
propagateUpValueChange(event){boolean}
-
Propagates value change of control up through parent views
Name |
Type |
Description |
event |
Event
|
Value change event (usually an onchange event) |
Returns:
Type |
Description |
boolean
|
True if a formula update was triggered on the control's parent, otherwise false |
Example
MyView.propagateUp(event);
-
-
Sets the current number of timer ticks to the specified value or 0 when unspecified
Name |
Type |
Default |
Description |
ticks |
integer
|
0
|
optional
Number of ticks to set |
-
-
Show/hide the label of this view/control
Name |
Type |
Description |
visible |
boolean
|
Label visibility flag (true to show view label, false to hide) |
Example
MyView.setLabelVisible(false);
-
-
sets the Repeatable flag
Name |
Type |
Description |
flag |
boolean
|
{true | false} Set to true to make the timer repeatable |
-
-
Sets the timeout value (milliseconds)
Name |
Type |
Description |
timeout |
integer
|
Milliseconds until timer ticks |
-
-
Starts a timer
-
-
Stops a timer
-
-
Toggles the timer on or off
-
-
Broadcasts the expression trigger for the specified view
Name |
Type |
Default |
Description |
phase |
int
|
bpmext.ui.PHASE_NORMAL
|
optional
The phase we are currently in |
Example
MyView.triggerFormulaUpdates();