public class SpiderPanelTableModel extends AbstractTableModel
listenerList
Constructor and Description |
---|
SpiderPanelTableModel()
Instantiates a new spider panel table model.
|
SpiderPanelTableModel(boolean incFlags)
Instantiates a new spider panel table model.
|
Modifier and Type | Method and Description |
---|---|
void |
addScanResult(String uri,
String method,
String flags,
boolean skipped)
Adds a new spider scan result.
|
List<String> |
getAddedNodes() |
Class<?> |
getColumnClass(int columnIndex)
Returns the type of column for given column index.
|
int |
getColumnCount() |
String |
getColumnName(int column) |
int |
getRowCount() |
Object |
getValueAt(int row,
int col) |
void |
removeAllElements()
Removes all the elements.
|
void |
removesScanResult(String uri,
String method)
Removes the scan result for a particular uri and method.
|
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getListeners, getTableModelListeners, isCellEditable, removeTableModelListener, setValueAt
public SpiderPanelTableModel()
public SpiderPanelTableModel(boolean incFlags)
public String getColumnName(int column)
getColumnName
in interface TableModel
getColumnName
in class AbstractTableModel
public int getColumnCount()
public int getRowCount()
public Object getValueAt(int row, int col)
public void removeAllElements()
public void addScanResult(String uri, String method, String flags, boolean skipped)
uri
- the urimethod
- the methodflags
- the flagsskipped
- true
if the result was skipped, false
otherwisepublic void removesScanResult(String uri, String method)
uri
- the urimethod
- the methodpublic Class<?> getColumnClass(int columnIndex)
getColumnClass
in interface TableModel
getColumnClass
in class AbstractTableModel
columnIndex
- the column index