Adding blocks of fields dinamically in JavaFX in a screen created using FXML
€30-250 EUR
货到付款
I have a JavaFX screen, which is given in FXML format. (It is important that the screen is in FXML format, we cannot ignore this and generated the whole screen using Java code.) This screen contains a section describing identification documents of a customer. A customer may have multiple documents (passport, ID card, driving licence etc.), so we don't want to make any restriction. And each document has a set of attributes (ID number, issue date, expiry date etc.). We want the use to add as many documents as he wants and to delete whichever he wants. But instead of showing the documents in a table format, we want the following behaviour: by default the screen comes with one block of fields (to allow one document to be added). Plus a "Add more document" button. On pushing the button, a new block of fields should be added (dinamically) to the form, after the first block. Of course, the content of the screen which is below this document section, needs to be shifted further down. This way, any number of new block can be added. Plus each block has a "Remove this document" button. On pushing this button, that given section needs to be removed and the part of screen below that section needs to be shifted up. Please, note that any document can beremoved, not only the last one.
Important: When adding new block, the actual size of the screen should not change, only the content should become scrollable. (If I'm right, Scroll Pane will remain same, Anchor Pane will increase/decrease). I highlighted this because in the attached screenshots I changed the whole screensize, which is not the right approach.
Please, find attached the following:
[url removed, login to view] - this is the screen in FXML format
[url removed, login to view] - this is what we want to see on running the screen
[url removed, login to view] - this is what should happen after using the "Add more documents" button
[url removed, login to view] - this is what should happen on removing a documents using one of the "Remove this document" buttons
[url removed, login to view] - this is what happens when all documents are removed
项目ID: #4971212
关于项目
授予:
有8名威客正在参与此工作的竞标,均价€151/小时
I have been working with javafx for more than a year now. I have already made many applications, including 2 on freelancer itself. You can check the ongoing "Photolicious project" which is completely made on JAVAFX.
Hey we have immense experienced with java swing and javafx desktop application. We are currently developing same kind of application which has dynamically creation of element. We can share the detail.