|
ElegantJCharts Java API Specification v2.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
A Computable interface which provides the functionality for computation
| Field Summary | |
static long |
serialVersionUID
|
| Method Summary | |
java.lang.Object |
executeExp()
Executes the expression |
java.util.Hashtable |
getCatagorizedMethods()
Returns the valid methods to use in the expression |
java.util.Vector |
getColumnData(int colIndex)
Returns the column values of the column at colIndex |
java.util.Vector |
getColumnData(java.lang.String name)
Fetches the specified column's data |
java.util.Vector |
getColumnData(java.lang.String summaryColumn,
java.lang.String groupColumn)
Returns the crosstab column values of the column at colIndex for given column |
java.util.Vector |
getColumnNames()
Returns the column names |
java.util.Vector |
getColumnTypes()
Returns the column types |
int |
getCurrentIndex()
Returns the current index |
java.util.Vector |
getCurrentRecord()
Returns the current record |
java.util.Vector |
getData()
Returns the data for computation |
java.lang.String |
getExpression()
Gets the expression string to be executed |
java.util.Vector |
getGroupConditions()
Returns the vector of group bands |
java.lang.String[] |
getMethods()
Returns the valid methods to use in the expression |
java.lang.String[] |
getOperators()
Returns the valid operators to use in the expression |
java.util.Vector |
getVariables()
Returns the used variables |
void |
setColumnNames(java.util.Vector columnNames)
Sets the column names |
void |
setColumnTypes(java.util.Vector columnTypes)
Sets the column types |
void |
setCurrentIndex(int index)
Sets the current index |
void |
setData(java.util.Vector data)
Sets the data for computation |
void |
setExpression(java.lang.String exp)
Sets the expression string to be executed |
void |
setGroupConditions(java.util.Vector sCondition)
Sets the vector of group bands |
boolean |
verifyExp()
Checks the expression whether it is valid or not |
| Field Detail |
public static final long serialVersionUID
| Method Detail |
public void setExpression(java.lang.String exp)
exp - the expression stringpublic java.lang.String getExpression()
public boolean verifyExp()
public java.lang.Object executeExp()
public void setData(java.util.Vector data)
data - the vector contains the datapublic java.util.Vector getData()
public void setGroupConditions(java.util.Vector sCondition)
sCondition - the vector contains the group bandspublic java.util.Vector getGroupConditions()
public void setColumnTypes(java.util.Vector columnTypes)
columnTypes - the vector contains the column Typespublic java.util.Vector getColumnTypes()
public void setColumnNames(java.util.Vector columnNames)
columnNames - the vector contains the column namespublic java.util.Vector getColumnNames()
public void setCurrentIndex(int index)
index - the index of the record ,being proccessedpublic int getCurrentIndex()
public java.util.Vector getCurrentRecord()
public java.util.Vector getColumnData(java.lang.String name)
name - a column name
public java.util.Vector getColumnData(int colIndex)
colIndex - the column index
public java.util.Vector getColumnData(java.lang.String summaryColumn,
java.lang.String groupColumn)
summaryColumn - the column on which the computation is performedgroupColumn - the column for which the computation is performed
public java.lang.String[] getOperators()
public java.lang.String[] getMethods()
public java.util.Hashtable getCatagorizedMethods()
public java.util.Vector getVariables()
|
ElegantJCharts Java API Specification v2.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||