Package org.esa.snap.ui.color
Class ColorTableCellEditor
- java.lang.Object
-
- javax.swing.AbstractCellEditor
-
- org.esa.snap.ui.color.ColorTableCellEditor
-
- All Implemented Interfaces:
PropertyChangeListener
,Serializable
,EventListener
,CellEditor
,TableCellEditor
public class ColorTableCellEditor extends AbstractCellEditor implements TableCellEditor, PropertyChangeListener
A table cell editor for color values.- Since:
- SNAP 2.0
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class javax.swing.AbstractCellEditor
changeEvent, listenerList
-
-
Constructor Summary
Constructors Constructor Description ColorTableCellEditor()
ColorTableCellEditor(ColorComboBox colorComboBox)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
getCellEditorValue()
Component
getTableCellEditorComponent(JTable table, Object value, boolean isSelected, int row, int column)
void
propertyChange(PropertyChangeEvent evt)
-
Methods inherited from class javax.swing.AbstractCellEditor
addCellEditorListener, cancelCellEditing, fireEditingCanceled, fireEditingStopped, getCellEditorListeners, isCellEditable, removeCellEditorListener, shouldSelectCell, stopCellEditing
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface javax.swing.CellEditor
addCellEditorListener, cancelCellEditing, isCellEditable, removeCellEditorListener, shouldSelectCell, stopCellEditing
-
-
-
-
Constructor Detail
-
ColorTableCellEditor
public ColorTableCellEditor()
-
ColorTableCellEditor
public ColorTableCellEditor(ColorComboBox colorComboBox)
-
-
Method Detail
-
getTableCellEditorComponent
public Component getTableCellEditorComponent(JTable table, Object value, boolean isSelected, int row, int column)
- Specified by:
getTableCellEditorComponent
in interfaceTableCellEditor
-
getCellEditorValue
public Object getCellEditorValue()
- Specified by:
getCellEditorValue
in interfaceCellEditor
-
propertyChange
public void propertyChange(PropertyChangeEvent evt)
- Specified by:
propertyChange
in interfacePropertyChangeListener
-
-