Author: Dusan Pavlica

1. Introduction

This document is the user experience specification for the JavaFX 2.0 SplitPane UI control.

 

2. Interaction Design

Split pane is a control used for separating multiple panes with ability to change sizes of their areas. Email client showing list of emails on the top separated form email content below is typical example of split pane on desktop platform. The following is an overview of the split pane look.

Figure 1 Splitpane overview

 

Split pane has two resizable areas and there is a narrow splitter between them. User can resize these areas by dragging the splitter or he can double click it.

 

Splitter

There are the following features of the splitter:

 

Drag and Double click behavior

 

Figure 2: Bottom area is minimized and there is different handle icon on the splitter

The application developers must be able to specify MIN and MAX size of the pane, or whether the pane is "resizable with the parent". Please note that it is recommended to have at least one pane in the application to be "resizable with the parent", otherwise an unexpected behavior can occur.

 

3. Keyboard Support

The following table describes actions that are performed when a vertical divider of a SplitPane is focused and users press the following keys:

KeyAction
Left/UpMove the divider by one step left.
Right/DownMove the divider by one step right.

The following table describes actions that are performed when a horizontal divider of a SplitPane is focused and users press the following keys:

KeyAction
Down/RightMove the divider by one step down.
Up/LeftMove the divider by one step up.