new Control CalendarLabel

12 views
Skip to first unread message

Thomas Bolz

unread,
May 19, 2013, 2:31:10 PM5/19/13
to jfxtr...@googlegroups.com
Hi team,

I just moved my CalendarLabel to the jfxtras project. Its purpose is to display the value of a Calendar according to the DateFormat, that is set in the control. Both values are stored in a property and the control reacts on changes in either Property. Using a normal Label and a Bindings Expression allows - to my understanding - only to react on changes in the Calendar not of the Format, as the Format cannot be set as JavaFX Property. 
The use case of such a control would be to have an i18ned date label whose DateFormat can be changed during runtime (e.g. by changing the language settings of an application).
Surprisingly, this use case can be found in my mortgage calculator ;-)
If you think this can be useful to other people we keep it, if you think this is clutter or I just have not understood the out of the box functionality of JavaFX Bindings just let me know, I am happy to move it to my private library again.

Cheers

Thomas

Tom

unread,
May 19, 2013, 2:41:46 PM5/19/13
to jfxtr...@googlegroups.com
Seems like a good control to have.

Tom
> --
> You received this message because you are subscribed to the Google Groups "JFXtras Developers" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to jfxtras-dev...@googlegroups.com.
> To post to this group, send email to jfxtr...@googlegroups.com.
> Visit this group at http://groups.google.com/group/jfxtras-dev?hl=en.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>

Reply all
Reply to author
Forward
0 new messages