Package edu.wisc.ssec.mcidasv.control
Class MultiSpectralControl.ColorEditor
java.lang.Object
javax.swing.AbstractCellEditor
edu.wisc.ssec.mcidasv.control.MultiSpectralControl.ColorEditor
- All Implemented Interfaces:
ActionListener
,Serializable
,EventListener
,CellEditor
,TableCellEditor
- Enclosing class:
MultiSpectralControl
public class MultiSpectralControl.ColorEditor
extends AbstractCellEditor
implements TableCellEditor, ActionListener
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionprivate final JButton
private final JColorChooser
private Color
private JDialog
protected static final String
Fields inherited from class javax.swing.AbstractCellEditor
changeEvent, listenerList
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
getTableCellEditorComponent
(JTable table, Object value, boolean isSelected, int row, int column) 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
-
Field Details
-
currentColor
-
button
-
colorChooser
-
dialog
-
EDIT
- See Also:
-
-
Constructor Details
-
ColorEditor
public ColorEditor()
-
-
Method Details
-
actionPerformed
- Specified by:
actionPerformed
in interfaceActionListener
-
getCellEditorValue
- Specified by:
getCellEditorValue
in interfaceCellEditor
-
getTableCellEditorComponent
public Component getTableCellEditorComponent(JTable table, Object value, boolean isSelected, int row, int column) - Specified by:
getTableCellEditorComponent
in interfaceTableCellEditor
-