Class HorizontalLineTemplate
- java.lang.Object
-
- org.pentaho.reporting.engine.classic.core.filter.templates.AbstractTemplate
-
- org.pentaho.reporting.engine.classic.core.filter.templates.HorizontalLineTemplate
-
- All Implemented Interfaces:
Serializable
,Cloneable
,DataSource
,Template
public class HorizontalLineTemplate extends AbstractTemplate
Defines a horizontal line template. The line always has the width of 100 points. This implementation is used to cover the common use of the line shape element. Use the scaling feature of the shape element to adjust the size of the line.- Author:
- Thomas Morgner
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description HorizontalLineTemplate()
Default Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
getValue(ExpressionRuntime runtime, ReportElement element)
Returns the template value, an horizontal line.-
Methods inherited from class org.pentaho.reporting.engine.classic.core.filter.templates.AbstractTemplate
clone, getInstance, getName, setName
-
-
-
-
Method Detail
-
getValue
public Object getValue(ExpressionRuntime runtime, ReportElement element)
Returns the template value, an horizontal line.- Parameters:
runtime
- the expression runtime that is used to evaluate formulas and expressions when computing the value of this filter.element
-- Returns:
- a horizontal line with a width of 100.
-
-