- Loading...
Author: Dusan Pavlica
This document is the user experience specification for the JavaFX ComboBox control.
...
Figure 1: Combo Box in Swing. There is non editable Combo Box/ Drop Down list on the left hand side.
Figure 2: JavaFX Drop Down List experimental implementation (Author calls it Combo Box)
Figure 3: Editable Combo Box on Windows 7 platform
...
Figure 4: Basic look of Editable Combo Box
There is editable text box area on the top left hand side and drop-down button placed next to it. If user clicks the button the drop-down list is invoked. User can choose an item from the list and it will be populated in the text field area. Or he can add a value into textfield manually.
...
Combo Box - Combo Box can exist in the following different states:
| Normal state |
| Focused state | User can get to the Focused state by Tab Traversal or by clicking the textfield area. Then there is a focus indication around the Combo box Also a key cursor is displayed because the Combo box switches into Edit state right after it gets focus. |
| Disabled state | User can't edit the text or expand dropdown list if the Combo Box is disabled. The Combo Box isn't focusable in that state and user can't use it. |
| Expanded state | Drop-down list appears when user clicks the button. Also there is selection and hover indications visible in the drop down list. User confirms a selection in the dropdown list by mouse click or by dragging from the drop-down arrow to the selection and releasing the mouse button. |
| Hover (Mouse Over) state | This visual indication appears when user points his mouse cursor above the drop down button in the Combo Box. |
| Pressed/Armed state | User clicks the drop down button. |
| Edit state - different position of the cursor | User can edit value in the Combo Box. User confirms the edited value by pressing Enter key. |
| Edit state - the whole value is selected | User can select the whole text in the textfield by pressing Ctrl+A or by double click. |
...