An drawable field template. The drawable content will be read from the datarow.
| Method from org.jfree.report.filter.templates.DrawableFieldTemplate Detail: |
public Object clone() throws CloneNotSupportedException {
final DrawableFieldTemplate template = (DrawableFieldTemplate) super.clone();
template.dataRowDataSource = (DataRowDataSource) template.dataRowDataSource.clone();
return template;
}
|
protected DataRowDataSource getDataRowDataSource() {
return dataRowDataSource;
}
Returns the datarow data source used in this template. |
public String getField() {
return dataRowDataSource.getDataSourceColumnName();
}
|
public String getFormula() {
return dataRowDataSource.getFormula();
}
Returns the formula used to compute the value of the data source. |
public Object getValue(ExpressionRuntime runtime,
Element element) {
return dataRowDataSource.getValue(runtime, element);
}
Returns the current value for the data source. |
public void setField(String field) {
dataRowDataSource.setDataSourceColumnName(field);
}
|
public void setFormula(String formula) {
dataRowDataSource.setFormula(formula);
}
Defines the formula used to compute the value of this data source. |