JAPI 0.9.0
Yet another Java API
API Documentation

net.sf.japi.sql
Interface ResultSetTableModel

All Superinterfaces:
TableModel
All Known Implementing Classes:
CachedResultSetTableModel, ScrollResultSetTableModel

public interface ResultSetTableModel
extends TableModel

Interface for TableModels which handle information from ResultSets.

Author:
Christian Hujer

Method Summary
 void addThrowableHandler(ThrowableHandler<? super SQLException> throwableHandler)
          Adds a ThrowableHandler to this model.
 ResultSet getResultSet()
          Get the ResultSet.
 void removeThrowableHandler(ThrowableHandler<? super SQLException> throwableHandler)
          Removes a ThrowableHandler from this model.
 void setResultSet(ResultSet resultSet)
          Set the ResultSet.
 
Methods inherited from interface javax.swing.table.TableModel
addTableModelListener, getColumnClass, getColumnCount, getColumnName, getRowCount, getValueAt, isCellEditable, removeTableModelListener, setValueAt
 

Method Detail

setResultSet

void setResultSet(ResultSet resultSet)
Set the ResultSet.

Parameters:
resultSet - ResultSet, maybe null

getResultSet

ResultSet getResultSet()
Get the ResultSet.

Returns:
ResultSet or null if there is no current result set

addThrowableHandler

void addThrowableHandler(ThrowableHandler<? super SQLException> throwableHandler)
Adds a ThrowableHandler to this model.

Parameters:
throwableHandler - ThrowableHandler to add

removeThrowableHandler

void removeThrowableHandler(ThrowableHandler<? super SQLException> throwableHandler)
Removes a ThrowableHandler from this model.

Parameters:
throwableHandler - ThrowableHandler to add

JAPI
Yet another Java API
API Documentation

© 2005-2006 Christian Hujer. All rights reserved. See copyright