|
||||||||||
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.ComponentDrawableFilter
public class ComponentDrawableFilter
A filter that wraps AWT- and Swing-components into a Drawable implementation.
Constructor Summary | |
---|---|
ComponentDrawableFilter()
Default constructor. |
Method Summary | |
---|---|
Object |
clone()
Creates a clone of this filter. |
DataSource |
getDataSource()
Returns the assigned DataSource for this Target. |
Object |
getValue(ExpressionRuntime runtime,
Element element)
Returns the ComponentDrawable for the AWT-Component or null. |
void |
setDataSource(DataSource ds)
Assigns a DataSource for this Target. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ComponentDrawableFilter()
Method Detail |
---|
public Object getValue(ExpressionRuntime runtime, Element 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 Object 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.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |