Description
A UITabControl is an empty container which can contain UITabPanel children.
Parameter Rules
activeTab: | Not needed, the bindParent and the bindTarget supply the correct information |
Example: | Leave blank. |
bindParent: | The owner of the bindTarget. |
Example: | R.nextHigherInstance(this,'UITabExample') |
bindTarget: | The name of the rule which holds the index of the currently active tab. |
Example: | 'activeTab' |
orientation: | One of 'top', 'left', 'right', or 'bottom', indicating where the tabs are to be placed. |
Example: | 'top' (default) |
Note: | Make a Parameter Rule (string) in the root named 'activeTab' and put in the tabIndex that |
you want to appear first when you open your UI. The UITabPanel, which is a child of UITabControl, |
has a Parameter Rule named 'tabIndex'. |
Mixins
UIContainer
UIContainerMixin
UIControlMixin
UIStyleMixin
BaseNode
RULE NAME |
TYPE |
DEFAULTS |
CATEGORY |
FLAGS |
activeTab |
string |
"" |
UI |
Cached Spec |
bindParent |
any |
this |
UI |
Cached Spec |
bindTarget |
string |
0 |
UI |
Cached Spec |
orientation |
string |
"activeTab" |
UI |
Cached Spec |
Project Example:
See UITabPanel Discussion for an example and detailed information.