|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public static interface SortedTableModel.Row
Row interface for sorted tables.
All row objects in a sorted table must implement this interface.
Method Summary | |
---|---|
int |
compareTo(SortedTableModel.Row other,
int columnIndex)
Compares this row to another row using a specified column. |
java.lang.Object |
getUniqueRowID()
Get unique identifier for each row. |
java.lang.Object |
getValue(int columnIndex)
Gets the value of a column. |
Method Detail |
---|
java.lang.Object getValue(int columnIndex)
columnIndex
- Column index.
int compareTo(SortedTableModel.Row other, int columnIndex)
other
- The other row.columnIndex
- Column index.
java.lang.Object getUniqueRowID()
The unique identifier is used as a secondary key when sorting table rows. The object used for the unique identifier must implement the toString() method.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |