swingx
  1. swingx
  2. SWINGX-77

JXMonthView: Add year selector drop down

    Details

    • Type: Improvement Improvement
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: 0.9.0
    • Fix Version/s: None
    • Component/s: Calendar
    • Labels:
      None
    • Environment:

      Operating System: All
      Platform: All

    • Issuezilla Id:
      77

      Description

      Currently, the month view panel only allows navigating month by month by
      clicking the left and right arrow. If the user wants to select say year 2009,
      he or she will have to click the right arrow many many times to get to year
      2009.

      So the enhancement request is to add a year selector drop down so that user can
      select any year quickly

        Issue Links

          Activity

          Hide
          dmouse added a comment -

          Definitely.

          Show
          dmouse added a comment - Definitely.
          Hide
          kentang added a comment -

          Please also consider adding a month drop down selector....
          Again, similar reason, if current month is June and the selected month is Dec,
          then user has to click right arrow six times.

          If they have a month drop down, then only two clicks!

          Thanks

          Show
          kentang added a comment - Please also consider adding a month drop down selector.... Again, similar reason, if current month is June and the selected month is Dec, then user has to click right arrow six times. If they have a month drop down, then only two clicks! Thanks
          Hide
          kleopatra added a comment -


          assigned date/month picker related issues to Joshua.

          Show
          kleopatra added a comment - assigned date/month picker related issues to Joshua.
          Hide
          kleopatra added a comment -

          cleanup: subcomponent

          Show
          kleopatra added a comment - cleanup: subcomponent
          Hide
          Karl Schaefer added a comment -
              • Issue 615 has been marked as a duplicate of this issue. ***
          Show
          Karl Schaefer added a comment - Issue 615 has been marked as a duplicate of this issue. ***
          Hide
          rah003 added a comment -

          Anybody knows current status? If so please update target as appropriate.

          Show
          rah003 added a comment - Anybody knows current status? If so please update target as appropriate.
          Hide
          kleopatra added a comment -


          nothing in the pipe plus it's a nice-to-have, so postpone.

          Show
          kleopatra added a comment - nothing in the pipe plus it's a nice-to-have, so postpone.
          Hide
          kleopatra added a comment -
              • Issue 264 has been marked as a duplicate of this issue. ***
          Show
          kleopatra added a comment - Issue 264 has been marked as a duplicate of this issue. ***
          Hide
          irond13 added a comment -
              • Issue 682 has been marked as a duplicate of this issue. ***
          Show
          irond13 added a comment - Issue 682 has been marked as a duplicate of this issue. ***
          Hide
          irond13 added a comment -

          "nothing in the pipe plus it's a nice-to-have, so postpone. "

          I disagree, it's definitely a must-have if you consider using a DatePicker for
          birthday input. If someone could point me in the right direction (i.e. where is
          it that the current two buttons are added) I'd be willing to have a go at it
          myself. I really do think it's that essential.

          Show
          irond13 added a comment - "nothing in the pipe plus it's a nice-to-have, so postpone. " I disagree, it's definitely a must-have if you consider using a DatePicker for birthday input. If someone could point me in the right direction (i.e. where is it that the current two buttons are added) I'd be willing to have a go at it myself. I really do think it's that essential.
          Hide
          perrito666 added a comment -

          I also think that traversing by year would be very useful, since selecting a
          date ten years back is somewhat troublesome currently.
          I'd like to suggest something like Windows API date picker control, which
          behaves like follows:

          • when clicked on month, shows dropdown list of months in current year
          • when clicked on year, shows small editbox and spinner buddy, so user can
            either type year in manually, or spin it up/down (spin step depends on how far
            we have already spinned away from starting position, and it increases "with
            time", so it jumps by one year at start, 10 years after some steps, some more
            years after some more steps etc.)

          This behaviour is quite good and ergonomic, and would make selecting of distant
          years much easier (birthdays, future expiry dates, etc.)

          Show
          perrito666 added a comment - I also think that traversing by year would be very useful, since selecting a date ten years back is somewhat troublesome currently. I'd like to suggest something like Windows API date picker control, which behaves like follows: when clicked on month, shows dropdown list of months in current year when clicked on year, shows small editbox and spinner buddy, so user can either type year in manually, or spin it up/down (spin step depends on how far we have already spinned away from starting position, and it increases "with time", so it jumps by one year at start, 10 years after some steps, some more years after some more steps etc.) This behaviour is quite good and ergonomic, and would make selecting of distant years much easier (birthdays, future expiry dates, etc.)
          Hide
          kleopatra added a comment -

          dooh .. what a long-standing issue, and now really has bunch of votes. Yeah,
          we'll definitely go into allowing easier big-date-jumps - but not any drop-down
          (can't anyway, there's only exactly one drop-down allowed, so couldn't in picker
          with open monthView) nor editor solution. We plan to go the more elegant vista
          style kind-of "zoomable" ranges. My incubator has a mock-up of that, the
          monthview is prepared for it (already has a zoomable property, a dedicated
          header component, renderer-based painting ..) , what's missing is the meat in
          there, that is actually implement the different range panels. High on priority
          for after final.

          Cheers
          Jeanette

          Show
          kleopatra added a comment - dooh .. what a long-standing issue, and now really has bunch of votes. Yeah, we'll definitely go into allowing easier big-date-jumps - but not any drop-down (can't anyway, there's only exactly one drop-down allowed, so couldn't in picker with open monthView) nor editor solution. We plan to go the more elegant vista style kind-of "zoomable" ranges. My incubator has a mock-up of that, the monthview is prepared for it (already has a zoomable property, a dedicated header component, renderer-based painting ..) , what's missing is the meat in there, that is actually implement the different range panels. High on priority for after final. Cheers Jeanette
          Hide
          holzfreiweiss added a comment -

          Great! good news ) Kleopatra, could you give any hints about the time
          horizon please? (FYI: we are/were about to take something other instead of
          DatePicker, because for us the "birthday selection" scenario is critical)

          Cheers
          Tamas (Thomas)

          Show
          holzfreiweiss added a comment - Great! good news ) Kleopatra, could you give any hints about the time horizon please? (FYI: we are/were about to take something other instead of DatePicker, because for us the "birthday selection" scenario is critical) Cheers Tamas (Thomas)
          Hide
          kleopatra added a comment -

          Tamas,

          as you experienced, we're notoriously bad with time-estimates Currently
          discussing the next releases, see f.i.:

          http://forums.java.net/jive/thread.jspa?threadID=55628&tstart=0

          Trying to squeeze this in as soon as possible.

          Sorry for the vagueness
          Jeanette

          Show
          kleopatra added a comment - Tamas, as you experienced, we're notoriously bad with time-estimates Currently discussing the next releases, see f.i.: http://forums.java.net/jive/thread.jspa?threadID=55628&tstart=0 Trying to squeeze this in as soon as possible. Sorry for the vagueness Jeanette
          Hide
          holzfreiweiss added a comment -

          Thanks for quick input!!
          (Actually I was searching on SwingX, SwingLab pages for milestones/deadlines..
          without success.)
          Cheers
          Tamas

          Show
          holzfreiweiss added a comment - Thanks for quick input!! (Actually I was searching on SwingX, SwingLab pages for milestones/deadlines.. without success.) Cheers Tamas
          Hide
          kleopatra added a comment -
              • Issue 1070 has been marked as a duplicate of this issue. ***
          Show
          kleopatra added a comment - Issue 1070 has been marked as a duplicate of this issue. ***
          Hide
          kleopatra added a comment -
          Show
          kleopatra added a comment - relief: http://forums.java.net/jive/thread.jspa?threadID=60595 Enjoy! Jeanette
          Hide
          kleopatra added a comment -
          • added implementation of CalendarHeaderHandler which controls a spinner for the
            year (SpinningCalendarHeaderHandler)
          • implemented minimal configuration support via the UIManager values for the new
            header:
          • control whether or not the spinner is focusable (default is false)
          • control whether or not the month nav arrows surround the month text (default
            is false)
          • added support to BasicMonthViewUI to find/instantiate custom header
            implementation via a class name registered in the UIManager
          • updated tests

          Guys, for my taste this looks ugly - but I'm not the visual designer So if
          you come up with improvements (discussed and agreed upon in the forum), I would
          happily commit them.

          Waiting for feedback
          Jeanette

          Show
          kleopatra added a comment - added implementation of CalendarHeaderHandler which controls a spinner for the year (SpinningCalendarHeaderHandler) implemented minimal configuration support via the UIManager values for the new header: control whether or not the spinner is focusable (default is false) control whether or not the month nav arrows surround the month text (default is false) added support to BasicMonthViewUI to find/instantiate custom header implementation via a class name registered in the UIManager updated tests Guys, for my taste this looks ugly - but I'm not the visual designer So if you come up with improvements (discussed and agreed upon in the forum), I would happily commit them. Waiting for feedback Jeanette
          Hide
          kleopatra added a comment -
              • Issue 1093 has been marked as a duplicate of this issue. ***
          Show
          kleopatra added a comment - Issue 1093 has been marked as a duplicate of this issue. ***
          Hide
          trejkaz added a comment -

          I'm interested in this too. The company I work for writes software which
          essentially handles only historical data.

          Show
          trejkaz added a comment - I'm interested in this too. The company I work for writes software which essentially handles only historical data.
          Hide
          Emmanuel Bourg added a comment -

          Moving up or down by one year is fundamental for many use cases. As a quick workaround I would suggest implementing SHIFT+Clic on the buttons to skip one year instead of one month.

          Show
          Emmanuel Bourg added a comment - Moving up or down by one year is fundamental for many use cases. As a quick workaround I would suggest implementing SHIFT+Clic on the buttons to skip one year instead of one month.
          Hide
          Emmanuel Bourg added a comment -

          Here is a simple patch implementing the shift+clic action on the buttons to skip one year.

          Show
          Emmanuel Bourg added a comment - Here is a simple patch implementing the shift+clic action on the buttons to skip one year.

            People

            • Assignee:
              kleopatra
              Reporter:
              kentang
            • Votes:
              17 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated: