Class SimpleBarcodesType
- java.lang.Object
-
- org.pentaho.reporting.engine.classic.core.filter.types.AbstractElementType
-
- org.pentaho.reporting.engine.classic.core.filter.types.ContentType
-
- org.pentaho.reporting.engine.classic.extensions.modules.sbarcodes.SimpleBarcodesType
-
- All Implemented Interfaces:
Serializable
,Cloneable
,org.pentaho.reporting.engine.classic.core.filter.DataSource
,org.pentaho.reporting.engine.classic.core.metadata.ElementType
public class SimpleBarcodesType extends org.pentaho.reporting.engine.classic.core.filter.types.ContentType
ThisElementType
is responsible to create the barcode object as defined by its definition namedsimple-barcodes
.- Author:
- Cedric Pronzato
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static SimpleBarcodesType
INSTANCE
-
Constructor Summary
Constructors Constructor Description SimpleBarcodesType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
configureDesignTimeDefaults(org.pentaho.reporting.engine.classic.core.ReportElement element, Locale locale)
Object
getDesignValue(org.pentaho.reporting.engine.classic.core.function.ExpressionRuntime runtime, org.pentaho.reporting.engine.classic.core.ReportElement element)
Object
getValue(org.pentaho.reporting.engine.classic.core.function.ExpressionRuntime runtime, org.pentaho.reporting.engine.classic.core.ReportElement element)
Returns the current value for the data source.-
Methods inherited from class org.pentaho.reporting.engine.classic.core.filter.types.ContentType
createComponentDrawable, filter
-
-
-
-
Field Detail
-
INSTANCE
public static final SimpleBarcodesType INSTANCE
-
-
Method Detail
-
getDesignValue
public Object getDesignValue(org.pentaho.reporting.engine.classic.core.function.ExpressionRuntime runtime, org.pentaho.reporting.engine.classic.core.ReportElement element)
- Specified by:
getDesignValue
in interfaceorg.pentaho.reporting.engine.classic.core.metadata.ElementType
- Overrides:
getDesignValue
in classorg.pentaho.reporting.engine.classic.core.filter.types.ContentType
-
getValue
public Object getValue(org.pentaho.reporting.engine.classic.core.function.ExpressionRuntime runtime, org.pentaho.reporting.engine.classic.core.ReportElement element)
Returns the current value for the data source.- Specified by:
getValue
in interfaceorg.pentaho.reporting.engine.classic.core.filter.DataSource
- Overrides:
getValue
in classorg.pentaho.reporting.engine.classic.core.filter.types.ContentType
- Parameters:
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.- Returns:
- the value.
-
configureDesignTimeDefaults
public void configureDesignTimeDefaults(org.pentaho.reporting.engine.classic.core.ReportElement element, Locale locale)
- Specified by:
configureDesignTimeDefaults
in interfaceorg.pentaho.reporting.engine.classic.core.metadata.ElementType
- Overrides:
configureDesignTimeDefaults
in classorg.pentaho.reporting.engine.classic.core.filter.types.ContentType
-
-