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
ConstructorsConstructorDescriptionResultListingDataSource(Project project, ResultSet s, ResultListing section) Deprecated.ResultListingDataSource(Session session, ResultSet rs, ResultListing section) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionintDeprecated.Return the number of columnsintgetColumnIndex(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./ for(String imp:scriptPkgImports) { / buffer.append(String.format("importPackage(%s)\n", imp)); / } / / for(String imp:scriptClazzImports) { / buffer.append(String.format("importClass(%s)\n", imp)); / }intDeprecated.Return the number of rowsgetValueAt(int row, int col) Deprecated.Get value at given row,colbooleanDeprecated.voidsetIncludeExcluded(boolean includeExcluded) Deprecated.voidsetListing(ResultListing listing) Deprecated.voidDeprecated.Methods inherited from class ca.phon.script.scripttable.AbstractScriptTableModel
createCellScope, getColumnClass, getColumnScript, readXML, removeAllColumns, setColumnMappings, setColumnScript, setColumnScript, writeXMLMethods inherited from class javax.swing.table.AbstractTableModel
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getListeners, getTableModelListeners, isCellEditable, removeTableModelListener, setValueAtMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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:ScriptTableModelReturn the number of columns- Specified by:
getColumnCountin interfaceScriptTableModel- Specified by:
getColumnCountin interfaceTableDataSource- Specified by:
getColumnCountin interfaceTableModel- Overrides:
getColumnCountin classAbstractScriptTableModel- Returns:
- number of columns
-
getRowCount
public int getRowCount()Deprecated.Description copied from interface:ScriptTableModelReturn the number of rows- Specified by:
getRowCountin interfaceScriptTableModel- Specified by:
getRowCountin interfaceTableDataSource- Specified by:
getRowCountin interfaceTableModel- Returns:
- number of row in the table
-
getValueAt
Deprecated.Description copied from interface:ScriptTableModelGet value at given row,col- Specified by:
getValueAtin interfaceScriptTableModel- Specified by:
getValueAtin interfaceTableDataSource- Specified by:
getValueAtin interfaceTableModel- Overrides:
getValueAtin classAbstractScriptTableModel- Parameters:
row-col-- Returns:
- value for the specified cell
-
getColumnName
Deprecated.Description copied from class:AbstractScriptTableModelUses the default column name or the name provided by a method 'getName' in the column script.- Specified by:
getColumnNamein interfaceScriptTableModel- Specified by:
getColumnNamein interfaceTableModel- Overrides:
getColumnNamein classAbstractScriptTableModel- Parameters:
col-- Returns:
- column name
-
isIncludeExcluded
public boolean isIncludeExcluded()Deprecated. -
setIncludeExcluded
public void setIncludeExcluded(boolean includeExcluded) Deprecated. -
getMappingsAt
Deprecated./ for(String imp:scriptPkgImports) { / buffer.append(String.format("importPackage(%s)\n", imp)); / } / / for(String imp:scriptClazzImports) { / buffer.append(String.format("importClass(%s)\n", imp)); / }- Specified by:
getMappingsAtin interfaceScriptTableModel- Overrides:
getMappingsAtin classAbstractScriptTableModel- Parameters:
row-col-- Returns:
- the column mapping for the specified cell
-
getColumnTitle
Deprecated.Description copied from interface:TableDataSourceGet the name of the specified column- Specified by:
getColumnTitlein interfaceTableDataSource- Parameters:
col-- Returns:
- the column title
-
getColumnIndex
Deprecated.- Specified by:
getColumnIndexin interfaceTableDataSource
-