public class CapabilityTableModel
extends javax.swing.table.AbstractTableModel
RegCapabilityInterface
.Constructor and Description |
---|
CapabilityTableModel()
Constructor.
|
Modifier and Type | Method and Description |
---|---|
RegCapabilityInterface[] |
getCapabilities()
Returns the data array for this table.
|
int |
getColumnCount() |
java.lang.String |
getColumnName(int icol) |
int |
getRowCount() |
java.lang.Object |
getValueAt(int irow,
int icol) |
void |
setCapabilities(RegCapabilityInterface[] caps)
Sets the data for this table.
|
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getColumnClass, getListeners, getTableModelListeners, isCellEditable, removeTableModelListener, setValueAt
public int getColumnCount()
public int getRowCount()
public java.lang.Object getValueAt(int irow, int icol)
public java.lang.String getColumnName(int icol)
getColumnName
in interface javax.swing.table.TableModel
getColumnName
in class javax.swing.table.AbstractTableModel
public void setCapabilities(RegCapabilityInterface[] caps)
caps
- capability arraypublic RegCapabilityInterface[] getCapabilities()
Copyright © 2017 Central Laboratory of the Research Councils. All Rights Reserved.