org.jfree.report.function
Class HideElementByNameFunction

java.lang.Object
  |
  +--org.jfree.report.function.AbstractExpression
        |
        +--org.jfree.report.function.AbstractFunction
              |
              +--org.jfree.report.function.AbstractElementFormatFunction
                    |
                    +--org.jfree.report.function.HideElementByNameFunction

public class HideElementByNameFunction
extends AbstractElementFormatFunction

This function hides all elements with a given name, as long as the defined field does not contain the element name.

See Also:
Serialized Form

Constructor Summary
HideElementByNameFunction()
           
 
Method Summary
 java.lang.String getField()
           
 java.lang.Object getValue()
          Return the current expression value.
protected  void processRootBand(Band b)
           
 void setField(java.lang.String field)
           
 
Methods inherited from class org.jfree.report.function.AbstractElementFormatFunction
getElement, groupFinished, groupStarted, itemsAdvanced, pageCanceled, pageFinished, pageRolledBack, pageStarted, reportFinished, reportStarted, setElement
 
Methods inherited from class org.jfree.report.function.AbstractFunction
clone, itemsFinished, itemsStarted, reportDone, reportInitialized
 
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

HideElementByNameFunction

public HideElementByNameFunction()
Method Detail

getField

public java.lang.String getField()

setField

public void setField(java.lang.String field)

processRootBand

protected void processRootBand(Band b)
Overrides:
processRootBand in class AbstractElementFormatFunction

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.