|
i-net Clear Reports | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectcom.inet.report.Trigger
public class Trigger
A trigger is a runtime value that will be evaluated at runtime and can be accessed after a report has rendered. The state of the trigger will not be saved with the rpt file. Sample usage:
Fields fields = eng.getFields();
FormulaField formula = fields.addFormulaField( "trigger", "23 >= 24", FormulaField.FORMULA_PROPERTY );
Trigger trigger = eng.getTrigger();
trigger.setFormula( formula );
eng.execute(); //render the report
eng.getPageCount(); //wait until finish
Boolean value = trigger.getValue(); //request the trigger value
| Method Summary | |
|---|---|
FormulaField |
getFormula()
Get the formula of this trigger. |
java.lang.Boolean |
getValue()
The value of the trigger. |
void |
setFormula(FormulaField formula)
Set the formula of the trigger. |
| Method Detail |
|---|
public void setFormula(FormulaField formula)
formula - a new formulagetFormula()public FormulaField getFormula()
setFormula(FormulaField)public java.lang.Boolean getValue()
|
i-net Clear Reports | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||