Class CrosstabElementType
- java.lang.Object
-
- org.pentaho.reporting.engine.classic.core.filter.types.AbstractElementType
-
- org.pentaho.reporting.engine.classic.core.filter.types.bands.AbstractSectionType
-
- org.pentaho.reporting.engine.classic.core.filter.types.CrosstabElementType
-
- All Implemented Interfaces:
Serializable
,Cloneable
,DataSource
,ElementType
,SectionType
public class CrosstabElementType extends AbstractSectionType
Implementation for crosstab element type.- Author:
- Sulaiman Karmali
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static CrosstabElementType
INSTANCE
-
Constructor Summary
Constructors Constructor Description CrosstabElementType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ReportElement
create()
Creates the element implementation.Object
getDesignValue(ExpressionRuntime runtime, ReportElement element)
Compute a design-time value.-
Methods inherited from class org.pentaho.reporting.engine.classic.core.filter.types.bands.AbstractSectionType
getValue, isRestricted
-
Methods inherited from class org.pentaho.reporting.engine.classic.core.filter.types.AbstractElementType
clone, configureDesignTimeDefaults, equals, getId, getMetaData, hashCode
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.pentaho.reporting.engine.classic.core.filter.DataSource
clone
-
Methods inherited from interface org.pentaho.reporting.engine.classic.core.metadata.ElementType
configureDesignTimeDefaults, getMetaData
-
-
-
-
Field Detail
-
INSTANCE
public static final CrosstabElementType INSTANCE
-
-
Method Detail
-
create
public ReportElement create()
Description copied from interface:ElementType
Creates the element implementation. Return a newElement
for data-items,Band
for compound data items or the appropriate Element implementation for complex element types.- Specified by:
create
in interfaceElementType
- Overrides:
create
in classAbstractElementType
- Returns:
- the new element instance.
-
getDesignValue
public Object getDesignValue(ExpressionRuntime runtime, ReportElement element)
Description copied from interface:ElementType
Compute a design-time value. This value will be displayed when editing the element in the Pentaho Report Designer. If there is not enough data available to produce a sensible output, return a mock-object so that the user can interact with the element in a sensible fashion. When the element is called, all style and attribute expressions have been resolved and can be accessed via the normal static style and attribute accessor methods. If the content of your element depends on style information, the fully computed style must be retrieved via the.Element#getComputedStyle()
method. The local style-sheet for the element may not have all information.- Specified by:
getDesignValue
in interfaceElementType
- Overrides:
getDesignValue
in classAbstractSectionType
- Parameters:
runtime
- the expression runtime holding the current report state.element
- the element.- Returns:
- the computed value.
-
-