| |
|
| java.lang.Object org.jfree.report.function.AbstractExpression org.jfree.report.function.strings.ResourceBundleLookupExpression
ResourceBundleLookupExpression | public class ResourceBundleLookupExpression extends AbstractExpression (Code) | | Performs a resource-bundle lookup using the value read from the defined field as key in the resource-bundle. This
expression behaves like the Resource-field.
author: Thomas Morgner |
Method Summary | |
public String | getField() Returns the name of the datarow-column from where to read the resourcebundle key value. | public String | getResourceIdentifier() Returns the name of the resource-bundle. | public Object | getValue() Returns the current value for the data source. | public void | setField(String field) Defines the name of the datarow-column from where to read the resourcebundle key value. | public void | setResourceIdentifier(String resourceIdentifier) Defines name of the resource-bundle. |
ResourceBundleLookupExpression | public ResourceBundleLookupExpression()(Code) | | Default Constructor.
|
getField | public String getField()(Code) | | Returns the name of the datarow-column from where to read the resourcebundle key value.
the field. |
getResourceIdentifier | public String getResourceIdentifier()(Code) | | Returns the name of the resource-bundle. If none is defined here, the default resource-bundle is used instead.
the resource-bundle identifier. |
getValue | public Object getValue()(Code) | | Returns the current value for the data source.
the value. |
setField | public void setField(String field)(Code) | | Defines the name of the datarow-column from where to read the resourcebundle key value.
Parameters: field - the field. |
setResourceIdentifier | public void setResourceIdentifier(String resourceIdentifier)(Code) | | Defines name of the resource-bundle. If none is defined here, the default resource-bundle is used instead.
Parameters: resourceIdentifier - the resource-bundle identifier. |
|
|
|