org.wicketstuff.objectautocomplete.AutoCompletionChoicesProvider Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of wicketstuff-objectautocomplete Show documentation
Show all versions of wicketstuff-objectautocomplete Show documentation
Wicket component for selecting entities via autocomplete
The newest version!
package org.wicketstuff.objectautocomplete;
import java.io.Serializable;
import java.util.Iterator;
/**
* Interfaces to specify a producer for items in an autocompletion menu based on a single search
* string
*
* @author roland
* @since May 24, 2008
*/
public interface AutoCompletionChoicesProvider extends Serializable
{
/**
* 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
*
* @param input
* current input
* @return iterator over all possible choice objects
*/
Iterator getChoices(String input);
}