All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.wicketstuff.objectautocomplete.AutoCompletionChoicesProvider Maven / Gradle / Ivy

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);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy