public abstract class AbstractSectionType extends AbstractElementType implements SectionType
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.
|
boolean |
isRestricted()
A band that serves a specific purpose within a slotted parent should return "true" here.
|
clone, configureDesignTimeDefaults, create, equals, getMetaData, hashCode
getClass, notify, notifyAll, toString, wait, wait, wait
configureDesignTimeDefaults, create, getMetaData
clone
public boolean isRestricted()
SectionType
isRestricted
in interface SectionType
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
runtime
- the expression runtime holding the current report state.element
- the element.public Object getValue(ExpressionRuntime runtime, ReportElement element)
DataSource
getValue
in interface DataSource
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.