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

    Loading...
  1. Dashboard
  2. Undefined Space
  3. OpenJFX
  4. DatePicker User Experience Documentation

Page History

Versions Compared

Old Version 1

changes.mady.by.user Jindrich Dinga

Saved on Aug 29, 2013

compared with

New Version 2

changes.mady.by.user Jindrich Dinga

Saved on Sep 19, 2013

  • Next Change: Difference between versions 2 and 3
  • View Page History

Key

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

...

Overview of DatePicker Control

DatePicker OverviewImage RemovedImage Added

Please note that the title case should be used in case of months and days of week.

...

In addition, application developers must be allowed to modify the behavior in such a way so the calendar automatically pops-up when the field is focused.

DatePicker control

DatePicker ControlImage RemovedImage Added

By default, the field does not contain any prompt text, however, application developers can implement it by themselves. If a prompt text is needed, it is recommended to get the required date format through API and display it as a

...

Example of DateField with a prompt

Example of a prompt textImage RemovedImage Added

 

Note that every string that is used in the DatePicker control should be localized in all supported languages.

...

JavaFX DatePicker control is able to display various date formats based on user's locale.

Examples of date formats

Examples of date formatsImage RemovedImage Added

Day Restriction

...

Example of a restricted day (12/22/2012)

Example of restricted daysImage RemovedImage Added

Weeks of the year

...

Example of the calendar showing weeks of the year

Example of the calendar showing weeks of the yearImage RemovedImage Added

Bidirectional Locales

...

Example of Islamic calendar

Example of Islamic calendarImage RemovedImage Added

East Asia Calendars

...

Example of the calendar showing two months

Example of DatePicker showing two monthsImage RemovedImage Added

Time

In some cases, application developers may require users to provide them with time. If so, application developers can enable showing controls that help users to enter the time into the field. These controls appear in the pop-up after a day is entered in the field.

Examples of date formats along with time

Examples of date formats along with timeImage RemovedImage Added

In addition to the time, it would be nice if application developers are allowed to enable showing a time zone drop down in the calendar.

Example of the calender showing the time and time zone controls

Example of the calender showing the time and time zone controlImage RemovedImage Added

Please note that if users select 12h time format, AM or PM appends the time that is displayed in the field, e.g.11:28:28AM.

...

Example of the calendar showing an image

Example of the calendar showing an imageImage RemovedImage Added

6. Navigation

Mouse - the following table describes actions that are performed when users click on:

Date FieldDisplay caret in the field. When modified, the calendar may also pop-up.
IconDisplay/Hide the calendar.
LEFT ArrowDisplay previous month/year.
RIGHT ArrowDisplay next month/year.
DayUpdate the field with selected date and close the calendar.
Outside the calendarClose the calendar without updating the field.

Note that when the mouse cursor is above the month or year, users may use the scroll wheel to scroll months or years.

...

Visual Design of DatePicker (Click to enlarge)

Visual Design of DatePickerImage RemovedImage Added

Overview
Content Tools
ThemeBuilder

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.23
  • Kolekti ThemeBuilder printed.by.atlassian.confluence
  • Report a bug
  • Atlassian News
Atlassian
Kolekti ThemeBuilder EngineAtlassian Confluence
{"serverDuration": 931, "requestCorrelationId": "a0ae289d24e38e64"}