MaterialTabGroup

Methods
4
Fields
None

Getting one

MaterialTabGroup.new(…)

Methods

MethodReturnsDescription
addTab(any)()Adds a tab.
getTab(number)anyThe tab at the 0-based index, nil when there is none; past the tabs raises IndexOutOfBoundsException.
select(any)booleanSelects the tab and shows its content; false when it is not the group's or refused.
new(display: any?)MaterialTabGroupMaterialTabGroup.new() or MaterialTabGroup.new(display).

Returned by

MethodReturnsDescription
MaterialTabGroupClass.newMaterialTabGroupMaterialTabGroup.new() or MaterialTabGroup.new(display).

Method details

getTab

getTab: (MaterialTabGroup, number) -> any

The tab at the 0-based index, nil when there is none; past the tabs raises IndexOutOfBoundsException.

select

select: (MaterialTabGroup, any) -> boolean

Selects the tab and shows its content; false when it is not the group's or refused.

new

new: (display: any?) -> MaterialTabGroup

MaterialTabGroup.new() or MaterialTabGroup.new(display).