Package ca.odell.glazedlists.swing
Class AutoCompleteSupport.AutoCompleteCellEditor<E>
- java.lang.Object
-
- javax.swing.AbstractCellEditor
-
- javax.swing.DefaultCellEditor
-
- ca.odell.glazedlists.swing.AutoCompleteSupport.AutoCompleteCellEditor<E>
-
- All Implemented Interfaces:
java.io.Serializable
,javax.swing.CellEditor
,javax.swing.table.TableCellEditor
,javax.swing.tree.TreeCellEditor
- Enclosing class:
- AutoCompleteSupport<E>
public static class AutoCompleteSupport.AutoCompleteCellEditor<E> extends javax.swing.DefaultCellEditor
This extension of DefaultCellEditor exists solely to provide a handle to the AutoCompleteSupport object that is providing autocompletion capabilities to the JComboBox.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AutoCompleteCellEditor(AutoCompleteSupport<E> autoCompleteSupport)
Construct a TableCellEditor using the JComboBox supplied by the givenautoCompleteSupport
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AutoCompleteSupport<E>
getAutoCompleteSupport()
Returns the AutoCompleteSupport object that controls the autocompletion behaviour for the JComboBox.-
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, fireEditingStopped, getCellEditorListeners, removeCellEditorListener
-
-
-
-
Constructor Detail
-
AutoCompleteCellEditor
public AutoCompleteCellEditor(AutoCompleteSupport<E> autoCompleteSupport)
Construct a TableCellEditor using the JComboBox supplied by the givenautoCompleteSupport
. Specifically, the JComboBox is retrieved usingAutoCompleteSupport.getComboBox()
.
-
-
Method Detail
-
getAutoCompleteSupport
public AutoCompleteSupport<E> getAutoCompleteSupport()
Returns the AutoCompleteSupport object that controls the autocompletion behaviour for the JComboBox.
-
-