|
ElegantJ Data Tables Java API Specification v1.1 | |||||||||
| 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
| Method Summary | |
java.lang.Object |
executeExp()
Executes 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 |
getColumnNames()
Returns the column names |
int |
getCurrentIndex()
Returns the current index |
int |
getCurrentPage()
Returns the current vertical page index |
int |
getCurrentPageAcross()
Returns the current horizontal page 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.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 |
int |
getPageAcrossCount()
Returns the horizontal page count |
int |
getPageCount()
Returns the vertical page count |
void |
setColumnNames(java.util.Vector columnNames)
Sets the column names |
void |
setCurrentIndex(int index)
Sets the current index |
void |
setCurrentPage(int n)
Sets the current vertical page index |
void |
setCurrentPageAcross(int n)
Sets the current horizontal page 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 |
setPageAcrossCount(int n)
Sets the horizontal page count |
void |
setPageCount(int n)
Sets the vertical page count |
boolean |
verifyExp()
Checks the expression whether it is valid or not |
| 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 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 void setCurrentPage(int n)
n - the current vertical page indexpublic int getCurrentPage()
public void setPageCount(int n)
n - the vertical page countpublic int getPageCount()
public void setCurrentPageAcross(int n)
n - the current horizontal page indexpublic int getCurrentPageAcross()
public void setPageAcrossCount(int n)
n - the horizontal page countpublic int getPageAcrossCount()
public java.lang.String[] getOperators()
public java.lang.String[] getMethods()
|
ElegantJ Data Tables Java API Specification v1.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||