|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.birt.chart.aggregate.AggregateFunctionAdapter
public abstract class AggregateFunctionAdapter
The empty IAggregateFunction adapter.
Field Summary |
---|
Fields inherited from interface org.eclipse.birt.chart.aggregate.IAggregateFunction |
---|
BIGDECIMAL, CALENDAR, CUSTOM, DATE, NULL, NUMBER, RUNNING_AGGR, SUMMARY_AGGR, TEXT, UNKNOWN |
Constructor Summary | |
---|---|
AggregateFunctionAdapter()
|
Method Summary | |
---|---|
void |
accumulate(java.lang.Object oValue)
An internally generated notification indicating that a function implementer should accumulate another value (to be subsequently aggregated) |
java.lang.Object |
getAggregatedValue()
Returns the aggregated value as determined by the function implementation. |
java.lang.String[] |
getDisplayParameters()
Returns display text of aggregate parameters. |
int |
getParametersCount()
Returns the count of aggregate parameter. |
int |
getType()
Returns aggregate type. |
void |
initialize()
Sends out a notification to a function implementation subclass to initialize local member variables. |
void |
setLocale(com.ibm.icu.util.ULocale lcl)
Sets a locale associated with this aggregate function instance |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AggregateFunctionAdapter()
Method Detail |
---|
public void accumulate(java.lang.Object oValue) throws java.lang.IllegalArgumentException
IAggregateFunction
accumulate
in interface IAggregateFunction
oValue
- The numeric value to be accumulated
java.lang.IllegalArgumentException
public java.lang.Object getAggregatedValue()
IAggregateFunction
getAggregatedValue
in interface IAggregateFunction
public void initialize()
IAggregateFunction
initialize
in interface IAggregateFunction
public final void setLocale(com.ibm.icu.util.ULocale lcl)
lcl
- A locale associated with this aggregate function instancepublic java.lang.String[] getDisplayParameters()
IAggregateFunction
getDisplayParameters
in interface IAggregateFunction
public int getParametersCount()
IAggregateFunction
getParametersCount
in interface IAggregateFunction
public int getType()
IAggregateFunction
getType
in interface IAggregateFunction
IAggregateFunction.SUMMARY_AGGR
,
IAggregateFunction.RUNNING_AGGR
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |