|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.pentaho.reporting.engine.classic.core.elementfactory.ElementFactory
org.pentaho.reporting.engine.classic.core.elementfactory.AbstractContentElementFactory
org.pentaho.reporting.engine.classic.core.elementfactory.ContentFieldElementFactory
public class ContentFieldElementFactory
The drawable field element factory can be used to create elements that display Drawable elements.
| Constructor Summary | |
|---|---|
ContentFieldElementFactory()
DefaultConstructor. |
|
| Method Summary | |
|---|---|
Element |
createElement()
Creates a new drawable field element based on the defined properties. |
URL |
getBaseURL()
Returns the base url. |
String |
getFieldname()
Returns the field name from where to read the content of the element. |
String |
getFormula()
Returns the formula that should be used to compute the value of the field. |
Object |
getNullValue()
|
void |
setBaseURL(URL baseURL)
Defines a BaseURL for the new element. |
void |
setFieldname(String fieldname)
Defines the field name from where to read the content of the element. |
void |
setFormula(String formula)
Assigns a formula to the element to compute the value for this element. |
void |
setNullValue(Object nullValue)
|
| Methods inherited from class org.pentaho.reporting.engine.classic.core.elementfactory.AbstractContentElementFactory |
|---|
getFillColor, getKeepAspectRatio, getScale, getShouldDraw, getShouldFill, getStroke, setFillColor, setKeepAspectRatio, setScale, setShouldDraw, setShouldFill, setStroke |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ContentFieldElementFactory()
| Method Detail |
|---|
public String getFieldname()
public void setFieldname(String fieldname)
fieldname - the field name.public String getFormula()
public URL getBaseURL()
public void setBaseURL(URL baseURL)
baseURL - the base URL.public void setFormula(String formula)
formula - the formula as a string.public Object getNullValue()
public void setNullValue(Object nullValue)
public Element createElement()
createElement in class ElementFactoryIllegalStateException - if the field name is not set.ElementFactory.createElement()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||