|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface RowKeyIndex
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 |
|---|
int getRowCount()
int getRowIndex()
void setRowIndex(int rowIndex)
rowIndex - the zero-based index of the value to make current. Use -1 to clear the current valuejava.lang.Object getRowKey()
void setRowKey(java.lang.Object rowKey)
rowKey - the rowKey of the value to make current. Use null to clear the current valueboolean isRowAvailable()
getRowCount()).getRowKey(), getRowIndex()java.lang.Object getRowData()
getRowKey(), getRowIndex()boolean isRowAvailable(int rowIndex)
rowIndex - the index of the row to check.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 | |||||||||
Copyright © 2001-2012 The Apache Software Foundation. All Rights Reserved.