Class SpectralProfileTableModel
java.lang.Object
javax.swing.table.AbstractTableModel
org.esa.snap.rcp.spectrallibrary.model.SpectralProfileTableModel
- All Implemented Interfaces:
Serializable,TableModel
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsFields inherited from class javax.swing.table.AbstractTableModel
listenerList -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.esa.snap.speclib.model.SpectralProfilegetAt(int row) intClass<?> getColumnClass(int col) intgetColumnName(int col) getIdAt(int row) intgetValueAt(int row, int col) booleanisCellEditable(int rowIndex, int columnIndex) voidvoidsetProfiles(List<org.esa.snap.speclib.model.SpectralProfile> profiles) voidsetSchema(org.esa.snap.speclib.model.AttributeSchema schema) voidsetValueAt(Object aValue, int rowIndex, int columnIndex) Methods inherited from class javax.swing.table.AbstractTableModel
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getListeners, getTableModelListeners, removeTableModelListener
-
Field Details
-
ATTR_DISPLAY_COLOR
- See Also:
-
-
Constructor Details
-
SpectralProfileTableModel
public SpectralProfileTableModel()
-
-
Method Details
-
setProfiles
-
getColorColumnIndex
public int getColorColumnIndex() -
getAt
public org.esa.snap.speclib.model.SpectralProfile getAt(int row) -
getIdAt
-
setEditHandler
-
setSchema
public void setSchema(org.esa.snap.speclib.model.AttributeSchema schema) -
getRowCount
public int getRowCount() -
getColumnCount
public int getColumnCount() -
getColumnName
- Specified by:
getColumnNamein interfaceTableModel- Overrides:
getColumnNamein classAbstractTableModel
-
getValueAt
-
setValueAt
- Specified by:
setValueAtin interfaceTableModel- Overrides:
setValueAtin classAbstractTableModel
-
getColumnClass
- Specified by:
getColumnClassin interfaceTableModel- Overrides:
getColumnClassin classAbstractTableModel
-
isCellEditable
public boolean isCellEditable(int rowIndex, int columnIndex) - Specified by:
isCellEditablein interfaceTableModel- Overrides:
isCellEditablein classAbstractTableModel
-