Package jmri.util.table
Class JComboBoxEditor
- java.lang.Object
-
- javax.swing.AbstractCellEditor
-
- javax.swing.DefaultCellEditor
-
- jmri.util.table.JComboBoxEditor
-
- All Implemented Interfaces:
java.io.Serializable
,javax.swing.CellEditor
,javax.swing.table.TableCellEditor
,javax.swing.tree.TreeCellEditor
public class JComboBoxEditor extends javax.swing.DefaultCellEditor
Basic cell editor for JComboBox with optional callback.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description JComboBoxEditor(javax.swing.JComboBox<?> comboBox, java.lang.Runnable callback)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
fireEditingStopped()
-
Methods inherited from class javax.swing.DefaultCellEditor
cancelCellEditing, getCellEditorValue, getClickCountToStart, getComponent, getTableCellEditorComponent, getTreeCellEditorComponent, isCellEditable, setClickCountToStart, shouldSelectCell, stopCellEditing
-
Methods inherited from class javax.swing.AbstractCellEditor
addCellEditorListener, fireEditingCanceled, getCellEditorListeners, removeCellEditorListener
-
-
-
-
Constructor Detail
-
JComboBoxEditor
public JComboBoxEditor(javax.swing.JComboBox<?> comboBox, @CheckForNull java.lang.Runnable callback)
-
-
Method Detail
-
fireEditingStopped
protected void fireEditingStopped()
- Overrides:
fireEditingStopped
in classjavax.swing.AbstractCellEditor
-
-