|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--org.jfree.report.filter.templates.AbstractTemplate
|
+--org.jfree.report.filter.templates.ResourceFieldTemplate
A resource field template, which reads a String value from a ResourceBundle.
| Constructor Summary | |
ResourceFieldTemplate()
Creates a new template. |
|
| Method Summary | |
java.lang.Object |
clone()
Clones the template. |
protected DataRowDataSource |
getDataRowDataSource()
Returns the datarow data source used in this template. |
java.lang.String |
getField()
Returns the field name. |
java.lang.String |
getNullValue()
Returns the string that represents a null value. |
java.lang.String |
getResourceIdentifier()
Returns the resource class name. |
java.lang.Object |
getValue()
Returns the current value for the data source. |
void |
registerReportDefinition(ReportDefinition reportDefinition)
Connects the connectable to the given report definition. |
void |
setField(java.lang.String field)
Sets the field name. |
void |
setNullValue(java.lang.String nullValue)
Sets the string that represents a null value. |
void |
setResourceIdentifier(java.lang.String resourceClassName)
Sets the resource class name. |
void |
unregisterReportDefinition(ReportDefinition reportDefinition)
Disconnects this ReportConnectable from the report definition. |
| Methods inherited from class org.jfree.report.filter.templates.AbstractTemplate |
getInstance,
getName,
setName |
| Methods inherited from class java.lang.Object |
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
| Constructor Detail |
public ResourceFieldTemplate()
| Method Detail |
public java.lang.String getField()
public void setField(java.lang.String field)
field - the field name.public java.lang.String getResourceIdentifier()
public void setResourceIdentifier(java.lang.String resourceClassName)
throws java.util.MissingResourceException
resourceClassName - the resource class name.public java.lang.String getNullValue()
null value.null value.public void setNullValue(java.lang.String nullValue)
null value.nullValue - the string that represents a null value.public java.lang.Object getValue()
public java.lang.Object clone()
throws java.lang.CloneNotSupportedException
public void registerReportDefinition(ReportDefinition reportDefinition)
reportDefinition - the reportDefinition for this report connectable.public void unregisterReportDefinition(ReportDefinition reportDefinition)
reportDefinition - the ReportDefinition.protected DataRowDataSource getDataRowDataSource()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||