|
Copyright © 2005 Scientific Applications. All Rights Reserved. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SortListModel
This interface defines methods for comparing the rows of a tablemodel.
Method Summary | |
---|---|
int |
compareRows(int row1,
int row2)
Compares two rows with each other and returns the result of the comparison. |
int |
compareRows(Object o1,
Object o2)
Compares two rows with each other and returns the result of the comparison. |
Methods inherited from interface javax.swing.table.TableModel |
---|
addTableModelListener, getColumnClass, getColumnCount, getColumnName, getRowCount, getValueAt, isCellEditable, removeTableModelListener, setValueAt |
Method Detail |
---|
int compareRows(int row1, int row2)
row1
- the first rowrow2
- the second row
int compareRows(Object o1, Object o2)
o1
- the first row objecto2
- the second row object
|
Copyright © 2005 Scientific Applications. All Rights Reserved. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |