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:
-
Field Summary
Fields inherited from class javax.swing.AbstractCellEditor
changeEvent, listenerList
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetTableCellEditorComponent
(JTable table, Object value, boolean isSelected, int row, int column) void
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 Details
-
ColorTableCellEditor
public ColorTableCellEditor() -
ColorTableCellEditor
-
-
Method Details
-
getTableCellEditorComponent
public Component getTableCellEditorComponent(JTable table, Object value, boolean isSelected, int row, int column) - Specified by:
getTableCellEditorComponent
in interfaceTableCellEditor
-
getCellEditorValue
- Specified by:
getCellEditorValue
in interfaceCellEditor
-
propertyChange
- Specified by:
propertyChange
in interfacePropertyChangeListener
-