Class TextComponentAdaptor


  • public class TextComponentAdaptor
    extends AbstractAutoCompleteAdaptor
    An implementation of the AbstractAutoCompleteAdaptor that is suitable for a JTextComponent.
    Author:
    Thomas Bierhance
    • Constructor Detail

      • TextComponentAdaptor

        public TextComponentAdaptor​(javax.swing.text.JTextComponent textComponent,
                                    java.util.List<?> items)
        Creates a new TextComponentAdaptor for the given list and text component.
        Parameters:
        items - a List that contains the items that are used for automatic completion
        textComponent - the text component that will be used automatic completion