com.jidesoft.grid
Class LegacyColorCellEditor
java.lang.Object
javax.swing.AbstractCellEditor
com.jidesoft.grid.AbstractJideCellEditor
com.jidesoft.grid.ContextSensitiveCellEditor
com.jidesoft.grid.AbstractComboBoxCellEditor
com.jidesoft.grid.LegacyColorCellEditor
- All Implemented Interfaces:
- ConverterContextSupport, EditorContextSupport, EditorStyleSupport, JideCellEditor, ActionListener, ItemListener, Serializable, EventListener, CellEditor, PopupMenuListener, TableCellEditor
public class LegacyColorCellEditor
- extends AbstractComboBoxCellEditor
AbstractComboBox based CellEditor for Color. It uses ColorComboBox to provide an editor for Color. You can override createColorComboBox()
method to provide your own ColorComboBox.
- See Also:
- Serialized Form
Methods inherited from class com.jidesoft.grid.AbstractComboBoxCellEditor |
actionPerformed, createAbstractComboBox, customizeAbstractComboBox, getCellEditorValue, getComboBox, isEditorStyleSupported, itemStateChanged, popupMenuCanceled, popupMenuWillBecomeInvisible, popupMenuWillBecomeVisible, setCellEditorValue, setConverter, stopCellEditing |
Methods inherited from class com.jidesoft.grid.ContextSensitiveCellEditor |
getConverter, getConverterContext, getEditorContext, getEditorStyle, getType, isUseConverterContext, setConverterContext, setEditorContext, setEditorStyle, setType, setUseConverterContext |
Methods inherited from class com.jidesoft.grid.AbstractJideCellEditor |
addValidationListener, getClickCountToStart, getDefaultErrorBehavior, getValidationListeners, isAutoStopCellEditing, isCellEditable, isPassEnterKeyToTable, removeValidationListener, setAutoStopCellEditing, setClickCountToStart, setDefaultErrorBehavior, setPassEnterKeyToTable, validate |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LegacyColorCellEditor
public LegacyColorCellEditor()
- Creates a LegacyColorCellEditor.
createAbstractComboBox
public AbstractComboBox createAbstractComboBox()
- Creates the color combobox used by this cell editor.
- Specified by:
createAbstractComboBox
in class AbstractComboBoxCellEditor
- Returns:
- the color combobox.
createColorComboBox
protected ColorComboBox createColorComboBox()
- Creates the color combobox used by this cell editor.
- Returns:
- the color combobox.
getTableCellEditorComponent
public Component getTableCellEditorComponent(JTable table,
Object value,
boolean isSelected,
int row,
int column)
- Specified by:
getTableCellEditorComponent
in interface TableCellEditor
- Overrides:
getTableCellEditorComponent
in class AbstractComboBoxCellEditor