| |
|
| java.lang.Object org.jfree.report.filter.StaticDataSource
StaticDataSource | public class StaticDataSource implements DataSource(Code) | | A data source that returns a constant value. An example is a label on a report.
author: Thomas Morgner |
Method Summary | |
public Object | clone() Clones the data source, although the enclosed 'static' value is not cloned. | public Object | getValue() Returns the value set in this datasource. | public Object | getValue(ExpressionRuntime runtime) Returns the value of the data source.
Parameters: runtime - the expression runtime that is used to evaluate formulas and expressions when computing the value ofthis filter. | public void | setValue(Object o) Sets the value of the data source. |
StaticDataSource | public StaticDataSource()(Code) | | Default constructor.
|
StaticDataSource | public StaticDataSource(Object o)(Code) | | Constructs a new static data source.
Parameters: o - The value. |
getValue | public Object getValue()(Code) | | Returns the value set in this datasource. This method exists to make the value-property beanified.
the value. |
getValue | public Object getValue(ExpressionRuntime runtime)(Code) | | Returns the value of the data source.
Parameters: runtime - the expression runtime that is used to evaluate formulas and expressions when computing the value ofthis filter. The value. |
setValue | public void setValue(Object o)(Code) | | Sets the value of the data source.
Parameters: o - The value. |
|
|
|