bsys.propertyview
Class ColorEditor
java.lang.Object
javax.swing.AbstractCellEditor
bsys.propertyview.ColorEditor
- All Implemented Interfaces:
- java.io.Serializable, javax.swing.CellEditor, javax.swing.table.TableCellEditor
class ColorEditor
- extends javax.swing.AbstractCellEditor
- implements javax.swing.table.TableCellEditor
Color editor
- Author:
- Bernard Bou
Fields inherited from class javax.swing.AbstractCellEditor |
changeEvent, listenerList |
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 |
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
theCurrentColor
private java.awt.Color theCurrentColor
- Color being edited
theButton
private javax.swing.JButton theButton
- Button (editor component)
theColorChooser
private javax.swing.JColorChooser theColorChooser
- Color chooser
theColorDialog
private javax.swing.JDialog theColorDialog
- Wrapping color dialog
ColorEditor
public ColorEditor()
- Constructor
getTableCellEditorComponent
public java.awt.Component getTableCellEditorComponent(javax.swing.JTable table,
java.lang.Object thisValue,
boolean isSelected,
int row,
int column)
- Specified by:
getTableCellEditorComponent
in interface javax.swing.table.TableCellEditor
getCellEditorValue
public java.lang.Object getCellEditorValue()
- Specified by:
getCellEditorValue
in interface javax.swing.CellEditor