new ExitSafeguard()
This constructor is never used explicitly.
Extends
Members
Methods
-
inherited addClass(name, replaced)
-
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");
-
getChallengeMessage(){string}
-
Gets the message that will be displayed when challenging an exit
Returns:
Type Description string -
getType(){string}
-
Get descriptive string representing the type of control/section
Returns:
Type Description string -
inherited isBound(){boolean}
-
Indicates bound status of control.
Returns:
Type Description boolean True if the control is bound to coach data. -
inherited isEnabled(){boolean}
-
Checks if the view is enabled or not
Returns:
Type Description boolean Enabled status Example
var enabled = MyView.isEnabled();
-
isExitChallenged(){boolean}
-
Return whether or not exit is challenged by default
Returns:
Type Description boolean -
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);
-
setChallengeMessage(msg)
-
Sets the message that will be displayed when challenging an exit
Name Type Description msg
string Message to be displayed -
setExitChallenged(flag)
-
Set whether or not an exit is challenged by default
Name Type Description flag
boolean Set to true to challenge exit by default -
inherited triggerFormulaUpdates(phase)
-
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();