I want to generate an UI where someone can navigate through the path of a tree structure. Here is an example of what I want, taken from JavaFX Scene Builder.
Depending on the actual position in an TreeView, this UI is updated. By clicking on individual items the tree is updated.
My question: What Nodes/Controls are best used for this approach? (no full code required. Just mention the name of the controls).
My first idea is to generate a row of buttons closely to each other, but maybe there are better ideas.
Thanks.
TreeView
, notTableView
here? I would probably try withToggleButton
s in a singleToggleGroup
. You can register a listener with theToggleGroup
'sselectedToggleProperty
to update the selection in the tree, and register a listener with the tree's selection model to select a particularToggleButton
. – BohnerTreeView
. I'll have a look atToggleButton
. – Jot