Ola
Assuming that I have this layout... From the look of things, this follows some kind of tree structure. We have 3 parent items, each with different children etc. e.c
Each element, has a name and an element type and from the property bag, one is able to pick up which properties were used, i.e. the ones that are banano specific.
For example, looking at this VBottomSheet component..
There are some boolean and string props that are checked / unchecked and some strings that are completed and some not.
I'm curious. If possible, as some form of an explainer documentation.
The third element with VToolBar2, produces
So to create this, the tree is like this..
VBottomSheet2
VBottomSheet2>VSheet2
VBottomSheet2>VSheet2>VToolBar2
VBottomSheet2>VSheet2>VToolBar2>VLabel4
VBottomSheet2>VSheet2>VToolBar2>VBtn4
Each of these items have properties in the property bag.
So my ultimate documentation could for example, reading the layout elements, get the schema in this type of parent child relationship and also reading the properties that are specified (leave false out / empty strings)
For example..
VBottomSheet2\FullScreen:True
VBottomSheet2\HideOverlay:True
VBottomSheet2\Inset:True
Etc, etc. I can then generate a document / tree structure based on this for my eBook.
Is it possible to get a tree structure like this from the b4j layout files either with b4j / banano?
Hopefully I have explained my thoughts well. Thanks in advance for your advise and help.
?