MaterialTab

Methods
2
Fields
None

Getting one

MaterialTab.new(…)

Methods

MethodReturnsDescription
setOnSelectEvent(() -> boolean)()A BooleanSupplier (a function, or a table with getAsBoolean) asked before the tab is selected.
new(textOrIcon: any, group: any, content: any)MaterialTabMaterialTab.new(textOrIcon, group, content).

Returned by

MethodReturnsDescription
MaterialTabClass.newMaterialTabMaterialTab.new(textOrIcon, group, content).

Method details

setOnSelectEvent

setOnSelectEvent: (MaterialTab, () -> boolean) -> ()

A BooleanSupplier (a function, or a table with getAsBoolean) asked before the tab is selected.

new

new: (textOrIcon: any, group: any, content: any) -> MaterialTab

MaterialTab.new(textOrIcon, group, content).