controlsfx / controlsfx/controlsfx
How can I show popup of an AutoCompletationBinding
- Dominant language
- Java
- Stars
- 1.7k
- Forks
- 300
- Avg merge
- 16d 17h
- Merged PRs (30d)
- 1
Description
**[Original report](https://bitbucket.org/controlsfx/controlsfx/issue/677) by Hemã Vidal (Bitbucket: [hemavidal](https://bitbucket.org/hemavidal), GitHub: [hemavidal](https://github.com/hemavidal)).**
----------------------------------------
I want to show the autocomplete list with an KeyEvent.KEY_DOWN.
How can i do this?
Ex:
```
#!java
AutoCompletionBinding autoBind = TextFields.bindAutoCompletion(noteTextField, data);
autoBind.setHideOnEscape(true);
autoBind.getCompletionTarget().setOnKeyReleased(new EventHandler() {
@Override
public void handle(KeyEvent ke) {
if (ke.getCode().equals(KeyCode.DOWN)) {
System.out.println("KEY DOWN");
autoBind.showPopup(); //I WANT TO DO THIS
}
}
});
```
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.