JavaFX Form Validation
Daniel Zwolenski
zonski at googlemail.com
Thu Jun 14 00:45:38 PDT 2012
Would it be possible to attach our own arbitrary pseudo classes to controls via code?
Eg. Button.setPseudoClass("highlighted")
That would then cover the error case and much more. Eg I might have 'error', 'warning', 'required', 'highlighted', etc.
I do not know if the CSS engine will be able to handle this.
On 14/06/2012, at 5:19 PM, Gerrit Grunwald <han.solo at muenster.de> wrote:
> +1
> Am 14.06.2012 um 08:37 schrieb Claus Luethje:
>
>> +1
>>
>> -----Original Message-----
>> From: openjfx-dev-bounces at openjdk.java.net [mailto:openjfx-dev-bounces at openjdk.java.net] On Behalf Of Werner Lehmann
>> Sent: Mittwoch, 13. Juni 2012 17:58
>> To: <openjfx-dev at openjdk.java.net>
>> Subject: Re: JavaFX Form Validation
>>
>> +1
>>
>> I think it could be useful to have a css pseudoclass for controls with invalid state.
>>
>> Rgds
>> Werner
>>
>> On 13.06.2012 15:23, Daniel Zwolenski wrote:
>>> My vote is for JFX to provide low level building blocks for developers
>>> to hook in to and then for open source tool kits (like
>>> Jfxtras) to provide the higher level tools. So JFX would have no
>>> validation framework but instead would provide ways to, for example,
>>> visually highlight nodes, and a community built toolkit would use this
>>> to provide a validation framework.
>
More information about the openjfx-dev
mailing list