Right now, you can add pagination to your javafx project, with a bit of inline java and JavaObject. Actually you could do it like a customView without adding any special library because Pagination is in the core javafx library.
Right now, you can add pagination to your javafx project, with a bit of inline java and JavaObject. Actually you could do it like a customView without adding any special library because Pagination is in the core javafx library.
I believe that it is not that hard, but it is pretty late here and i cannot do it right now, as soon as i can i will upload an example project (if someone else does not upload it first)
I believe that it is not that hard, but it is pretty late here and i cannot do it right now, as soon as i can i will upload an example project (if someone else does not upload it first)
First of all, i must say that my Java skills are almost non existent, Attached you will find an example on how to work with pagination.
After initialization, you have to load everytime the layout and set anchors to the requiered nodes. Why? because it uses a callback function with a pageFactory, what that means? i am not so sure.
First of all, i must say that my Java skills are almost non existent, Attached you will find an example on how to work with pagination.
After initialization, you have to load everytime the layout and set anchors to the requiered nodes. Why? because it uses a callback function with a pageFactory, what that means? i am not so sure.
Based on your fine example, here is my output. Looks and works GREAT! Now the user can select any hour (since that is what the value represents in the paginator), instead of having to increment each with the arrow buttons. Also, user can zoom in, down to one second, if desired.
Thanks for your help. The inline Java ability is fantastic to get jobs done (add components or features) that do not exist otherwise.
Based on your fine example, here is my output. Looks and works GREAT! Now the user can select any hour (since that is what the value represents in the paginator), instead of having to increment each with the arrow buttons. Also, user can zoom in, down to one second, if desired.
Thanks for your help. The inline Java ability is fantastic to get jobs done (add components or features) that do not exist otherwise.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.