|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
Identifies a collection that is indexed by rowKeys.
Data is accessed by setting a rowKey, and then accessing
getRowData().
| Method Summary | |
int |
getRowCount()
Gets the number of values in this collection |
java.lang.Object |
getRowData()
Gets the current value identified by the current index or rowKey. |
java.lang.Object |
getRowData(int rowIndex)
Gets the row value at the given index. |
int |
getRowIndex()
Gets the index of the current value. |
java.lang.Object |
getRowKey()
Gets the rowKey of the current value. |
boolean |
isRowAvailable()
Checks to make sure a value exists for the current index or rowKey. |
boolean |
isRowAvailable(int rowIndex)
Checks to make sure a value exists for the given index. |
void |
setRowIndex(int rowIndex)
Sets up a value at a particular index to be the current value. |
void |
setRowKey(java.lang.Object rowKey)
Sets up a value at a particular rowKey to be the current value. |
| Method Detail |
public int getRowCount()
public int getRowIndex()
public void setRowIndex(int rowIndex)
rowIndex - the zero-based index of the value to make current.
Use -1 to clear the current valuepublic java.lang.Object getRowKey()
public void setRowKey(java.lang.Object rowKey)
rowKey - the rowKey of the value to make current.
Use null to clear the current valuepublic boolean isRowAvailable()
getRowCount()).
getRowKey(),
getRowIndex()public java.lang.Object getRowData()
getRowKey(),
getRowIndex()public boolean isRowAvailable(int rowIndex)
rowIndex - the index of the row to check.
public java.lang.Object getRowData(int rowIndex)
rowIndex - the index of the row to get data from.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||