public class PaintComponentFunction extends AbstractFunction
Constructor and Description |
---|
PaintComponentFunction()
Deprecated.
DefaultConstructor.
|
Modifier and Type | Method and Description |
---|---|
String |
getElement()
Deprecated.
Returns the element used by the function.
|
String |
getField()
Deprecated.
Returns the field used by the function.
|
Expression |
getInstance()
Deprecated.
Return a completly separated copy of this function.
|
float |
getScale()
Deprecated.
Gets the scale factor for the created image.
|
Object |
getValue()
Deprecated.
Return the current expression value.
|
protected static boolean |
isHeadless()
Deprecated.
Tests, whether the report generation is executed in an headless environment.
|
void |
setElement(String field)
Deprecated.
Sets the element name for the function.
|
void |
setField(String field)
Deprecated.
Sets the field name for the function.
|
void |
setScale(float scale)
Deprecated.
Define a scale factor for the created image.
|
groupFinished, groupStarted, itemsAdvanced, itemsFinished, itemsStarted, reportDone, reportFinished, reportInitialized, reportStarted, summaryRowSelection
clone, getDataRow, getDependencyLevel, getName, getReportConfiguration, getResourceBundleFactory, getRuntime, isActive, isDeepTraversing, isPreserve, setActive, setDependencyLevel, setName, setPreserve, setRuntime
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
clone, getDataRow, getDependencyLevel, getName, getReportConfiguration, getResourceBundleFactory, getRuntime, isActive, isDeepTraversing, isPreserve, setDependencyLevel, setName, setRuntime
public PaintComponentFunction()
public String getElement()
The element name corresponds to a element in the report. The element name must be unique, as the first occurence of the element is used.
public void setElement(String field)
The element name corresponds to a element in the report. The element name must be unique, as the first occurence of the element is used.
field
- the field name (null not permitted).public String getField()
public void setField(String field)
field
- the field name.protected static boolean isHeadless()
public Object getValue()
The value depends (obviously) on the expression implementation.
public void setScale(float scale)
scale
- the scale factor.public float getScale()
public Expression getInstance()
getInstance
in interface Expression
getInstance
in class AbstractExpression
Copyright © 2002–2017 Pentaho Corporation. All rights reserved.