Interface AutoCompletionChoicesProvider<O>

  • All Superinterfaces:
    Serializable

    public interface AutoCompletionChoicesProvider<O>
    extends Serializable
    Interfaces to specify a producer for items in an autocompletion menu based on a single search string
    Since:
    May 24, 2008
    Author:
    roland
    • Method Detail

      • getChoices

        Iterator<O> getChoices​(String input)
        Callback method that should return an iterator over all possible choice objects. These objects will be passed to the renderer to generate output for the autocomplete menu
        Parameters:
        input - current input
        Returns:
        iterator over all possible choice objects