Will JavaFX 8 implement text field validation support?

JavaFX 2 does not provide validation support (mask, input filtering, etc.) It is difficult to adopt technologies that do not provide basic functions I tried to implement my own verifier, but it was a great pain

Any messages about JavaFX 8 validation? I'm trying to find new features, but I don't know where to search. It's hard to find changes in JavaFX 8 I need to know about it because I'm considering using JavaFX to apply new applications

Solution

answer

No, JavaFX 8 does not implement advanced authentication support

opinion

I don't think JavaFX core library can provide comprehensive verification support (this is only my personal opinion)

JavaFX provides a basic library that can implement other libraries JavaFX 2.2 provides enough support for you to write validation libraries on top of JavaFX (people already do)

There are several reasons why you may not want validation support in the JavaFX core library:

>Since JavaFX is part of Java Se and open JFX projects, the Java release process must be followed. For various reasons, the Java release process may be quite slow There are no such restrictions for third-party projects. > Things in JavaFX are just a general way of doing things, and you may want to build multiple frameworks on JavaFX, each for different purposes, and then choose between the frameworks that best meet your needs. > Some advanced validation frameworks may use things such as beans validation, which are only part of the Java EE specification at present JavaFX is written in Java se, so the core framework cannot take advantage of anything in Java EE, although it is desirable for verification. > In general, validation is not isolated, but is usually part of a broader framework, such as a form filling framework or a complete application platform

Third party verification Library

Some example third-party libraries that perform JavaFX field validation are:

> JideFX > FXForm2

I believe that when Java 8 is officially released in a few weeks, it will come with an announcement summarizing the new JavaFX features

You can find all the new features of JavaFX 8 and filter the fixed features of Java 8 This is a result linked to JavaFX 8 fixed feature query Note that linked queries report only larger functions, not minor adjustments

The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
分享
二维码
< <上一篇
下一篇>>