public** void setElementValue (String elementName, Object value) 
throws Exception

This method sets the current value of the report element with the specified name. The element must be an element with a scriptlet attached (text or image). Each element in the report may be given a name in its Properties dialog. If the element’s name is not specified Aware IM generates its own name. If a scriptlet needs to access certain elements in the report it is a good idea to give such elements some meaningful names.

Parameters

elementNamethe name of the element the value of which is set
valuethe value to set – must be either a String if the element is a text element or java.awt.Image if the element is an image.

Throws

An exception if the element with the specified name was not found or there was some other error.

  • Last modified: 2023/05/03 04:55