Package org.yamcs.ui.packetviewer
Class ParametersTableModel
- java.lang.Object
-
- javax.swing.table.AbstractTableModel
-
- org.yamcs.ui.packetviewer.ParametersTableModel
-
- All Implemented Interfaces:
Serializable,TableModel
public class ParametersTableModel extends AbstractTableModel
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class javax.swing.table.AbstractTableModel
listenerList
-
-
Constructor Summary
Constructors Constructor Description ParametersTableModel()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddRow(ParameterValue pv)voidclear()intgetColumnCount()StringgetColumnName(int columnIndex)ParameterValuegetParameterValue(int rowIndex)intgetRowCount()ObjectgetValueAt(int rowIndex, int columnIndex)-
Methods inherited from class javax.swing.table.AbstractTableModel
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getColumnClass, getListeners, getTableModelListeners, isCellEditable, removeTableModelListener, setValueAt
-
-
-
-
Method Detail
-
getRowCount
public int getRowCount()
-
getColumnCount
public int getColumnCount()
-
getColumnName
public String getColumnName(int columnIndex)
- Specified by:
getColumnNamein interfaceTableModel- Overrides:
getColumnNamein classAbstractTableModel
-
getParameterValue
public ParameterValue getParameterValue(int rowIndex)
-
getValueAt
public Object getValueAt(int rowIndex, int columnIndex)
-
clear
public void clear()
-
addRow
public void addRow(ParameterValue pv)
-
-