Class EntitySearchField

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible, Scrollable, SwingConstants

public final class EntitySearchField extends HintTextField
A UI component based on the EntitySearchModel. The search is triggered by the ENTER key and behaves in the following way: If the search result is empty a message is shown, if a single entity fits the condition then that entity is selected, otherwise a component displaying the entities fitting the condition is shown in a dialog allowing either a single or multiple selection based on the search model settings. EntitySearchField.ListSelector is the default EntitySearchField.Selector. Use builder(EntitySearchModel) or builder(EntityType, EntityConnectionProvider) for a builder instance.
See Also: