|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.jrefinery.report.filter.templates.AbstractTemplate
com.jrefinery.report.filter.templates.LabelTemplate
A label template can be used to describe static text content.
| Constructor Summary | |
LabelTemplate()
Creates a new label template. |
|
| Method Summary | |
java.lang.Object |
clone()
Clones the template. |
java.lang.String |
getContent()
Returns the text for the label. |
java.lang.String |
getNullValue()
Returns the string that represents null. |
java.lang.Object |
getValue()
Returns the current value for the data source. |
void |
setContent(java.lang.String content)
Sets the text for the label. |
void |
setNullValue(java.lang.String nullValue)
Sets the string that represents null. |
| Methods inherited from class com.jrefinery.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 LabelTemplate()
| Method Detail |
public void setContent(java.lang.String content)
content - the text.public java.lang.String getContent()
public java.lang.String getNullValue()
null.
null.public void setNullValue(java.lang.String nullValue)
null.
nullValue - the string.public java.lang.Object getValue()
public java.lang.Object clone()
throws java.lang.CloneNotSupportedException
clone in interface DataSourceclone in class AbstractTemplatejava.lang.CloneNotSupportedException - this should never happen.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||