Package ca.phon.app.query
Class ResultSetTableModel
java.lang.Object
javax.swing.table.AbstractTableModel
ca.phon.app.query.ResultSetTableModel
- All Implemented Interfaces:
Serializable
,TableModel
Implements a selectable table model.
- See Also:
-
Nested Class Summary
-
Field Summary
Fields inherited from class javax.swing.table.AbstractTableModel
listenerList
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
void
addPropertyChangeListener
(String propertyName, PropertyChangeListener listener) void
firePropertyChange
(String propertyName, boolean oldValue, boolean newValue) Class<?>
getColumnClass
(int columnIndex) int
getColumnName
(int column) getPropertyChangeListeners
(String propertyName) getQuery()
int
getValueAt
(int rowIndex, int columnIndex) boolean
isCellEditable
(int rowIndex, int columnIndex) void
void
removePropertyChangeListener
(String propertyName, PropertyChangeListener listener) void
resultSetForRow
(int row) void
void
void
setSelected
(ResultSet s, boolean v) void
setValueAt
(Object value, int rowIndex, int columnIndex) Methods inherited from class javax.swing.table.AbstractTableModel
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getListeners, getTableModelListeners, removeTableModelListener
-
Field Details
-
RUNNING_IN_BACKGROUND
Property for threading status of model- See Also:
-
-
Constructor Details
-
ResultSetTableModel
-
-
Method Details
-
addPropertyChangeListener
-
removePropertyChangeListener
-
getPropertyChangeListeners
-
addPropertyChangeListener
-
removePropertyChangeListener
-
getPropertyChangeListeners
-
firePropertyChange
-
setQuery
-
getQuery
-
getColumnCount
public int getColumnCount() -
getRowCount
public int getRowCount() -
getValueAt
-
getColumnClass
- Specified by:
getColumnClass
in interfaceTableModel
- Overrides:
getColumnClass
in classAbstractTableModel
-
getColumnName
- Specified by:
getColumnName
in interfaceTableModel
- Overrides:
getColumnName
in classAbstractTableModel
-
isCellEditable
public boolean isCellEditable(int rowIndex, int columnIndex) - Specified by:
isCellEditable
in interfaceTableModel
- Overrides:
isCellEditable
in classAbstractTableModel
-
setValueAt
- Specified by:
setValueAt
in interfaceTableModel
- Overrides:
setValueAt
in classAbstractTableModel
-
getSelectedSearches
-
resultSetForRow
-
removeResultSet
-
setSelected
-
selectAll
-