javafx - How to map a form to a bean in Java FX -
I have a form with FXL, it has 20 fields. (I am the person) and my controller with 20 controllers (one for each area), o want to know that there is no way to box all these areas in a specific bean like individual bean. Actually, I have to manually set all the areas manually in the initialization method.
In the ID of Fxml input, something like "person.name" has been entered
< P> 100% is not fixed but try something like this:
text = "$ {Controller.person.name}" where the person controls the Property and name is the property of PersonBean.
You must have JavaFX properties such as
ObjectProTi & Lt; PersonBean & gt; PersonProperty (); StringPropertyEnproperty (); But there may be some support for plain JavaBean properties.
Comments
Post a Comment