addTab
addTab: (MaterialTabGroup, any) -> ()Adds a tab.
MaterialTabGroup.new(…)| Method | Returns | Description |
|---|---|---|
addTab(any) | () | Adds a tab. |
getTab(number) | any | The tab at the 0-based index, nil when there is none; past the tabs raises IndexOutOfBoundsException. |
select(any) | boolean | Selects the tab and shows its content; false when it is not the group's or refused. |
new(display: any?) | MaterialTabGroup | MaterialTabGroup.new() or MaterialTabGroup.new(display). |
| Method | Returns | Description |
|---|---|---|
MaterialTabGroupClass.new | MaterialTabGroup | MaterialTabGroup.new() or MaterialTabGroup.new(display). |
addTabaddTab: (MaterialTabGroup, any) -> ()Adds a tab.
getTabgetTab: (MaterialTabGroup, number) -> anyThe tab at the 0-based index, nil when there is none; past the tabs raises IndexOutOfBoundsException.
selectselect: (MaterialTabGroup, any) -> booleanSelects the tab and shows its content; false when it is not the group's or refused.
newnew: (display: any?) -> MaterialTabGroupMaterialTabGroup.new() or MaterialTabGroup.new(display).