Testing Javafx Properties [message #1852546] |
Mon, 23 May 2022 09:43 |
Mike Bray Messages: 60 Registered: May 2019 |
Member |
|
|
Prior to version 8.5 it was possible to test the value of a property within a Javafx control. I used this to test a 'selected' property. I am using version 8.8 now and this shows that the ub_trt_checkPropertyAtMousePosition test is depreciated. What is the replacement for this?
Mike Bray
|
|
|
|
|
Re: Testing Javafx Properties [message #1852599 is a reply to message #1852549] |
Thu, 26 May 2022 13:12 |
Mike Bray Messages: 60 Registered: May 2019 |
Member |
|
|
The trick is that the property must be created when the class is loaded, i.e. as a class variable and it must be initialized, (property=new Simple<type>Property(), not initialized when the object is created, i.e in the constructor.
Mike Bray
|
|
|
Powered by
FUDForum. Page generated in 0.03042 seconds