JDK-8092281 : Datatype based Input control - like Integer Input Control
  • Type: Enhancement
  • Component: javafx
  • Sub-Component: controls
  • Affected Version: fx2.0.2
  • Priority: P4
  • Status: Open
  • Resolution: Unresolved
  • Submitted: 2011-09-16
  • Updated: 2018-09-05
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
Other
tbdUnresolved
Related Reports
Relates :  
Description
Can we have data type based input Text control like Text control only accepting integer, double or some specified set of values?
Currently we have Text input control which can accept any random text. Creating event handler to validate the values does not seem to work properly as events can generated very quickly by fast typing. Can you suggest some best practices if this is the only way of doing this?

Am I missing something?

Thanks.
Comments
There are two blog posts here about this topic: http://fxexperience.com/2012/02/restricting-input-on-a-textfield/ http://fxexperience.com/2012/02/moneyfield/
25-06-2012