Tabs, in any graphical user interface, are very often used to optimize the space taken by some content on the screen. They make it possible to show several content areas, one at a time, by clicking on the corresponding tab. A tab may be set to one of these 3 states:
Knowing that when a set of tabs are attached to the same content panel, only one of them can be selected at any given time. This implies that when one tab is selected and the user selects another one, the first one will become normal again. A tab should be able to be deactivated after it has been created.
The simple way to add Tab widget to your application is as follows
The whole list of configuration parameters is available in TabCfg bean.
Tab widget is not a container widget, so the content of the Tab widget have to be placed in tabpanel widget.
- It is possible to close a tab: using a close icon, it should be possible to remove a tab from the screen.
- It is possible to give several types of styling to a tab (the images and colors used for the normal, disabled and active tabs should be skinnable)
- It is possible to add ellipse to the tab.
The bindable properties of tab widget are
For more information please read the article on Widget bindings.