|
||||||||||
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.DrawableURLFieldTemplate
public class DrawableURLFieldTemplate
An image URL field template, which reads the image from an URL supplied from a column in the DataRow.
Constructor Summary | |
---|---|
DrawableURLFieldTemplate()
Creates a new template. |
Method Summary | |
---|---|
Object |
clone()
Clones the template. |
URL |
getBaseURL()
Returns the base URL. |
String |
getField()
Returns the name of the field from the data-row that the template gets images from. |
String |
getFormula()
Returns the formula used to compute the value of the data source. |
Object |
getValue(ExpressionRuntime runtime,
Element element)
Returns the current value for the data source. |
void |
setBaseURL(URL baseURL)
Sets the base URL. |
void |
setField(String field)
Sets the field name. |
void |
setFormula(String formula)
Defines the formula used to compute the value of this data source. |
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 DrawableURLFieldTemplate()
Method Detail |
---|
public String getField()
public void setField(String field)
field
- the field name.public String getFormula()
public void setFormula(String formula)
formula
- the formula for the data source.public URL getBaseURL()
public void setBaseURL(URL baseURL)
baseURL
- the base URL.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 |