|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.pentaho.reporting.engine.classic.core.filter.templates.AbstractTemplate
org.pentaho.reporting.engine.classic.core.filter.templates.LabelTemplate
public class LabelTemplate
A label template can be used to describe static text content.
Constructor Summary | |
---|---|
LabelTemplate()
Creates a new label template. |
Method Summary | |
---|---|
Object |
clone()
Clones the template. |
String |
getContent()
Returns the text for the label. |
String |
getNullValue()
Returns the string that represents null . |
Object |
getValue(ExpressionRuntime runtime,
Element element)
Returns the current value for the data source. |
void |
setContent(String content)
Sets the text for the label. |
void |
setNullValue(String nullValue)
Sets the string that represents null . |
Methods inherited from class org.pentaho.reporting.engine.classic.core.filter.templates.AbstractTemplate |
---|
getInstance, getName, setName |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LabelTemplate()
Method Detail |
---|
public void setContent(String content)
content
- the text.public String getContent()
public String getNullValue()
null
.
null
.public void setNullValue(String nullValue)
null
.
nullValue
- the string.public Object getValue(ExpressionRuntime runtime, Element element)
runtime
- the expression runtime that is used to evaluate formulas and expressions when computing the value of
this filter.element
-
public Object clone() throws CloneNotSupportedException
clone
in interface DataSource
clone
in class AbstractTemplate
CloneNotSupportedException
- this should never happen.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |