Save This Page
Home » pentaho-reporting-engine-classic-0.8.10 » org » jfree » report » demo » cards » [javadoc | source]
org.jfree.report.demo.cards
public class: SelectCardFunction [javadoc | source]
java.lang.Object
   org.jfree.report.function.AbstractExpression
      org.jfree.report.function.AbstractFunction
         org.jfree.report.demo.cards.SelectCardFunction

All Implemented Interfaces:
    Serializable, Function, Expression

The SelectCardFunction defines the visiblity of the card bands depending on the current card type. Valid property names are:
Field Summary
public static final  String FIELD_PROPERTY    Literal text for the field property. 
public static final  String BASECARD_PROPERTY    Literal text for the baseCard property. 
Constructor:
 public SelectCardFunction() 
Method from org.jfree.report.demo.cards.SelectCardFunction Summary:
getValue,   initialize,   itemsAdvanced
Methods from org.jfree.report.function.AbstractFunction:
groupFinished,   groupStarted,   itemsAdvanced,   itemsFinished,   itemsStarted,   reportDone,   reportFinished,   reportInitialized,   reportStarted
Methods from org.jfree.report.function.AbstractExpression:
clone,   getDataRow,   getDependencyLevel,   getInstance,   getName,   getReportConfiguration,   getResourceBundleFactory,   getRuntime,   isActive,   isDeepTraversing,   isPreserve,   setActive,   setDependencyLevel,   setName,   setPreserve,   setRuntime
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.jfree.report.demo.cards.SelectCardFunction Detail:
 public Object getValue() 
    Return the current expression value.

    The value depends (obviously) on the expression implementation.

 public  void initialize() throws FunctionInitializeException 
    Checks that the function has been correctly initialized.

    The only check performed at present is to make sure the name is not null.

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