|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
This interface provides API for extracting data based on a set of selection criteria from one range and inserting it into another range of cells for display.
The interface uses three range types (Database, Criteria, and Extract):
Data is updated when the extract() method is called.
| Method Summary | |
void |
extract()
Applies the Criteria range to rows in the Database Range. |
int |
getCountLastRowsSelected()
Returns the index number of the last row selected during the extract process. |
java.lang.String |
getCriteriaRange()
Returns the last Criteria range successfully set. |
java.lang.String |
getDatabaseRange()
Returns the last Database range successfully set. |
java.lang.String |
getExtractRange()
Returns the last Extract range successfully set. |
void |
setCriteria(Sheet sheet,
java.lang.String infix)
Sets the Criteria range, in US English |
void |
setCriteriaLocal(Sheet sheet,
java.lang.String infix)
Sets the Criteria range, in the user's local language. |
void |
setDatabase(Sheet sheet,
java.lang.String infix)
Sets the Database range, in US English. |
void |
setDatabaseLocal(Sheet sheet,
java.lang.String infix)
Sets the Database range, in the user's local language. |
void |
setExtract(Sheet sheet,
java.lang.String infix)
Sets the Extract range, in US English. |
void |
setExtractLocal(Sheet sheet,
java.lang.String infix)
Sets the Extract range, in the user's local language. |
| Method Detail |
public void extract()
throws F1Exception
setCriteria(com.f1j.ss.Sheet, java.lang.String),
setDatabase(com.f1j.ss.Sheet, java.lang.String),
setExtract(com.f1j.ss.Sheet, java.lang.String)public int getCountLastRowsSelected()
setExtract(com.f1j.ss.Sheet, java.lang.String)public java.lang.String getCriteriaRange()
setCriteria(com.f1j.ss.Sheet, java.lang.String)public java.lang.String getDatabaseRange()
setDatabase(com.f1j.ss.Sheet, java.lang.String)public java.lang.String getExtractRange()
setExtract(com.f1j.ss.Sheet, java.lang.String)
public void setCriteria(Sheet sheet,
java.lang.String infix)
throws F1Exception
sheet - Worksheet containing the range or in the same group as the worksheet
containing the range.infix - String containing text description of the range in the
form "sheet!range", or "range" if in the same sheet.infix does not contain exactly 1 valid
range.getCriteriaRange()
public void setCriteriaLocal(Sheet sheet,
java.lang.String infix)
throws F1Exception
sheet - Worksheet containing the range or in the same group as the
worksheet containing the range.infix - String containing text description of the range in the
form "sheet!range", or "range" if in the same sheet.getCriteriaRange()
public void setDatabase(Sheet sheet,
java.lang.String infix)
throws F1Exception
sheet - Worksheet containing the range or in the same group as the worksheet
containing the range.infix - String containing text description of the range in the
form "sheet!range", or "range" if in the same sheet.getDatabaseRange()
public void setDatabaseLocal(Sheet sheet,
java.lang.String infix)
throws F1Exception
sheet - Worksheet containing the range or in the same group as the worksheet
containing the range.infix - String containing text description of the range in the
form "sheet!range", or "range" if in the same sheet.getDatabaseRange()
public void setExtract(Sheet sheet,
java.lang.String infix)
throws F1Exception
sheet - Worksheet containing the range or in the same group as the worksheet
containing the range.infix - String containing text description of the range in the
form "sheet!range", or "range" if in the same sheet.getExtractRange()
public void setExtractLocal(Sheet sheet,
java.lang.String infix)
throws F1Exception
sheet - Worksheet containing the range or in the same group as the worksheet
containing the range.infix - String containing text description of the range in the
form "sheet!range", or "range" if in the same sheet.getExtractRange()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||