| net.sourceforge.squirrel_sql.fw.datasetviewer.IDataSetModel
All known Subclasses: net.sourceforge.squirrel_sql.fw.datasetviewer.DataSetListModel,
IDataSetModel | public interface IDataSetModel extends IDataSetViewer(Code) | | This is represents a IDataSetViewerDestination that doesn't
actually display the data, it simply stores it for future use.
author: Colin Bell |
addListener | void addListener(IDataSetModelListener lis)(Code) | | Adds a listener for events in this model.
Parameters: lis - DataSetModelListener that will benotified when events occur in this model. |
getRowCount | int getRowCount()(Code) | | Return number of rows in model.
Number of rows. |
getValueAt | Object getValueAt(int rowIndex, int columnIndex)(Code) | | Return the data value for the specified cell.
Parameters: rowIndex - The row whose value is being retrieved. Parameters: columnIndex - The column whose value is being retrieved. the data value for the specified cell. |
removeListener | void removeListener(IDataSetModelListener lis)(Code) | | Removes an event listener fromthis model.
Parameters: lis - DataSetModelListener to be removed. |
setValueAt | void setValueAt(Object value, int rowIndex, int columnIndex)(Code) | | Set the data value for the specified cell.
Parameters: value - The new value for the cell. Parameters: rowIndex - The row whose value is being set. Parameters: columnIndex - The column whose value is being set. throws: IllegalStateException - if IDataSetModel hasn't been specified. |
|
|