Class actuate.viewer.ParameterValue
Description
The ParameterValue class is a JavaScript version of the com.actuate.schemas.ParameterValue class.
Constructor
Syntax
Constructs a new ParameterValue object.
Function summary
Table 4-44 lists the actuate.viewer.ParameterValue functions.
Table 4-44 actuate.viewer.ParameterValue functions getName( ) setName( )actuate.viewer.ParameterValue.getName
Syntax
Returns
Example
To store the name of a viewer.ParameterValue object in a variable called vPVname, use code similar to the following:
actuate.viewer.ParameterValue.getValue
Syntax
Returns
Object. The value value, a string or array of strings.
Example
To store a ParameterValue’s value in vPVvalue, use the following code:
actuate.viewer.ParameterValue.getValueIsNull
Syntax
Returns the valueIsNull value.
Returns
Boolean. The valueIsNull value.
Example
This example displays an alert with the valueIsNull of the ParameterValue object.
actuate.viewer.ParameterValue.setColumnName
Syntax
Parameters
Example
To set the column name to "Motorcycles", use code similar to the following:
actuate.viewer.ParameterValue.setValue
Syntax
Sets the value. A value can be a string or an array of strings.
Parameters
Object. The value for this ParameterValue object, a string or an array of strings.
Example
To set the value for a ParameterValue to myValues, use the following code:
actuate.viewer.ParameterValue.setValueIsNull
Syntax
Parameters
Boolean. The valueIsNull value.
Example
To set a ParameterValue’s setValueIsNull to true, use the following code:
(c) Copyright Actuate Corporation 2011 |
![]() |