|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jfree.report.function.AbstractFunction
org.jfree.report.demo.cards.SelectCardFunction
The SelectCardFunction defines the visiblity of the card bands depending on the current card type. Valid property names are:
Field Summary | |
static java.lang.String |
BASECARD_PROPERTY
Literal text for the baseCard property. |
static java.lang.String |
FIELD_PROPERTY
Literal text for the field property. |
Fields inherited from interface org.jfree.report.function.Expression |
AUTOACTIVATE_PROPERTY |
Constructor Summary | |
SelectCardFunction()
Default constructor. |
Method Summary | |
java.lang.Object |
getValue()
Return the current expression value. |
void |
initialize()
Checks that the function has been correctly initialized. |
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, 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 |
Field Detail |
public static final java.lang.String FIELD_PROPERTY
public static final java.lang.String BASECARD_PROPERTY
Constructor Detail |
public SelectCardFunction()
Method Detail |
public void itemsAdvanced(ReportEvent event)
itemsAdvanced
in interface ReportListener
itemsAdvanced
in class AbstractFunction
event
- the event.public void initialize() throws FunctionInitializeException
The only check performed at present is to make sure the name is not null
.
initialize
in interface Expression
initialize
in class AbstractFunction
FunctionInitializeException
- in case the function is not initialized properly.public java.lang.Object getValue()
The value depends (obviously) on the expression implementation.
getValue
in interface Expression
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |