Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The following figure demonstrates focus traversal after pressing Down key two times from the control #1.

Non-Mouse Traversal PolicyImage RemovedImage Added 

The focus traversal gets to control #2 and #3 as it is the closest control to the currently selected column. In the same sequence, if users press Right key when control #2 has focus, the focus moves to the closest control that is on right of the currently focused control and selects next column. Pressing Down key navigates to control Y.

...

The only difference that should be mentioned here is that on non-touch platforms there is no Enter/Return key that would activate the default button. Giving that, this functionality can be disabled.

Image: Button

Visual Design Specification of ButtonImage RemovedImage Added

The following table describes actions that are performed when the focus traversal is on a button and users press the following keys:

UpMove the focus traversal up.
DownMove the focus traversal down.
LeftMove the focus traversal left.
RightMove the focus traversal right.
OK/SelectActivate the button.

 

...

Charts on non-touch platforms behave exactly same as on Desktop.

Image: LineChart

Visual Design Specification of LineChartImage RemovedImage Added

Image: BarChart

Visual Design Specification of BarChartImage RemovedImage Added

Image: AreaChart

Visual Design Specification of AreaChartImage RemovedImage Added

CheckBox

There is no difference in behavior of check boxes on Desktop and non-touch platforms. When selected, check boxes switch their settings.

Image: CheckBox

Visual Design Specification of CheckBoxImage RemovedImage Added

The following table describes actions that are performed when the focus traversal is on a check box and users press the following keys:

UpMove the focus traversal up.
DownMove the focus traversal down.
LeftMove the focus traversal left.
RightMove the focus traversal right.
OK/SelectSwitch the setting of the check box.

 

...

Based on specification that came from our visual designer, it is recommended to use 9pt font size as a default font size on Embedded devices. However, this font size may change based on results from testing on a real device.

Image: Label

Visual Design Specification for LabelImage RemovedImage Added

Pagination

The functionality of a Pagination control on non-touch platforms stays same as on Desktop.

...

Note that when the focus traversal is on selected page button, pressing Left or Right key will switch pages.

Image: Pagination

Visual Design Specification of PaginationImage RemovedImage Added

The following table describes actions that are performed when the focus traversal is in a pagination and users press the following keys:

UpMove the focus traversal up.
DownMove the focus traversal down.
LeftMove the focus traversal left. If the focus traversal is on selected page button, select the previous page.
RightMove the focus traversal right. If the focus traversal is on selected page button, select the next page.

 

...

Progress bars are useful for communicating that a job is in-process. Even if progress bars are occupied with buttons, there is no difference in behavior of progress bars on Desktop and non-touch platforms.

Image: ProgressBar

Visual Design Specification of ProgressBarImage RemovedImage Added

ProgressIndicator

...

Image: Progress Indicator

Visual Design Specification of ProgressIndicatorImage RemovedImage Added

RadioButton

There is no difference in functionality of radio buttons on Desktop and non-touch platforms. On the other hand, there is a difference in navigation.

On Desktop, users traverse between controls by pressing TAB key. When a radio button group is focused, they use arrow keys to change selection within the group. But on non-touch platforms, where there is no TAB key present and where we try to avoid the "2-level selection" as much as possible, users will need to traverse over all radio buttons in the same group to reach other focusable control. The radio button selection is done using OK/Select key.

Image: RadioButton

Visual Design Specification of RadioButtonImage RemovedImage Added

The following table describes actions that are performed when the focus traversal is on a non-selected radio button and users press the following keys:

UpMove the focus traversal up.
DownMove the focus traversal down.
LeftMove the focus traversal left.
RightMove the focus traversal right.
OK/SelectIf the radio button is not selected, select the radio button and deselect radio buttons that are in the same group. If the radio button is already selected, no action is performed.

 

...

There are no functionality constraints on non-touch platforms - the scroll bars are used to identify that there is more content below the fold. The only difference between Desktop and non-touch platforms is that users are not allowed to interact with scroll buttons or scroll bars.

Image: ScrollBar

Visual Design Specification of ScrollBarImage RemovedImage Added

ScrollPane

There is no difference in functionality of scroll panes on Desktop and non-touch platforms.

...

On non-touch platforms, users are not allowed to interact with the splitter at all so the splitter is locked. Other than that, there is no difference in functionality of split panes on Desktop and non-touch platforms.

Image: SplitPane

Visual Design Specification of SplitPaneImage RemovedImage Added

The following table describes actions that are performed when the focus traversal is in a split pane and users press the following keys:

UpMove the focus traversal up.
DownMove the focus traversal down.
LeftMove the focus traversal left.
RightMove the focus traversal right.

 

...

Note that when the focus traversal is on selected tab, pressing Left and Right (tabs on top or bottom of TabPane) or Up and Down (tabs on right or left of TabPane) key will switch tabs.

Image: TabPane

Visual Design Specification of TabPaneImage RemovedImage Added

The following table describes actions that are performed when the focus traversal is in a tab pane and users press the following keys:

Tabs on Top or Bottom of TabPane

UpMove the focus traversal up.
DownMove the focus traversal down.
LeftMove the focus traversal left. If the focus traversal is on selected tab, select the previous tab.
RightMove the focus traversal right. If the focus traversal is on selected tab, select the next tab.

Tabs on Left or Right of TabPane

UpMove the focus traversal up. If the focus traversal is on selected tab, select the previous tab.
DownMove the focus traversal down. If the focus traversal is on selected tab, select the next tab.
LeftMove the focus traversal left.
RightMove the focus traversal right.

 

...

There is no difference in functionality of Titled Panes on Desktop and non-touch platforms.

Image: TitledPane

Visual Design SPecification of TitledPaneImage RemovedImage Added

The following table describes actions that are performed when the focus traversal is in a titled pane and users press the following keys:

UpMove the focus traversal up.
DownMove the focus traversal down.
LeftMove the focus traversal left.
RightMove the focus traversal right.
OK/SelectPerform action that is associated with the control. If the focus traversal is on the title and the turner is visible, expand or collapse the pane.

 

...

There is no main difference in behavior of buttons on Desktop and non-touch platforms. When selected, the buttons perform actions that are assigned to them.

Image: ToggleButton

Visual Design Specification of ToggleButtonImage RemovedImage Added

The following table describes actions that are performed when the focus traversal is on a toggle button and users press the following keys:

UpMove the focus traversal up.
DownMove the focus traversal down.
LeftMove the focus traversal left.
RightMove the focus traversal right.
OK/SelectIf the toggle button is not selected, select the button and perform the associated action. If the toggle button is selected, deselect the button and perform the associated action.

 

...

When the focus traversal is on the first/last item in a column and users press Up/Down key, the focus traversal moves to the previous/next focusable control following rules defined in the non-mouse traversal policy. Similarly to this, if the focus traversal is on the first/last item in a row and users press Left/Right key, the focus traversal moves to the previous/next focusable control following rules defined in the non-mouse traversal policy.

Image: ToolBar

Visual Design Specification of ToolBarImage RemovedImage Added

The following table describes actions that are performed when the focus traversal is in a tool bar and users press the following keys:

UpMove the focus traversal up.
DownMove the focus traversal down.
LeftMove the focus traversal left.
RightMove the focus traversal right.

 

...

Image: ChoiceBox in Traverse and Interactive Mode

Visual Design Specification of Choice BoxImage RemovedImage Added

The following table describes actions that are performed when the focus traversal is on a choice box and users press the following keys:

UpMove the focus traversal up.
DownMove the focus traversal down.
LeftMove the focus traversal left.
RightMove the focus traversal right.
OK/SelectSwitch the choice box to the "interactive" mode.

Next table describes actions that are performed when a choice box is in the "interactive" mode (the list is open) and users press the following keys:

UpMove one item up.
DownMove one item down.
OK/SelectSelect the current value, close the list, and switch the choice box to the "traverse" mode.

 

...

Image: Regular ComboBox in Traverse and Interactive Mode

Visual Design Specification of Regular ComboBoxImage RemovedImage Added

On the other hand, when the editable combo box is in the "interactive" mode, the caret appears in the field allowing users to enter a value. Users can also use Up or Down keys to change value in the field. When done, users must press OK/Select key to commit the value and switch the combo box from the "interactive" mode to the "traverse" mode.

Image: Editable ComboBox in Traverse and Interactive Mode

Visual Design Specification of Editable ComboBoxImage RemovedImage Added

The following table describes actions that are performed when the focus traversal is on a combo box and users press the following keys:

UpMove the focus traversal up.
DownMove the focus traversal down.
LeftMove the focus traversal left.
RightMove the focus traversal right.
OK/SelectSwitch the combo box to the "interactive" mode.

Next tables describe actions that are performed when a combo box is in the "interactive" mode (the list is open) and users press the following keys:

Regular Combo Box

UpMove one item up.
DownMove one item down.
OK/SelectSelect the current value, close the list, and switch the combo box to the "traverse" mode.

Editable Combo Box

UpChange value in the combo box.
DownChange value in the combo box.
LeftMove the caret left by one character. The text may scroll to keep the caret visible. The left arrow key results in no change when the cursor is positioned to the left of the very first entered character.
RightMove the caret right by one character. The text may scroll to keep the caret visible. The right arrow key results in no change when the cursor is positioned to the right of the very last entered character.
HW keyType a character.
OK/SelectCommit the current value and switch the combo box to the "traverse" mode.

 

...

Image: ListView in Traverse and Interactive Mode

Visual Design Specification of ListViewImage RemovedImage Added

The following table describes actions that are performed when the focus traversal is on a list view and users press the following keys:

UpMove the focus traversal up.
DownMove the focus traversal down.
LeftMove the focus traversal left.
RightMove the focus traversal right.
OK/SelectSwitch the list view to the "interactive" mode.

Next tables describe actions that are performed when a list view is in the "interactive" mode and users press the following keys:

Vertical Orientation

UpMove the focus traversal up by one item. The list may scroll to keep the focus traversal visible.
DownMove the focus traversal down by one item. The list may scroll to keep the focus traversal visible.
OK/SelectSelect the item and switch the list view to the "traverse" mode.

Horizontal Orientation

LeftMove the focus traversal left by one item. The list may scroll to keep the focus traversal visible.
RightMove the focus traversal right by one item. The list may scroll to keep the focus traversal visible.
OK/SelectSelect the item and switch the list view to the "traverse" mode.

Vertical Orientation (ListView is the sole node in a container)

UpMove the focus traversal up by one item. The list may scroll to keep the focus traversal visible.
DownMove the focus traversal down by one item. The list may scroll to keep the focus traversal visible.
LeftMove the focus traversal to a control that is on left of ListView.
RightMove the focus traversal to a control that is on right of ListView.
OK/SelectPerform the action.

Horizontal Orientation (ListView is the sole node in a container)

UpMove the focus traversal to a control that is above ListView.
DownMove the focus traversal to a control that is below ListView.
LeftMove the focus traversal left by one item. The list may scroll to keep the focus traversal visible.
RightMove the focus traversal right by one item. The list may scroll to keep the focus traversal visible.
OK/SelectPerform the action.

 

...

Image: PasswordField in Traverse and Interactive Mode

Visual Design Specification of PasswordFieldImage RemovedImage Added

For details about behavior of a password field, see TextField control.

...

Image: Slider in Traverse and Interactive ModeVisual Design Specification of SliderImage Removed

Image Added

The following table describes actions that are performed when the focus traversal is on a slider and users press the following keys:

UpMove the focus traversal up.
DownMove the focus traversal down.
LeftMove the focus traversal left.
RightMove the focus traversal right.
OK/SelectSwitch the slider to the "interactive" mode.

Next tables describe actions that are performed when a slider is in the "interactive" mode and users press the following keys:

Horizontal Orientation

LeftDecrease the value by one step.
RightIncrease the value by one step.
OK/SelectCommit the value and switch the slider to the "traverse" mode.

Vertical Orientation

UpIncrease the value by one step.
DownDecrease the value by one step.
OK/SelectCommit the value and switch the slider to the "traverse" mode.

 

...

Image: TableView in Traverse and Interactive Mode

Visual Design Specification of TableViewImage RemovedImage Added

The following table describes actions that are performed when the focus traversal is on a table view and users press the following keys:

UpMove the focus traversal up.
DownMove the focus traversal down.
LeftMove the focus traversal left.
RightMove the focus traversal right.
OK/SelectSwitch the table view to the "interactive" mode.

Next tables describe actions that are performed when a table view is in the "interactive" mode and users press the following keys:

UpMove the focus traversal up by one item.
DownMove the focus traversal down by one item.
LeftMove the focus traversal left by one item.
RightMove the focus traversal right by one item.
OK/SelectSelect the item and switch the table view to the "traverse" mode.

TableView is the sole node in a container

UpMove the focus traversal up by one item.
DownMove the focus traversal down by one item.
LeftMove the focus traversal left by one item.
RightMove the focus traversal right by one item.
OK/SelectPerform the action.

 

...

In contrast to Desktop, TextArea on non-touch platforms will not support the following functionality unless it is supported by the HW keyboard:

  • no "cancel changes" support and
  • no copy, paste, or selection support.

TextArea is a control that can trap the focus traversal and cause users to get stuck. Giving that, users need to press OK/Select key to switch from the "traverse" mode to the "interactive" mode to be able to navigate and interact with this control. Note that the text area in "traverse" mode does not have to display scroll bars. The scroll bars might be visible only when the text area is in the "interactive" mode.

When in the "interactive" mode users can use the navigation keys to scroll the text area (text area in read only mode) or to move the caret within the text area (text area in edit mode). Because there is no support for the virtual keyboard, users must use the HW keyboard to type characters. When done, users must press OK/Select key to switch back from the "interactive" mode to the "traverse" mode.

Image: TextArea in Traverse and Interactive ModeVisual Design Specification of TextAreaImage Removed

Image Added

The following table describes actions that are performed when the focus traversal is on a text area and users press the following keys:

UpMove the focus traversal up.
DownMove the focus traversal down.
LeftMove the focus traversal left.
RightMove the focus traversal right.
OK/SelectSwitch the text area to the "interactive" mode.

Next tables describe actions that are performed when a text area is in the "interactive" mode and users press the following keys:

Text Area in Read Only Mode

UpScroll the text area up by one step.
DownScroll the text area down by one step.
LeftScroll the text area left by one step.
RightScroll the text area right by one step.
OK/SelectSwitch the text area to the "traverse" mode.

Text Area in Edit Mode

UpMove the caret up by one row. The text may scroll to keep the caret visible. The up arrow key results in no change when the cursor is positioned to the left of the very first entered character.
DownMove the caret down by one row. The text may scroll to keep the caret visible. The down arrow key results in no change when the cursor is positioned to the right of the very last entered character.
LeftMove the caret left by one character. The text area may scroll to keep the caret visible. The left arrow key results in no change when the cursor is positioned to the left of the very first entered character.
RightMove the caret right by one character. The text area may scroll to keep the caret visible. The right arrow key results in no change when the cursor is positioned to the right of the very last entered character.
HW keyType a character.
OK/SelectSave changes and switch the text area to the "traverse" mode.

 

...

TextField control behaves similarly to TextAreato TextArea. It also does not support the same functionality as TextArea unless it is supported by the HW keyboard.

Similarly to TextArea, TextField also needs to be switched to the "interactive" mode in order to enable users to interact with it. In the "interactive" mode, users can use the navigation keys to move the caret. To type a character, they must use the HW keyboard. When done, users must press OK/Select key to switch back from the "interactive" mode to the "traverse" mode.

Image: TextField in Traverse and Interactive ModeVisual Design Specification of TextFieldImage Removed

Image Added

The following table describes actions that are performed when the focus traversal is on a text field and users press the following keys:

UpMove the focus traversal up.
DownMove the focus traversal down.
LeftMove the focus traversal left.
RightMove the focus traversal right.
OK/SelectSwitch the text field to the "interactive" mode.

Next table describes actions that are performed when a text field is in the "interactive" mode and users press the following keys:

LeftMove the caret left by one character. The text may scroll to keep the caret visible. The left arrow key results in no change when the cursor is positioned to the left of the very first entered character.
RightMove the caret right by one character. The text may scroll to keep the caret visible. The right arrow key results in no change when the cursor is positioned to the right of the very last entered character.
HW keyType a character.
OK/SelectSave changes and switch the text field to the "traverse" mode.

 

TreeView 2-level control NOT FOR

...

LOMBARD (8.0)

Note that this control is not on the list of controls for Embedded platforms, however, since an use-case for this control exists on Embedded platforms, the expected interaction is mentioned here. In addition to that, this control may not be implemented due time and resource constraints.

...

Giving the limited number of keys that are dedicated to the traversal and interaction, functionality of TreeView is also limited. It means that this control will allow users to select a single node only. Selection of multiple nodes will be disabled and developers will need to place e.g. check box controls next to each node to enable this functionality. In addition to that, TreeView on non-touch platforms will have Add, Edit, Reorder, and Delete function disabled. If this functionality is required, developers will need to expose this functionality to end users by themselves.

Image: TreeView in Traverse and Interactive ModeTree ViewImage Removed

Image Added

The following table describes actions that are performed when the focus traversal is on a tree view and users press the following keys:

UpMove the focus traversal up.
DownMove the focus traversal down.
LeftMove the focus traversal left.
RightMove the focus traversal right.
OK/SelectSwitch the tree view to the "interactive" mode.

Next tables describe actions that are performed when a tree view is in the "interactive" mode and users press the following keys:

UpMove the focus traversal up by one node.
DownMove the focus traversal down by one node.
LeftCollapse current selection or go to the parent node.
RightExpand current selection or go to the first child node.
OK/SelectSelect the node and switch the tree view to the "traverse" mode.

TreeView is the sole node in a container

UpMove the focus traversal up by one node.
DownMove the focus traversal down by one node.
LeftCollapse current selection or go to the parent node.
RightExpand current selection or go to the first child node.
OK/SelectSelect the node.

 

4. Appendix

A. Glossary

Common terms used by the JavaFX UI controls are defined once for all controls. See the JavaFX UI Controls - Common Glossary for details.

B. Gesture Definitions

Gestures used by the JavaFX UI controls are defined in one place for all controls. See the JavaFX UI Controls - Gesture Definitions for details.

C. Input Mechanisms

Input Mechanisms used by the JavaFX UI controls are defined in one place for all controls. See the JavaFX UI Controls - Input Mechanisms for details.

D. Examples

...