FocusModel too restricted?

2013-09-01 Thread Werner Lehmann
Hi, I am trying to use FocusModel in a custom property sheet component - it is probably a good idea to reuse as much API as possible and make components work similar to each other. However, the focus model makes this more difficult than it should be: 1. Why is it index-based? With methods

Re: FocusModel too restricted?

2013-09-01 Thread Jonathan Giles
Werner, It sounds to me like you're trying to use FocusModel where it may not ideally suit your needs, and rather than roll your own API that is more applicable to your needs, you're hoping to coerce FocusModel to fit to be consistent. Whilst I applaud your eagerness to have an API consistent

Why is almost everything in the API final

2013-09-01 Thread Pedro Duque Vieira
Hi, Why is almost everything in the API final? OK, I understand there is a security problem and not making things final could potential open security holes. What I'm puzzled about is that the rest of the JDK doesn't use this pattern and so I wonder if it is still effective this way? I'm asking

DateAxis..

2013-09-01 Thread Pedro Duque Vieira
Hi, I've created a DateAxis. Basically it extends from ValueAxis and you can pass it dates in the Long format (converting Date to Long and passing in that value). I wonder if this is valuable for the framework (I do see people asking for this) and if so would you like me to submit it for your

Creating custom chart - XYBarChart

2013-09-01 Thread Pedro Duque Vieira
Hi, Sorry for sending in several emails to the mailing list at once. I'm having some issues while creating a custom chart - a XYBarChart, which is a BarChart that can have both axis as ValueAxis. The main issue I'm having is that there are a lot of fields and methods which are package private

Re: DateAxis..

2013-09-01 Thread Jonathan Giles
My experience has been that there have been many people wanting different kinds of axes (to be clear, the plural spelling of axis, JavaFX isn't going medieval), the most popular being date and logarithmic. If you've developed a DateAxis implementation, that is great! I would recommend searching

Re: Why is almost everything in the API final

2013-09-01 Thread Jonathan Giles
Richard will answer this far more effectively than me, but because he is midway through a long weekend I'll give a quick summary based on my recollection. The big issue is that with properties there are effectively two ways to set or get values: you can of course call the getter or setter, or you

hg: openjfx/8/controls/rt: 4 new changesets

2013-09-01 Thread hang . vo
Changeset: 3acaf13c190c Author:jgiles Date: 2013-09-02 12:54 +1200 URL: http://hg.openjdk.java.net/openjfx/8/controls/rt/rev/3acaf13c190c RT-32253: Uncaught exception in static initializer for Control prevents creation of all controls !