Package ca.phon.query.report.datasource
Class ResultListingDataSource
java.lang.Object
javax.swing.table.AbstractTableModel
ca.phon.script.scripttable.AbstractScriptTableModel
ca.phon.query.report.datasource.ResultListingDataSource
- All Implemented Interfaces:
TableDataSource
,ScriptTableModel
,Serializable
,TableModel
- Direct Known Subclasses:
ResultListingTableModel
@Deprecated
public class ResultListingDataSource
extends AbstractScriptTableModel
implements TableDataSource
Deprecated.
A data source which lists each
result in a search in a table. The value
of each column is given by a script.
- See Also:
-
Field Summary
Fields inherited from class javax.swing.table.AbstractTableModel
listenerList
-
Constructor Summary
ConstructorDescriptionResultListingDataSource
(Project project, ResultSet s, ResultListing section) Deprecated.ResultListingDataSource
(Session session, ResultSet rs, ResultListing section) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionint
Deprecated.Return the number of columnsint
getColumnIndex
(String columnName) Deprecated.getColumnName
(int col) Deprecated.Uses the default column name or the name provided by a method 'getName' in the column script.getColumnTitle
(int col) Deprecated.Get the name of the specified columnDeprecated.getMappingsAt
(int row, int col) Deprecated.Variable mapping for the given cell.int
Deprecated.Number of rows (not including column header)getValueAt
(int row, int col) Deprecated.Get value at given row,colboolean
Deprecated.void
setIncludeExcluded
(boolean includeExcluded) Deprecated.void
setListing
(ResultListing listing) Deprecated.void
Deprecated.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, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, 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
-
ResultListingDataSource
Deprecated. -
ResultListingDataSource
Deprecated.
-
-
Method Details
-
getFormat
Deprecated. -
setResultSet
Deprecated. -
setListing
Deprecated. -
getColumnCount
public int getColumnCount()Deprecated.Description copied from interface:ScriptTableModel
Return the number of columns- Specified by:
getColumnCount
in interfaceScriptTableModel
- Specified by:
getColumnCount
in interfaceTableDataSource
- Specified by:
getColumnCount
in interfaceTableModel
- Overrides:
getColumnCount
in classAbstractScriptTableModel
- Returns:
- number of columns
-
getRowCount
public int getRowCount()Deprecated.Description copied from interface:TableDataSource
Number of rows (not including column header)- Specified by:
getRowCount
in interfaceScriptTableModel
- Specified by:
getRowCount
in interfaceTableDataSource
- Specified by:
getRowCount
in interfaceTableModel
- Returns:
- number of row in the table
-
getValueAt
Deprecated.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 classAbstractScriptTableModel
- Returns:
- value for the specified cell
-
getColumnName
Deprecated.Description copied from class:AbstractScriptTableModel
Uses the default column name or the name provided by a method 'getName' in the column script.- Specified by:
getColumnName
in interfaceScriptTableModel
- Specified by:
getColumnName
in interfaceTableModel
- Overrides:
getColumnName
in classAbstractScriptTableModel
- Parameters:
col
- the column index- Returns:
- column name
-
isIncludeExcluded
public boolean isIncludeExcluded()Deprecated. -
setIncludeExcluded
public void setIncludeExcluded(boolean includeExcluded) Deprecated. -
getMappingsAt
Deprecated.Description copied from interface:ScriptTableModel
Variable mapping for the given cell.- Specified by:
getMappingsAt
in interfaceScriptTableModel
- Overrides:
getMappingsAt
in classAbstractScriptTableModel
- Returns:
- the column mapping for the specified cell
-
getColumnTitle
Deprecated.Description copied from interface:TableDataSource
Get the name of the specified column- Specified by:
getColumnTitle
in interfaceTableDataSource
- Returns:
- the column title
-
getColumnIndex
Deprecated.- Specified by:
getColumnIndex
in interfaceTableDataSource
-