Class OperatorsTableModel
- java.lang.Object
-
- javax.swing.table.AbstractTableModel
-
- org.esa.snap.ui.tooladapter.model.OperatorsTableModel
-
- All Implemented Interfaces:
Serializable
,TableModel
public class OperatorsTableModel extends AbstractTableModel
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class javax.swing.table.AbstractTableModel
listenerList
-
-
Constructor Summary
Constructors Constructor Description OperatorsTableModel(List<ToolAdapterOperatorDescriptor> operators)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Class
getColumnClass(int c)
int
getColumnCount()
String
getColumnName(int col)
ToolAdapterOperatorDescriptor
getObjectAt(int rowIndex)
int
getRowCount()
Object
getValueAt(int rowIndex, int columnIndex)
boolean
isCellEditable(int row, int col)
void
setValueAt(Object value, int row, int col)
-
Methods inherited from class javax.swing.table.AbstractTableModel
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getListeners, getTableModelListeners, removeTableModelListener
-
-
-
-
Constructor Detail
-
OperatorsTableModel
public OperatorsTableModel(List<ToolAdapterOperatorDescriptor> operators)
-
-
Method Detail
-
getRowCount
public int getRowCount()
-
getColumnCount
public int getColumnCount()
-
getValueAt
public Object getValueAt(int rowIndex, int columnIndex)
-
getColumnName
public String getColumnName(int col)
- Specified by:
getColumnName
in interfaceTableModel
- Overrides:
getColumnName
in classAbstractTableModel
-
getColumnClass
public Class getColumnClass(int c)
- Specified by:
getColumnClass
in interfaceTableModel
- Overrides:
getColumnClass
in classAbstractTableModel
-
isCellEditable
public boolean isCellEditable(int row, int col)
- Specified by:
isCellEditable
in interfaceTableModel
- Overrides:
isCellEditable
in classAbstractTableModel
-
setValueAt
public void setValueAt(Object value, int row, int col)
- Specified by:
setValueAt
in interfaceTableModel
- Overrides:
setValueAt
in classAbstractTableModel
-
getObjectAt
public ToolAdapterOperatorDescriptor getObjectAt(int rowIndex)
-
-