I've created TextField
TextField txtAutocomplete = new TextField();
and List of entities
List<Batch> list = BatchService.list();
and made it autocompletable using ControlsFX TextFields
AutoCompletionBinding<Batch> autoCompletionBinding = TextFields.bindAutoCompletion(txtAutocomplete, list);
is there a way to retrieve a Batch object from autoCompletionBinding when user selects one?