org.jfree.report.demo.invoice
Class HideArticleDetailsFunction

java.lang.Object
  |
  +--org.jfree.report.function.AbstractExpression
        |
        +--org.jfree.report.function.AbstractFunction
              |
              +--org.jfree.report.demo.invoice.HideArticleDetailsFunction

public class HideArticleDetailsFunction
extends AbstractFunction

See Also:
Serialized Form

Constructor Summary
HideArticleDetailsFunction()
          Creates an unnamed function.
 
Method Summary
 java.lang.String getColumn()
           
 java.lang.String getElement()
           
 java.lang.Object getValue()
          Return the current expression value.
 void itemsAdvanced(ReportEvent event)
          Receives notification that a row of data is being processed.
 void setColumn(java.lang.String column)
           
 void setElement(java.lang.String element)
           
 
Methods inherited from class org.jfree.report.function.AbstractFunction
clone, groupFinished, groupStarted, itemsFinished, itemsStarted, reportDone, reportFinished, reportInitialized, reportStarted
 
Methods inherited from class org.jfree.report.function.AbstractExpression
getDataRow, getDependencyLevel, getInstance, getName, getReportConfiguration, getResourceBundleFactory, getRuntime, isActive, setActive, setDependencyLevel, setName, setRuntime
 
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 AbstractExpression.setName(java.lang.String) before the function is added to the report's function collection.
Method Detail

getColumn

public java.lang.String getColumn()

setColumn

public void setColumn(java.lang.String column)

getElement

public java.lang.String getElement()

setElement

public void setElement(java.lang.String element)

itemsAdvanced

public void itemsAdvanced(ReportEvent event)
Receives notification that a row of data is being processed.
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.