|
|||||||||
| 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.MessageFieldTemplate
The message field template simplifies the on-the-fly creation of strings.
MessageFormatSupport, Serialized Form| Constructor Summary | |
MessageFieldTemplate()
Creates a new string field template. |
|
| Method Summary | |
java.lang.Object |
clone()
Clones the template. |
java.lang.String |
getFormat()
Returns the format string used in the message format filter. |
java.lang.String |
getNullValue()
Returns the value displayed by the field when the data source value is null. |
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 |
setFormat(java.lang.String format)
Redefines the format string for the message format. |
void |
setNullValue(java.lang.String nullValue)
Sets the value displayed by the field when the data source value is null. |
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 MessageFieldTemplate()
| Method Detail |
public java.lang.String getFormat()
public void setFormat(java.lang.String format)
format - the new format string.public java.lang.String getNullValue()
null.null.public void setNullValue(java.lang.String nullValue)
null.nullValue - the value that represents null.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.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||