public class EnumCellEditor
extends javax.swing.DefaultCellEditor
Modifier and Type | Method and Description |
---|---|
static EnumCellEditor |
createEnumEditor(java.lang.Class<? extends java.lang.Enum> enumeration,
boolean nullAllowed)
Create an EnumCellEditor for the specified Enum subclass.
|
cancelCellEditing, getCellEditorValue, getClickCountToStart, getComponent, getTableCellEditorComponent, getTreeCellEditorComponent, isCellEditable, setClickCountToStart, shouldSelectCell, stopCellEditing
addCellEditorListener, fireEditingCanceled, fireEditingStopped, getCellEditorListeners, removeCellEditorListener
public static EnumCellEditor createEnumEditor(java.lang.Class<? extends java.lang.Enum> enumeration, boolean nullAllowed)
enumeration
- Class of the enumeration to be supportednullAllowed
- whether the JComboBox of the editor is allowed to provide blank/null as a choice (none of the enumeration's values)