org.pentaho.reporting.engine.classic.core.function
Class ShowElementIfDataAvailableExpression
java.lang.Object
org.pentaho.reporting.engine.classic.core.function.AbstractExpression
org.pentaho.reporting.engine.classic.core.function.AbstractFunction
org.pentaho.reporting.engine.classic.core.function.AbstractElementFormatFunction
org.pentaho.reporting.engine.classic.core.function.ShowElementIfDataAvailableExpression
- All Implemented Interfaces:
- Serializable, Cloneable, EventListener, PageEventListener, ReportListener, Expression, Function, LayoutProcessorFunction
Deprecated. Use a formula instead.
public class ShowElementIfDataAvailableExpression
- extends AbstractElementFormatFunction
This functions checks the tablemodel and hides the named elements, if there is no data available.
- Author:
- Thomas Morgner
- See Also:
- Serialized Form
Method Summary |
Object |
getValue()
Deprecated. Return the current expression value. |
Methods inherited from class org.pentaho.reporting.engine.classic.core.function.AbstractElementFormatFunction |
getElement, groupFinished, groupStarted, itemsAdvanced, itemsFinished, itemsStarted, pageFinished, pageStarted, reportFinished, reportInitialized, reportStarted, setElement |
Methods inherited from class org.pentaho.reporting.engine.classic.core.function.AbstractExpression |
clone, getDataRow, getDependencyLevel, getInstance, getName, getReportConfiguration, getResourceBundleFactory, getRuntime, isActive, isDeepTraversing, isPreserve, setActive, setDependencyLevel, setName, setPreserve, setRuntime |
Methods inherited from interface org.pentaho.reporting.engine.classic.core.function.Expression |
clone, getDataRow, getDependencyLevel, getInstance, getName, getReportConfiguration, getResourceBundleFactory, getRuntime, isActive, isDeepTraversing, isPreserve, setDependencyLevel, setName, setRuntime |
ShowElementIfDataAvailableExpression
public ShowElementIfDataAvailableExpression()
- Deprecated.
- Default Constructor.
getValue
public Object getValue()
- Deprecated.
- Return the current expression value.
The value depends (obviously) on the expression implementation.
- Specified by:
getValue
in interface Expression
- Overrides:
getValue
in class AbstractElementFormatFunction
- Returns:
- the value of the function.