Package org.esa.snap.rcp.pixelinfo
Class PixelInfoViewTableModel
- java.lang.Object
-
- javax.swing.table.AbstractTableModel
-
- org.esa.snap.rcp.pixelinfo.PixelInfoViewTableModel
-
- All Implemented Interfaces:
Serializable
,TableModel
public class PixelInfoViewTableModel extends AbstractTableModel
- Since:
- BEAM 4.5.2
- Version:
- $Revision$ $Date$
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class javax.swing.table.AbstractTableModel
listenerList
-
-
Constructor Summary
Constructors Constructor Description PixelInfoViewTableModel(String[] columnNames)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addRow(String name, String value, String unit)
void
clear()
Class<?>
getColumnClass(int columnIndex)
int
getColumnCount()
String
getColumnName(int column)
int
getRowCount()
Object
getValueAt(int rowIndex, int columnIndex)
void
updateValue(String aValue, int row)
-
Methods inherited from class javax.swing.table.AbstractTableModel
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getListeners, getTableModelListeners, isCellEditable, removeTableModelListener, setValueAt
-
-
-
-
Constructor Detail
-
PixelInfoViewTableModel
public PixelInfoViewTableModel(String[] columnNames)
-
-
Method Detail
-
getColumnClass
public Class<?> getColumnClass(int columnIndex)
- Specified by:
getColumnClass
in interfaceTableModel
- Overrides:
getColumnClass
in classAbstractTableModel
-
getColumnName
public String getColumnName(int column)
- Specified by:
getColumnName
in interfaceTableModel
- Overrides:
getColumnName
in classAbstractTableModel
-
getColumnCount
public int getColumnCount()
-
getRowCount
public int getRowCount()
-
getValueAt
public Object getValueAt(int rowIndex, int columnIndex)
-
updateValue
public void updateValue(String aValue, int row)
-
clear
public void clear()
-
-