How can I create a custom component that is made up of other components? For example, I want to create a custom component that is a Window. Within the window, I want to have groups of ComboBoxes in a horizontal row.
Something like this:
- ComboBoxRow - Custom Component, extends View, contains 4 ComboBoxes in a horizontal layout
- ComboBoxGroup - Custom Component, extends View, a vertical layout of CombBoxRows
- Container - Custom Component, extends Window, a vertical layout of ComboBoxGroups
I also want to have custom functions for the Container, like so:
- addCombBoxGroup()
- addComboBoxRow(groupId)
- removeCombBoxRow(rowId)
- removeComboBoxGroup(groupId)
Thanks.