Package ca.phon.app.query
Class ResultListingTableModel
java.lang.Object
javax.swing.table.AbstractTableModel
ca.phon.script.scripttable.AbstractScriptTableModel
ca.phon.query.report.datasource.ResultListingDataSource
ca.phon.app.query.ResultListingTableModel
- All Implemented Interfaces:
TableDataSource
,ScriptTableModel
,Serializable
,TableModel
Displays the contents of a resultset using
a
ResultListingDataSource
backend.- See Also:
-
Field Summary
Fields inherited from class javax.swing.table.AbstractTableModel
listenerList
-
Constructor Summary
ConstructorDescriptionResultListingTableModel
(Session session, ResultSet rs, ResultListing listing) -
Method Summary
Modifier and TypeMethodDescriptionvoid
void
getValueAt
(int rowIndex, int columnIndex) Get value at given row,colvoid
setListing
(ResultListing listing) void
Methods inherited from class ca.phon.query.report.datasource.ResultListingDataSource
getColumnCount, getColumnIndex, getColumnName, getColumnTitle, getFormat, getMappingsAt, getRowCount, isIncludeExcluded, setIncludeExcluded
Methods inherited from class ca.phon.script.scripttable.AbstractScriptTableModel
createCellScope, getColumnClass, getColumnScript, readXML, removeAllColumns, setColumnMappings, setColumnScript, setColumnScript, writeXML
Methods inherited from class javax.swing.table.AbstractTableModel
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, getListeners, getTableModelListeners, isCellEditable, removeTableModelListener, setValueAt
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface javax.swing.table.TableModel
addTableModelListener, isCellEditable, removeTableModelListener, setValueAt
-
Constructor Details
-
ResultListingTableModel
-
-
Method Details
-
getValueAt
Description copied from interface:ScriptTableModel
Get value at given row,col- Specified by:
getValueAt
in interfaceScriptTableModel
- Specified by:
getValueAt
in interfaceTableDataSource
- Specified by:
getValueAt
in interfaceTableModel
- Overrides:
getValueAt
in classResultListingDataSource
- Returns:
- value for the specified cell
-
fireTableStructureChanged
public void fireTableStructureChanged()- Overrides:
fireTableStructureChanged
in classAbstractTableModel
-
fireTableDataChanged
public void fireTableDataChanged()- Overrides:
fireTableDataChanged
in classAbstractTableModel
-
setResultSet
- Overrides:
setResultSet
in classResultListingDataSource
-
setListing
- Overrides:
setListing
in classResultListingDataSource
-