org.jurvis.swing.table
Interface JvObjectTableRow

All Superinterfaces:
Serializable

public interface JvObjectTableRow
extends Serializable

A JvObjectTableRow represents a row in a TableModel for which each column corresponds to a property of an object. Derived classes provide the column to property mapping.

Author:
Neil W. Weber
See Also:
JvObjectTableModel

Method Summary
 Object getObject()
          Returns the object whose data is displayed in this row.
 Object getValueAt(int column)
          Returns the value for the specified column.
 boolean isColumnEditable(int column)
          Returns true if the specified column is editable.
 void setValueAt(Object value, int column)
          Set the value for the specified column.
 

Method Detail

isColumnEditable

boolean isColumnEditable(int column)
Returns true if the specified column is editable.

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

getValueAt

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

Parameters:
column - the index (starting from 0) of the desired column

setValueAt

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

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

getObject

Object getObject()
Returns the object whose data is displayed in this row.

Returns:
the underlying object


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