This class represents a text field that compares what the user types in the field to a list of possible values and displays a list of matches below the text field. The list of possible matches is defined by a BasicFiltered list object and is set when the AutoCompleteField object is created.
This class is an implementation of the FilteredList interface, which an application can use to match data objects with a search string. The AutoCompleteField uses a BasicFilteredList object as its data source. The BasicFilteredList object can handle an array of strings, an array of objects that implement the toString() method, or a supported data source, such as the contacts application on a BlackBerry device.
The sample application uses BasicFilteredList to define the data sources of each AutoCompleteField.