| |
|
| java.lang.Object org.jfree.report.filter.ComponentDrawableFilter
ComponentDrawableFilter | public class ComponentDrawableFilter implements DataFilter(Code) | | A filter that wraps AWT- and Swing-components into a Drawable implementation.
author: Thomas Morgner |
Method Summary | |
public Object | clone() Creates a clone of this filter. | public DataSource | getDataSource() Returns the assigned DataSource for this Target. | public Object | getValue(ExpressionRuntime runtime) Returns the ComponentDrawable for the AWT-Component or null.
Parameters: runtime - the expression runtime that is used to evaluate formulas and expressions when computing the value ofthis filter. | protected static boolean | isHeadless() A helper method that queries the configuration (and therefore also the system properties) for whether the
system is in headless mode. | public void | setDataSource(DataSource ds) Assigns a DataSource for this Target. |
ComponentDrawableFilter | public ComponentDrawableFilter()(Code) | | Default constructor.
|
getDataSource | public DataSource getDataSource()(Code) | | Returns the assigned DataSource for this Target.
The datasource. |
getValue | public Object getValue(ExpressionRuntime runtime)(Code) | | Returns the ComponentDrawable for the AWT-Component or null.
Parameters: runtime - the expression runtime that is used to evaluate formulas and expressions when computing the value ofthis filter. the value. |
isHeadless | protected static boolean isHeadless()(Code) | | A helper method that queries the configuration (and therefore also the system properties) for whether the
system is in headless mode.
true, if the system is headless, false otherwise. |
setDataSource | public void setDataSource(DataSource ds)(Code) | | Assigns a DataSource for this Target.
Parameters: ds - The data source. |
|
|
|