Package ca.phon.app.query
Class QueryHistoryTableModel
java.lang.Object
javax.swing.table.AbstractTableModel
ca.phon.app.query.QueryHistoryTableModel
- All Implemented Interfaces:
Serializable
,TableModel
- See Also:
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
Property for threading status of modelstatic final String
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 column) int
getColumnName
(int column) getColumnRenderer
(int column) getPropertyChangeListeners
(String propertyName) getQueryForRow
(int rowIndex) int
getValueAt
(int rowIndex, int columnIndex) void
void
removePropertyChangeListener
(String propertyName, PropertyChangeListener listener) void
removeQuery
(Query q) void
setStarredOnly
(boolean selected) void
update()
Update tableMethods inherited from class javax.swing.table.AbstractTableModel
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getListeners, getTableModelListeners, isCellEditable, removeTableModelListener, setValueAt
-
Field Details
-
RUNNING_IN_BACKGROUND
Property for threading status of model- See Also:
-
STARRED_ONLY
- See Also:
-
-
Constructor Details
-
QueryHistoryTableModel
-
-
Method Details
-
addPropertyChangeListener
-
removePropertyChangeListener
-
getPropertyChangeListeners
-
addPropertyChangeListener
-
removePropertyChangeListener
-
getPropertyChangeListeners
-
firePropertyChange
-
getColumnCount
public int getColumnCount() -
getColumnName
- Specified by:
getColumnName
in interfaceTableModel
- Overrides:
getColumnName
in classAbstractTableModel
-
getColumnClass
- Specified by:
getColumnClass
in interfaceTableModel
- Overrides:
getColumnClass
in classAbstractTableModel
-
getColumnRenderer
-
getQueryForRow
-
getRowCount
public int getRowCount() -
getValueAt
-
update
public void update()Update table -
removeQuery
-
setStarredOnly
public void setStarredOnly(boolean selected)
-