|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.crystaldecisions.reports.sdk.ParameterFieldController
This object is used to add, remove, and modify parameter fields in a report.
Tip: To access the ParameterFieldController
object, use the
getParameterFieldController
method in the DataDefController
object.
Method Summary | |
void |
setCurrentValue(java.lang.String sReportName,
java.lang.String sFieldName,
double newValue)
Sets a single value for the parameter field. |
void |
setCurrentValue(java.lang.String sReportName,
java.lang.String sFieldName,
java.lang.Object newValue)
Sets a single value for the parameter field. |
void |
setCurrentValues(java.lang.String sReportName,
java.lang.String sFieldName,
java.lang.Object[] newValue)
Sets the current values for the parameter field. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public void setCurrentValues(java.lang.String sReportName, java.lang.String sFieldName, java.lang.Object[] newValue) throws ReportSDKException
Sets the current values for the parameter field.
sReportName
- the report that contains the specified parameter field.sFieldName
- the parameter field name.newValue
- the collection of values to be stored in the parameter field.
ReportSDKException
public void setCurrentValue(java.lang.String sReportName, java.lang.String sFieldName, double newValue) throws ReportSDKException
Sets a single value for the parameter field.
Note: The sReportName
parameter refers to the name of the subreport.
To set the parameters in the main report, use an empty string as the sReportName
parameter.
sReportName
- the report that contains the specified parameter field.sFieldName
- the parameter field name.newValue
- the value that you want to store in the parameter field.
ReportSDKException
public void setCurrentValue(java.lang.String sReportName, java.lang.String sFieldName, java.lang.Object newValue) throws ReportSDKException
Sets a single value for the parameter field.
Note: The sReportName
parameter refers to the name of the subreport.
To set the parameters in the main report, use an empty string as the sReportName
parameter.
sReportName
- the report that contains the specified parameter field.sFieldName
- the parameter field name.newValue
- the object that you want to store in the parameter field.
ReportSDKException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |