public class ContentFieldType extends ContentType
ContentType.ContentTypeContext
Modifier and Type | Field and Description |
---|---|
static ContentFieldType |
INSTANCE |
Constructor and Description |
---|
ContentFieldType() |
Modifier and Type | Method and Description |
---|---|
Object |
getDesignValue(ExpressionRuntime runtime,
ReportElement element)
Compute a design-time value.
|
Object |
getValue(ExpressionRuntime runtime,
ReportElement element)
Returns the current value for the data source.
|
configureDesignTimeDefaults
clone, create, equals, getMetaData, hashCode
public static final ContentFieldType INSTANCE
public Object getDesignValue(ExpressionRuntime runtime, ReportElement element)
ElementType
.Element#getComputedStyle()
method. The local style-sheet for the
element may not have all information.getDesignValue
in interface ElementType
getDesignValue
in class ContentType
runtime
- the expression runtime holding the current report state.element
- the element.public Object getValue(ExpressionRuntime runtime, ReportElement element)
getValue
in interface DataSource
getValue
in class ContentType
runtime
- the expression runtime that is used to evaluate formulas and expressions when computing the value of this
filter.element
- the element for which the data is computed.