- Loading...
Author: Dusan Pavlica
This document is the user experience specification for the JavaFX 2.0 SplitPane UI control.
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.
There are the following features of the splitter:
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.
The following table describes actions that are performed when a vertical divider of a SplitPane is focused and users press the following keys:
Key | Action |
---|---|
Left/Up | Move the divider by one step left. |
Right/Down | Move 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:
Key | Action |
---|---|
Down/Right | Move the divider by one step down. |
Up/Left | Move the divider by one step up. |