calendar picker chaining

Werner Lehmann lehmann at media-interactive.de
Thu Aug 9 10:28:22 PDT 2012


Hi Tom,

On 09.08.2012 15:17, Tom Eugelink wrote:
> As part of the JFXtras project I've been experimenting with
> CalendarPicker chaining. Basically this means you can chain (connect)
> calendar pickers controls and they will automatically render
> consecutive months.

this calendar chaining feature sounds like a very specific usecase to
me, not something to support on the control level. But I am sure you
have good reason to do this.

> The attached screenshot shows 3 chained pickers,

I think you forgot to attach the screenshot, or the list has removed it...

> And the configuration of the skin; how many months, grid layout
> (2x2, 3x1), also in the CSS? How would I access this information in
> the skin itself?

Without going into the details of your question, let me just say this:
it does not seem to be a problem to access a control from within the
skin class: it is passed to the skin constructor and the skin has to
provide it via getSkinnable anyway. So, a calendar skin could access the
calendar control. Styling is another story though.

Werner


More information about the openjfx-dev mailing list