0
\$\begingroup\$

I have a PageView and I want on every page to have an array of MxN items. Each item is a level icon. What if I want to make not just a flat button but the button with labels on top, with stars icons and some other stuff - a separate class, inside of which there will already be a implementation of all of this features, then on the basis of which base class is it better to reproduce? Button? MenuItem? MenuItemImage? As I understand, in PageView, as pages, the derivatives of the Layout are set. In this case, if I woud make an item based on the MenuItem, can I extend a Menu into several pages or do I have to do a few separate Menus on each page? In which container should it be placed, if I make item based on a Button class? Tableview? VBoxes for each row nested in HBox?

\$\endgroup\$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.