Package org.esa.snap.rcp.placemark.pin
Class PinTableModel
- java.lang.Object
-
- javax.swing.table.AbstractTableModel
-
- javax.swing.table.DefaultTableModel
-
- org.esa.snap.ui.product.AbstractPlacemarkTableModel
-
- org.esa.snap.rcp.placemark.pin.PinTableModel
-
- All Implemented Interfaces:
Serializable
,TableModel
public class PinTableModel extends AbstractPlacemarkTableModel
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class javax.swing.table.DefaultTableModel
columnIdentifiers, dataVector
-
Fields inherited from class javax.swing.table.AbstractTableModel
listenerList
-
-
Constructor Summary
Constructors Constructor Description PinTableModel(PlacemarkDescriptor placemarkDescriptor, Product product, Band[] selectedBands, TiePointGrid[] selectedGrids)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Class
getColumnClass(int columnIndex)
String[]
getStandardColumnNames()
protected Object
getStandardColumnValueAt(int rowIndex, int columnIndex)
boolean
isCellEditable(int rowIndex, int columnIndex)
void
setValueAt(Object value, int rowIndex, int columnIndex)
-
Methods inherited from class org.esa.snap.ui.product.AbstractPlacemarkTableModel
addPlacemark, dispose, getAdditionalColumnNames, getColumnCount, getColumnIndex, getColumnName, getPlacemarkAt, getPlacemarkDescriptor, getPlacemarks, getProduct, getRowCount, getSelectedBands, getSelectedGrids, getValueAt, removePlacemark, removePlacemarkAt, setGeoPosLat, setGeoPosLon, setPixelPosX, setPixelPosY, setProduct, setSelectedBands, setSelectedGrids
-
Methods inherited from class javax.swing.table.DefaultTableModel
addColumn, addColumn, addColumn, addRow, addRow, convertToVector, convertToVector, getDataVector, insertRow, insertRow, moveRow, newDataAvailable, newRowsAdded, removeRow, rowsRemoved, setColumnCount, setColumnIdentifiers, setColumnIdentifiers, setDataVector, setDataVector, setNumRows, setRowCount
-
Methods inherited from class javax.swing.table.AbstractTableModel
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getListeners, getTableModelListeners, removeTableModelListener
-
-
-
-
Constructor Detail
-
PinTableModel
public PinTableModel(PlacemarkDescriptor placemarkDescriptor, Product product, Band[] selectedBands, TiePointGrid[] selectedGrids)
-
-
Method Detail
-
getStandardColumnNames
public String[] getStandardColumnNames()
- Specified by:
getStandardColumnNames
in classAbstractPlacemarkTableModel
-
isCellEditable
public boolean isCellEditable(int rowIndex, int columnIndex)
- Specified by:
isCellEditable
in interfaceTableModel
- Specified by:
isCellEditable
in classAbstractPlacemarkTableModel
-
getStandardColumnValueAt
protected Object getStandardColumnValueAt(int rowIndex, int columnIndex)
- Specified by:
getStandardColumnValueAt
in classAbstractPlacemarkTableModel
-
getColumnClass
public Class getColumnClass(int columnIndex)
- Specified by:
getColumnClass
in interfaceTableModel
- Overrides:
getColumnClass
in classAbstractPlacemarkTableModel
-
setValueAt
public void setValueAt(Object value, int rowIndex, int columnIndex)
- Specified by:
setValueAt
in interfaceTableModel
- Overrides:
setValueAt
in classAbstractPlacemarkTableModel
-
-