Class BandsTableModel
java.lang.Object
javax.swing.table.AbstractTableModel
org.gvsig.fmap.mapcontext.raster.swing.impl.bands.BandsTableModel
- All Implemented Interfaces:
Serializable,TableModel
- Author:
- fdiaz
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class javax.swing.table.AbstractTableModel
listenerList -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidadd(RasterStoreBand rasterStoreBand) intgetColumnName(int column) getElementAt(int selectedRow) intgetValueAt(int rowIndex, int columnIndex) booleanisCellEditable(int rowIndex, int columnIndex) voidremoveElementAt(int selectedRow) voidsetValueAt(Object aValue, int rowIndex, int columnIndex) Methods inherited from class javax.swing.table.AbstractTableModel
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getColumnClass, getListeners, getTableModelListeners, removeTableModelListener
-
Field Details
-
RGBColorSpace
-
CMYKColorSpace
-
HSLColorSpace
-
YCBCRColorSpace
-
ColorSpaces
-
ColorSpaceNames
-
COLUMN_COLOR
public static final int COLUMN_COLOR- See Also:
-
COLUMN_NODATA
public static final int COLUMN_NODATA- See Also:
-
COLUMN_DATA_TYPE
public static final int COLUMN_DATA_TYPE- See Also:
-
COLUMN_STORE_NAME
public static final int COLUMN_STORE_NAME- See Also:
-
COLUMN_BAND
public static final int COLUMN_BAND- See Also:
-
COLUMN_BAND_NAME
public static final int COLUMN_BAND_NAME- See Also:
-
COLUMN_STORE_FULL_NAME
public static final int COLUMN_STORE_FULL_NAME- See Also:
-
-
Constructor Details
-
BandsTableModel
public BandsTableModel()
-
-
Method Details
-
getRowCount
public int getRowCount() -
getColumnCount
public int getColumnCount() -
getValueAt
-
getColumnName
- Specified by:
getColumnNamein interfaceTableModel- Overrides:
getColumnNamein classAbstractTableModel
-
isCellEditable
public boolean isCellEditable(int rowIndex, int columnIndex) - Specified by:
isCellEditablein interfaceTableModel- Overrides:
isCellEditablein classAbstractTableModel
-
setValueAt
- Specified by:
setValueAtin interfaceTableModel- Overrides:
setValueAtin classAbstractTableModel
-
add
- Parameters:
rasterStoreBand-
-
removeElementAt
public void removeElementAt(int selectedRow) - Parameters:
selectedRow-
-
getElementAt
-