public class LegacyTableComboBoxCellEditor extends AbstractComboBoxCellEditor
_comboBox
DEFAULT_CELL_EDITOR_BORDER
_clickCountToStart
changeEvent, listenerList
Constructor and Description |
---|
LegacyTableComboBoxCellEditor(TableModel model)
Creates a
LegacyTableComboBoxCellEditor . |
LegacyTableComboBoxCellEditor(TableModel model,
Class<?> type)
Creates a
LegacyTableComboBoxCellEditor . |
Modifier and Type | Method and Description |
---|---|
AbstractComboBox |
createAbstractComboBox()
Creates an AbstractComboBox or its subclass used by this cell editor.
|
AbstractComboBox |
createAbstractComboBox(ComboBoxModel model,
Class<?> type)
Creates an AbstractComboBox or its subclass used by this cell editor.
|
protected TableComboBox |
createTableComboBox()
Creates the TableComboBox.
|
protected TableComboBox |
createTableComboBox(TableModel model,
Class<?> type)
Deprecated.
please use
createTableComboBox() instead. |
TableModel |
getTableModel()
Gets the table model.
|
actionPerformed, customizeAbstractComboBox, getCellEditorValue, getComboBox, getTableCellEditorComponent, isEditorStyleSupported, itemStateChanged, popupMenuCanceled, popupMenuWillBecomeInvisible, popupMenuWillBecomeVisible, setCellEditorValue, setConverter, stopCellEditing
getConverter, getConverterContext, getEditorContext, getEditorStyle, getType, isUseConverterContext, setConverterContext, setEditorContext, setEditorStyle, setType, setUseConverterContext
addValidationListener, getClickCountToStart, getDefaultErrorBehavior, getValidationListeners, isAutoStopCellEditing, isCellEditable, isPassEnterKeyToTable, removeValidationListener, setAutoStopCellEditing, setClickCountToStart, setDefaultErrorBehavior, setPassEnterKeyToTable, validate
addCellEditorListener, cancelCellEditing, fireEditingCanceled, fireEditingStopped, getCellEditorListeners, removeCellEditorListener, shouldSelectCell
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addCellEditorListener, cancelCellEditing, isCellEditable, removeCellEditorListener, shouldSelectCell
public LegacyTableComboBoxCellEditor(TableModel model)
LegacyTableComboBoxCellEditor
.model
- the TableModelpublic LegacyTableComboBoxCellEditor(TableModel model, Class<?> type)
LegacyTableComboBoxCellEditor
.model
- the TableModel
type
- the element type.public TableModel getTableModel()
public AbstractComboBox createAbstractComboBox(ComboBoxModel model, Class<?> type)
AbstractComboBoxCellEditor
AbstractComboBoxCellEditor.createAbstractComboBox()
, this method takes a ComboBoxModel and type. By default, this method will call
createAbstractComboBox() but subclass can override it to create an AbstractComboBox.createAbstractComboBox
in class AbstractComboBoxCellEditor
model
- the combobox model.type
- the type of the element in the model.public AbstractComboBox createAbstractComboBox()
AbstractComboBoxCellEditor
createAbstractComboBox
in class AbstractComboBoxCellEditor
protected TableComboBox createTableComboBox()
@Deprecated protected TableComboBox createTableComboBox(TableModel model, Class<?> type)
createTableComboBox()
instead.model
- the TableModel
.type
- the element type.