org.pentaho.reporting.engine.classic.core.function
Class HideElementIfDataAvailableExpression

java.lang.Object
  extended by org.pentaho.reporting.engine.classic.core.function.AbstractExpression
      extended by org.pentaho.reporting.engine.classic.core.function.AbstractFunction
          extended by org.pentaho.reporting.engine.classic.core.function.AbstractElementFormatFunction
              extended by org.pentaho.reporting.engine.classic.core.function.HideElementIfDataAvailableExpression
All Implemented Interfaces:
Serializable, Cloneable, EventListener, PageEventListener, ReportListener, Expression, Function, LayoutProcessorFunction

Deprecated. Use a Style-Expression or make proper use of the No-Data-Band

public class HideElementIfDataAvailableExpression
extends AbstractElementFormatFunction

This functions checks the tablemodel and shows the named band, if there is no data available.

Author:
Thomas Morgner
See Also:
Serialized Form

Constructor Summary
HideElementIfDataAvailableExpression()
          Deprecated. Default Constructor.
 
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.AbstractFunction
reportDone
 
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 class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.pentaho.reporting.engine.classic.core.event.ReportListener
reportDone
 
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
 

Constructor Detail

HideElementIfDataAvailableExpression

public HideElementIfDataAvailableExpression()
Deprecated. 
Default Constructor.

Method Detail

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.