 |
Home | Changes | Index | Search | Go
A collection of SwingX' calender widgets' status, design decisions, past and future goals.
Work-In-Progress
BasicMonthViewUI
A central cleanup issue is #748-swingx - change painting to use renderers. Originally planned for post-final, it's already in progress, mostly because the rendering side-steps the anti-aliasing issues we experienced. Milestones on the road:
- formalize grid-coordinates (screen, logical) and implement a complete set of coordinate transformation methods
- internally introduce renderers and move their providing and configuration into a dedicated controller (CalendarRenderingHandler, default implementation is BasicCalendarRenderingHandler). Use SwingX mechanisms (CalendarCellContext, CalendarState) to config content and default visuals
- internally introduce usage of Highlighters et al (CalendarAdapter) into the rendering handler
- TODO: open renderers (StringValues might be enough), highlighters for external configuration. That's done tentatively for the StringValues used for formatting date-related numbers, to alleviate default formats don't pick arabic digits, which actually is a core issue.
- Code experiments with custom renderer/highlighter in kleopatra incubator section (decorate with fake moon phases).
Forum Links
Issues
Old Open Questions
- date in picker "cleaned" (that is zeroed time elements)? Currently (and previously as far as I can tell) it does. If we want to keep the complete date/time, we'll need to thoroughly define the its relation to the other incarnation of the date in the picker (that is in the editor and the monthview selection). This has been resolved by moving the responsibility completely into the DateSelectionModel. The default does normalize the dates, there's another implementations which doesn't.
|