class SearchResultsDialog.ResultsTableModel
extends javax.swing.table.AbstractTableModel
Constructor and Description |
---|
ResultsTableModel()
Populate the _results list.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Class |
getColumnClass(int column)
Return NameObj.class.
|
int |
getColumnCount()
Return the number of columns, which is one.
|
java.lang.String |
getColumnName(int col)
Get the column header name.
|
int |
getRowCount()
Get the number of rows.
|
java.lang.Object |
getValueAt(int row,
int col)
Get the value at a particular row and column.
|
boolean |
isCellEditable(int row,
int column)
Return false.
|
void |
setContents(java.util.Set<NamedObj> results) |
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getListeners, getTableModelListeners, removeTableModelListener, setValueAt
public int getColumnCount()
public int getRowCount()
public java.lang.String getColumnName(int col)
getColumnName
in interface javax.swing.table.TableModel
getColumnName
in class javax.swing.table.AbstractTableModel
TableModel.getColumnName(int)
public java.lang.Object getValueAt(int row, int col)
row
- The row.col
- The column.public java.lang.Class getColumnClass(int column)
getColumnClass
in interface javax.swing.table.TableModel
getColumnClass
in class javax.swing.table.AbstractTableModel
column
- The column number.public boolean isCellEditable(int row, int column)
isCellEditable
in interface javax.swing.table.TableModel
isCellEditable
in class javax.swing.table.AbstractTableModel
row
- The row number.column
- The column number.public void setContents(java.util.Set<NamedObj> results)