|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.acesoft.aceoffix.ExcelReqTableRange
public class ExcelReqTableRange
Represents a TableRange. Extracts data from the TableRange. You can only use the ExcelReqSheet.openTableRange method to obtain a ExcelReqTableRange object.
Method Summary | |
---|---|
void |
close()
Closes the current TableRange. |
DataFieldReqCollection |
getDataFields()
Returns a collection of DataField objects of the current record. |
boolean |
getEOF()
Returns a value that indicates whether the current record position is after the last record in the TableRange. |
int |
getRowCount()
Gets the number of rows that are actually being submitted in the TableRange. |
void |
gotoRow(int rowIndex)
Tries to move to the specified row in the TableRange. |
void |
nextRow()
Tries to move to the next available row in the TableRange. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public int getRowCount()
public boolean getEOF()
public DataFieldReqCollection getDataFields() throws java.lang.Exception
java.lang.Exception
public void nextRow() throws java.lang.Exception
When the TableRange is opened, the default record row is the first row. If you want to get data from next row, you must call the nextRow method. If you want to get all data from the TableRange, you need to use EOF property and nextRow method to loop all the record rows of the TableRange.
java.lang.Exception
public void gotoRow(int rowIndex) throws java.lang.Exception
rowIndex
- The zero-based index of the record row. The maximum rowIndex is RowCount - 1.
java.lang.Exception
public void close() throws java.lang.Exception
When all the operations of current TableRange are done, you must call the close method to close the TableRange. Once the TableRange is closed, you can not reference it again.
java.lang.Exception
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |