【发布时间】:2015-02-28 18:27:59
【问题描述】:
我已经创建了 TextField
TextField txtAutocomplete = new TextField();
和实体列表
List<Batch> list = BatchService.list();
并使用 ControlsFX TextFields 使其可自动完成
AutoCompletionBinding<Batch> autoCompletionBinding = TextFields.bindAutoCompletion(txtAutocomplete, list);
当用户选择一个时,有没有办法从 autoCompletionBinding 中检索 Batch 对象?
【问题讨论】:
标签: javafx-8 controlsfx