public class ComponentDrawableFilter extends Object implements DataFilter
Constructor and Description |
---|
ComponentDrawableFilter()
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
ComponentDrawableFilter |
clone()
Creates a clone of this filter.
|
DataSource |
getDataSource()
Returns the assigned DataSource for this Target.
|
Object |
getValue(ExpressionRuntime runtime,
ReportElement element)
Returns the ComponentDrawable for the AWT-Component or null.
|
void |
setDataSource(DataSource ds)
Assigns a DataSource for this Target.
|
public Object getValue(ExpressionRuntime runtime, ReportElement element)
getValue
in interface DataSource
runtime
- the expression runtime that is used to evaluate formulas and expressions when computing the value of this
filter.element
- public ComponentDrawableFilter clone() throws CloneNotSupportedException
clone
in interface DataSource
clone
in interface DataTarget
clone
in class Object
CloneNotSupportedException
- if an error occured.public DataSource getDataSource()
getDataSource
in interface DataTarget
public void setDataSource(DataSource ds)
setDataSource
in interface DataTarget
ds
- The data source.