• Home
    • View
    • Login
    This page
    • Normal
    • Export PDF
    • Export Word
    • Attachments
    • Page Information

    Loading...
  1. Dashboard
  2. OpenJFX
  3. Main
  4. Projects and Components
  5. Controls
  6. User Experience Specifications
  7. Pagination User Experience Documentation

Pagination User Experience Documentation

  • Created by Jindrich Dinga, last modified on Sep 19, 2013

Author: Jindrich Dinga

1. Introduction

This document is the user experience specification for the JavaFX Pagination control.

 

2. Overview

Pagination is a control that is used for navigation between pages of a single content, which has been divided into smaller parts.

On Desktop, this type of control is usually used in web applications (e.g. for displaying search results or showing mails in a mailbox) to avoid long lists that server and browser would not be able to handle. On other platforms, e.g. touch, page navigation can be used for browsing through single pages of an article or navigation between screens.

 

3. Interaction Design

Pagination control consists from buttons that represent the content that has been divided into separate pages. Users can switch between pages by tapping number buttons or by tapping Previous and Next buttons. On the first page, Previous button must always be disabled. Once users are on a page other than the first one, Previous button becomes enabled. Similarly to Previous button, Next button must be disabled when users reach the last page.

Figure 1 Navigation represented by numbers

The following picture shows states of buttons used in Page navigation control.

Figure 2 Page navigation states

Since this type of navigation can be used in so many ways, e.g. on touch platform for navigating between screens, application developers must be allowed to use other page indication (e.g. dots, rectangles, or other shape) instead of numbers.

Figure 3 Navigation represented by dots

Note that Pagination control is capable of showing tooltip above the page buttons as well as PageInfo that informs users what page users are on and what is the total number of pages. The PageInfo format is as follows: selected page/total number of pages. In case the total number of pages is unknown three dots (...) appear.

Figure 4 Tooltip and Info page

For page buttons represented by numbers the default setting is: Tooltip OFF, PageInfo ON. For page buttons represented by dots the default setting is: Tooltip ON, PageInfo ON. Application developers are allowed to change this settings as well as change alignment of PageInfo.

If the tooltip is enabled, it should appear over a selected page button immediately after the page is selected. The tooltip should fade in and stay visible for a short time (e.g. 3 seconds), then it should fade out.

On touch platforms, users switch between pages by swiping their finger across the screen in the desired direction or by tapping dots or rectangles.

Note that Touch devices can rotate. Because of this, sizes of Pagination should adjust automatically based on the available mode (Landscape or Portrait).

When using Pagination control, application developers must be able to specify what part of content should fit in one page. Also, application developers must be able to specify how many page buttons should appear in Page navigation. The default number is 10, however, the developer should be allowed to override this number. If end-users resize a window, which contains Pagination control, and the specified number of page buttons cannot fit in the Page navigation shows as many page buttons as can fit. Note that selected page must always be visible in the Page navigation. If there are fewer pages available, the Page navigation must show page buttons just for available pages.

 

4. Navigation

Mouse Support

The following table describes actions that are performed when users click on:

All platformsAction
Left arrowGo to previous page if allowed.

Pressing Left arrow key when the first page in a set is selected brings up previous set, if applicable, in which the last page is selected.
Right arrowGo to next page if allowed.

Pressing Right arrow key when the last page in a set is selected brings up next set, if applicable, in which the first page is selected.
A Dot or Page numberGo to selected page.

 

Touch Support

The following table describes actions that are performed when users tap on:

 Action
Left arrowGo to previous page if allowed.

Pressing Left arrow key when the first page in a set is selected brings up previous set, if applicable, in which the last page is selected.
Right arrowGo to next page if allowed.

Pressing Right arrow key when the last page in a set is selected brings up next set, if applicable, in which the first page is selected.
A Dot or Page numberGo to selected page.

In case users swipe their finger across the screen:

 Action
From left to rightGo to previous page if allowed.

Swiping from left to right when the first page in a set is selected brings up previous set, if applicable, in which the last page is selected.
From right to leftGo to next page if allowed.

Swiping from right to left when the last page in a set is selected brings up next set, if applicable, in which the first page is selected.

 

Directional Keys + OK/Select

The following table describes actions that are performed when users navigate to the page navigation using the arrows keys and press:

 Action
LEFT arrowGo to previous page if allowed.

Pressing LEFT arrow key when the first page in a set is selected brings up previous set, if applicable, in which the last page is selected.
RIGHT arrowGo to next page if allowed.

Pressing RIGHT arrow key when the last page in a set is selected brings up next set, if applicable, in which the first page is selected.

 

Keyboard Support

The following table describes what happens when users press the following keys when the page navigation is focused:

 Action
LEFT arrowSelect the previous page button and display its corresponding page. Do nothing if the very first page button is selected.

When the first page button in a set is selected, pressing left arrow key brings up the previous set. The last page button in the set is selected and its corresponding page is displayed.
RIGHT arrowSelect the next page button and display its corresponding page. Do nothing if the very last page button is selected.

When the last page button in a set is selected, pressing right arrow key brings up the next set. The first page button in the set is selected and its corresponding page is displayed.
Overview
Content Tools
ThemeBuilder
  • No labels

Terms of Use
• License: GPLv2
• Privacy • Trademarks • Contact Us

Powered by a free Atlassian Confluence Open Source Project License granted to https://www.atlassian.com/software/views/opensource-community-additional-license-offer. Evaluate Confluence today.

  • Kolekti ThemeBuilder Powered by Atlassian Confluence 8.5.22
  • Kolekti ThemeBuilder printed.by.atlassian.confluence
  • Report a bug
  • Atlassian News
Atlassian
Kolekti ThemeBuilder EngineAtlassian Confluence
{"serverDuration": 296, "requestCorrelationId": "3af154a52fcb5dd2"}