Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8091666

[Spinner] Review LocalDate and LocalTime spinner value factories

    Details

    • Type: Enhancement
    • Status: Open
    • Priority: P3
    • Resolution: Unresolved
    • Affects Version/s: 8u40
    • Fix Version/s: tbd
    • Component/s: javafx
    • Labels:

      Description

      Because the Spinner shows a simple TextField, it is not possible for a user to specify which element of a date or time they want to increment. This means that the increment / decrement functionality can only step by the ChronoUnit passed in by the developer, and this leads to negative user experiences. Ideally we would allow for users to click inside the textfield and specify which element they want to increment (hour, minute, or second), or (day, month, year).

      One option is to remove these two spinner value factories until such time that we can support this use case. This is probably the direction I am leaning...

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                aghaisas Ajit Ghaisas
                Reporter:
                jgiles Jonathan Giles
              • Votes:
                1 Vote for this issue
                Watchers:
                7 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Imported: