Class 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
    • Nested Class Summary

      • Nested classes/interfaces inherited from class javax.swing.DefaultCellEditor

        javax.swing.DefaultCellEditor.EditorDelegate
    • Field Summary

      • Fields inherited from class javax.swing.DefaultCellEditor

        clickCountToStart, delegate, editorComponent
      • Fields inherited from class javax.swing.AbstractCellEditor

        changeEvent, listenerList
    • Constructor Summary

      Constructors 
      Constructor Description
      AutoCompleteCellEditor​(AutoCompleteSupport<E> autoCompleteSupport)
      Construct a TableCellEditor using the JComboBox supplied by the given autoCompleteSupport.
    • 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
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface javax.swing.CellEditor

        addCellEditorListener, removeCellEditorListener
    • Constructor Detail

      • AutoCompleteCellEditor

        public AutoCompleteCellEditor​(AutoCompleteSupport<E> autoCompleteSupport)
        Construct a TableCellEditor using the JComboBox supplied by the given autoCompleteSupport. Specifically, the JComboBox is retrieved using AutoCompleteSupport.getComboBox().
    • Method Detail

      • getAutoCompleteSupport

        public AutoCompleteSupport<E> getAutoCompleteSupport()
        Returns the AutoCompleteSupport object that controls the autocompletion behaviour for the JComboBox.