Uses of Interface
io.github.mmm.ui.api.widget.tab.UiTab
-
-
Uses of UiTab in io.github.mmm.ui.api.widget.tab
Methods in io.github.mmm.ui.api.widget.tab that return UiTab Modifier and Type Method Description default UiTab
UiTabPanel. addTab(String text, UiRegularWidget child)
Adds the givenUiRegularWidget
as new tab (and the end of all existing tabs).
IMPORTANT: In case youmake
theUiTab
closable
, it will remove itself aschild
from thisUiTabPanel
when the end-user closes it.UiTab
UiTabPanel. addTab(String text, UiRegularWidget child, int index)
Adds the givenUiRegularWidget
as new tab at the givenindex
.default UiTab
UiTabPanel. addTab(String text, Supplier<UiRegularWidget> childSupplier)
Adds a new tab (and the end of all existing tabs) with the content provided lazily from the givenSupplier
(when the tab is selected for the first time).UiTab
UiTabPanel. addTab(String text, Supplier<UiRegularWidget> childSupplier, int index)
Adds a new tab at the givenindex
with the content provided lazily from the givenSupplier
(when the tab is selected for the first time).Methods in io.github.mmm.ui.api.widget.tab with parameters of type UiTab Modifier and Type Method Description static UiTabPanel
UiTabPanel. of(UiTab... children)
-