org.jurvis.swing.table
Interface JvMappedObjectTableModel.ColumnMapper

Enclosing class:
JvMappedObjectTableModel

public static interface JvMappedObjectTableModel.ColumnMapper

Interface for object mapping row objects to columns.


Method Summary
 Object getValueAt(Object rowObject, int column)
          Returns the value for the specified column.
 boolean isCellEditable(int row, int column, Object rowObject)
          Returns true if the specified column is editable.
 void setValueAt(Object rowObject, Object value, int column)
          Set the value for the specified column.
 

Method Detail

isCellEditable

boolean isCellEditable(int row,
                       int column,
                       Object rowObject)
Returns true if the specified column is editable.

Parameters:
row - the index (starting from 0) of the desired row
column - the index (starting from 0) of the desired column
rowObject - the object representing the desired row
Returns:
true if the column is editable

getValueAt

Object getValueAt(Object rowObject,
                  int column)
Returns the value for the specified column.

Parameters:
rowObject - the object representing the desired row
column - the index (starting from 0) of the desired column

setValueAt

void setValueAt(Object rowObject,
                Object value,
                int column)
Set the value for the specified column.

Parameters:
rowObject - the object representing the desired row
value - the value to set
column - the index (starting from 0) of the desired column


Copyright © 1999-2004 Neil W. Weber. All Rights Reserved.