|
Copyright © 2005 Scientific Applications. All Rights Reserved. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sciapp.table.TableUtils
public class TableUtils
TableUtils is a utility class for converting model/view row indeces to the view/model respectively.
Method Summary | |
---|---|
static int |
convertRowIndexToModel(JTable table,
int viewRowIndex)
Determines the index of the row in the underlying model in terms of the row index in the table. |
static int |
convertRowIndexToView(JTable table,
int modelRowIndex)
Determines the index of the row in the table in terms of the row index in the underlying model. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static int convertRowIndexToModel(JTable table, int viewRowIndex)
table
- the table whose row index we are convertingviewRowIndex
- the index of the row in the table
public static int convertRowIndexToView(JTable table, int modelRowIndex)
table
- the table whose row index we are convertingmodelRowIndex
- the index of the row in the underlying model
|
Copyright © 2005 Scientific Applications. All Rights Reserved. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |