public class GuardNodeTableModel
extends javax.swing.table.DefaultTableModel
Constructor and Description |
---|
GuardNodeTableModel() |
Modifier and Type | Method and Description |
---|---|
void |
addRow(java.lang.Object[] rowData)
Add rowdata with given data object array
|
void |
clear()
Clear the table model of all data
|
java.lang.Class |
getColumnClass(int index)
Get column class at given index
|
int |
getColumnCount()
Get the number of columns
|
java.lang.String |
getColumnName(int index)
Get column name at given index
|
int |
getEnabledCount() |
java.lang.Object |
getValueAt(int row,
int col)
Get cell value as object at row,col
|
boolean |
isCellEditable(int row,
int col)
Test if the cell is editable
|
void |
setColumnName(java.lang.String name,
int index)
Set the column name at the specified index
|
void |
setValueAt(java.lang.Object value,
int row,
int col)
Set cell value at row,col
|
void |
setValueAt(java.lang.Object value,
java.lang.String finger,
int col)
Set value with given fingerprint at given column
|
addColumn, addColumn, addColumn, addRow, convertToVector, convertToVector, getDataVector, getRowCount, 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 int getEnabledCount()
public void clear()
public int getColumnCount()
getColumnCount
in interface javax.swing.table.TableModel
getColumnCount
in class javax.swing.table.DefaultTableModel
public boolean isCellEditable(int row, int col)
isCellEditable
in interface javax.swing.table.TableModel
isCellEditable
in class javax.swing.table.DefaultTableModel
row
- Cell rowcol
- Cell columnpublic void setValueAt(java.lang.Object value, java.lang.String finger, int col)
value
- Valuefinger
- Fingerprintcol
- Columnpublic void setValueAt(java.lang.Object value, int row, int col)
setValueAt
in interface javax.swing.table.TableModel
setValueAt
in class javax.swing.table.DefaultTableModel
value
- row
- col
- public java.lang.Object getValueAt(int row, int col)
getValueAt
in interface javax.swing.table.TableModel
getValueAt
in class javax.swing.table.DefaultTableModel
row
- col
- public void addRow(java.lang.Object[] rowData)
addRow
in class javax.swing.table.DefaultTableModel
rowData
- public java.lang.String getColumnName(int index)
getColumnName
in interface javax.swing.table.TableModel
getColumnName
in class javax.swing.table.DefaultTableModel
index
- public void setColumnName(java.lang.String name, int index)
name
- index
- public java.lang.Class getColumnClass(int index)
getColumnClass
in interface javax.swing.table.TableModel
getColumnClass
in class javax.swing.table.AbstractTableModel
index
-