|
Style Intelligence v12.0 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectinetsoft.report.RunningTotal
public class RunningTotal
A running total is a special field that calculate a value based on a table or section. The running total can be placed on any page. The total value would change according to the contents on each page.
| Field Summary | |
|---|---|
protected Formula |
formula
|
static String |
ON_PAGEBREAK
Constant used to define a reset on pagebreak condition. |
| Constructor Summary | |
|---|---|
RunningTotal()
Create a running total field. |
|
| Method Summary | |
|---|---|
Object |
clone()
Make a copy of the running total. |
boolean |
equalsContent(Object obj)
Compare if the running total object describes the same obj. |
void |
evaluate(TableLens table,
int row)
Evaluate a table row. |
void |
evaluateReset(TableLens table,
int row)
Evaluate the reset condition and reset running total if met. |
String |
getDataElement()
Get the associated data element id. |
String |
getEvaluateOnChange()
Get the evaluate-on-change-of column name. |
Formula |
getFormula(TableLens table)
Get the formula to use for summarization. |
String |
getName()
Get the running total field name. |
String |
getResetOnChange()
Get the reset-on-change-of column name. |
String |
getSummaryColumn()
Get the summary column to be used for calculation. |
Formula |
getSummaryFormula()
Get the summarization formula. |
Object |
getValue()
Get the current value of the running total. |
void |
redoEvaluation()
Redo last evaluation for next style page to use. |
void |
reset()
Explicitly reset the total. |
void |
setDataElement(String id)
Set the associated data element. |
void |
setEvaluateOnChange(String column)
Set the evaluate-on-change-of column name. |
void |
setName(String name)
Set the name of the running total field. |
void |
setResetOnChange(String column)
Set the reset-on-change-of column name. |
void |
setSummaryColumn(String column)
Set the summary column for running total. |
void |
setSummaryFormula(Formula formula)
Set the summarization formula. |
void |
undoEvaluation()
Undo last evaluation for current style page to use. |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String ON_PAGEBREAK
protected Formula formula
| Constructor Detail |
|---|
public RunningTotal()
| Method Detail |
|---|
public void setName(String name)
public String getName()
public void setDataElement(String id)
id - element id.public String getDataElement()
public void setSummaryColumn(String column)
column - table column name.public String getSummaryColumn()
public void setSummaryFormula(Formula formula)
public Formula getSummaryFormula()
public Formula getFormula(TableLens table)
public void setEvaluateOnChange(String column)
column - table column name.public String getEvaluateOnChange()
public void setResetOnChange(String column)
column - table column name.public String getResetOnChange()
public Object getValue()
public void reset()
public void evaluateReset(TableLens table,
int row)
public void evaluate(TableLens table,
int row)
public void redoEvaluation()
public void undoEvaluation()
public Object clone()
clone in class Objectpublic boolean equalsContent(Object obj)
|
Copyright © 1996-2014 InetSoft Technology Corp. All Rights Reserved. | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||