org.jfree.report.demo.invoice
Class HideArticleDetailsFunction

java.lang.Object
  extended byorg.jfree.report.function.AbstractFunction
      extended byorg.jfree.report.demo.invoice.HideArticleDetailsFunction
All Implemented Interfaces:
java.lang.Cloneable, java.util.EventListener, Expression, Function, ReportListener, java.io.Serializable

public class HideArticleDetailsFunction
extends AbstractFunction

See Also:
Serialized Form

Field Summary
 
Fields inherited from interface org.jfree.report.function.Expression
AUTOACTIVATE_PROPERTY
 
Constructor Summary
HideArticleDetailsFunction()
          Creates an unnamed function.
 
Method Summary
 java.lang.Object getValue()
          Return the current expression value.
 void itemsAdvanced(ReportEvent event)
          Receives notification that a row of data is being processed.
 
Methods inherited from class org.jfree.report.function.AbstractFunction
clone, getDataRow, getDependencyLevel, getInstance, getName, getProperties, getProperty, getProperty, groupFinished, groupStarted, initialize, isActive, itemsFinished, itemsStarted, reportDone, reportFinished, reportInitialized, reportStarted, setDataRow, setDependencyLevel, setName, setProperties, setProperty
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HideArticleDetailsFunction

public HideArticleDetailsFunction()
Creates an unnamed function. Make sure the name of the function is set using AbstractFunction.setName(java.lang.String) before the function is added to the report's function collection.

Method Detail

itemsAdvanced

public void itemsAdvanced(ReportEvent event)
Receives notification that a row of data is being processed.

Specified by:
itemsAdvanced in interface ReportListener
Overrides:
itemsAdvanced in class AbstractFunction
Parameters:
event - the event.

getValue

public java.lang.Object getValue()
Return the current expression value.

The value depends (obviously) on the expression implementation.

Returns:
the value of the function.