public class PolicyPassiveScanTableModel extends DefaultTableModel
columnIdentifiers, dataVector
listenerList
Constructor and Description |
---|
PolicyPassiveScanTableModel() |
Modifier and Type | Method and Description |
---|---|
void |
addScanner(PluginPassiveScanner scanner) |
void |
applyThreshold(Plugin.AlertThreshold threshold,
String quality) |
void |
applyThresholdToAll(Plugin.AlertThreshold threshold) |
Class<?> |
getColumnClass(int c) |
int |
getColumnCount() |
String |
getColumnName(int col) |
int |
getRowCount() |
Object |
getValueAt(int row,
int col) |
boolean |
isCellEditable(int rowIndex,
int columnIndex) |
void |
persistChanges() |
void |
removeScanner(PluginPassiveScanner scanner)
Removes the given
scanner from this table model. |
void |
reset() |
void |
setValueAt(Object value,
int row,
int col) |
addColumn, addColumn, addColumn, addRow, addRow, convertToVector, convertToVector, getDataVector, insertRow, insertRow, moveRow, newDataAvailable, newRowsAdded, removeRow, rowsRemoved, setColumnCount, setColumnIdentifiers, setColumnIdentifiers, setDataVector, setDataVector, setNumRows, setRowCount
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getListeners, getTableModelListeners, removeTableModelListener
public void addScanner(PluginPassiveScanner scanner)
scanner
- public void persistChanges()
public void reset()
public void applyThreshold(Plugin.AlertThreshold threshold, String quality)
public void applyThresholdToAll(Plugin.AlertThreshold threshold)
public void removeScanner(PluginPassiveScanner scanner)
scanner
from this table model.scanner
- the scanner that will be removed from the modelpublic Class<?> getColumnClass(int c)
getColumnClass
in interface TableModel
getColumnClass
in class AbstractTableModel
c
- public String getColumnName(int col)
getColumnName
in interface TableModel
getColumnName
in class DefaultTableModel
col
- public boolean isCellEditable(int rowIndex, int columnIndex)
isCellEditable
in interface TableModel
isCellEditable
in class DefaultTableModel
rowIndex
- columnIndex
- public void setValueAt(Object value, int row, int col)
setValueAt
in interface TableModel
setValueAt
in class DefaultTableModel
value
- row
- col
- public int getColumnCount()
getColumnCount
in interface TableModel
getColumnCount
in class DefaultTableModel
public int getRowCount()
getRowCount
in interface TableModel
getRowCount
in class DefaultTableModel
public Object getValueAt(int row, int col)
getValueAt
in interface TableModel
getValueAt
in class DefaultTableModel