JClass DesktopViews 6.3.0 API
Documentation

com.klg.jclass.table
Interface EditableTableDataModel

All Superinterfaces:
JCTableDataModel, TableDataModel
All Known Implementing Classes:
JCEditableCachedDataSource, JCEditableFileDataSource, JCEditableVectorDataSource, JCTableModelDataSource

public interface EditableTableDataModel
extends TableDataModel

The EditableTableDataModel interface extends the basic read-only TableDataModel interface, adding the ability for the JCTable object to change the data if the user edits it.


Method Summary
 boolean setTableDataItem(Object o, int row, int column)
          Sets a value in the data source.
 
Methods inherited from interface com.klg.jclass.table.TableDataModel
addTableDataListener, removeTableDataListener
 
Methods inherited from interface com.klg.jclass.util.JCTableDataModel
getNumColumns, getNumRows, getTableColumnLabel, getTableDataItem, getTableRowLabel
 

Method Detail

setTableDataItem

public boolean setTableDataItem(Object o,
                                int row,
                                int column)
Sets a value in the data source.

Returns:
boolean true if the data source committed the value.

Copyright © 2004 Quest Software Inc..
All rights reserved.