Class VerticalLineTemplate

  extended by org.pentaho.reporting.engine.classic.core.filter.templates.AbstractTemplate
      extended by org.pentaho.reporting.engine.classic.core.filter.templates.VerticalLineTemplate
All Implemented Interfaces:
Serializable, Cloneable, DataSource, Template

public class VerticalLineTemplate
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.

Thomas Morgner
See Also:
Serialized Form

Constructor Summary
          Default Constructor.
Method Summary
 Object getValue(ExpressionRuntime runtime, Element element)
          Returns the template value, a vertical line.
Methods inherited from class org.pentaho.reporting.engine.classic.core.filter.templates.AbstractTemplate
clone, getInstance, getName, setName
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail


public VerticalLineTemplate()
Default Constructor.

Method Detail


public Object getValue(ExpressionRuntime runtime,
                       Element element)
Returns the template value, a vertical line.

runtime - the expression runtime that is used to evaluate formulas and expressions when computing the value of this filter.
element -
a vertical line with a height of 100.