spinner component
Jonathan Giles
jonathan.giles at oracle.com
Mon Dec 26 01:19:30 PST 2011
Sounds like you're making good progress!
With regards to the StringConverterFactory, I recently posted to this
list about pre-building a number of StringConverter types. You can find
the code attached here: http://javafx-jira.kenai.com/browse/RT-17956. It
is my intention to get this into the JavaFX 2.1 repo in the next week
seeing as there has been no feedback. This may save you from having to
pre-build the same functionality...
When you're keen to have your API slightly more formally reviewed, feel
free to ping me and I'll be happy to take a look.
-- Jonathan
On 26/12/2011 6:18 p.m., Tom Eugelink wrote:
>
> Ok, I've added "editable" to the JFXtras code, which checks with the
> data provider is the entered value is within the domain. Not sure yet
> how to best handle an error situation there. Need to find out how
> other controls do that.
>
> Also created a jfxtras.util.StringConverterFactory, so there is a
> place to put common converters (for string, integers, etc).
>
> Added step size to the integer ranges in the data provider factory.
> Basically step size is "index * stepsize" (was no biggy), this way the
> spinner always does steps of 1, only the conversion to value changes
> (in the end the experience is identical).
>
>
>
> On 2011-12-23 00:46, Jonathan Giles wrote:
>> We've just made available the UX specs for Date Picker and Spinner here:
>> http://openjdk.java.net/projects/openjfx/ux/index.html
>>
>> -- Jonathan
>>
>
>
More information about the openjfx-dev
mailing list