org.bklab.flow.base.GeneratedVaadinTabsFactory Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of fluent-vaadin-flow Show documentation
Show all versions of fluent-vaadin-flow Show documentation
Broderick Labs for fluent vaadin flow. Inherits common Vaadin components.
package org.bklab.flow.base;
import com.vaadin.flow.component.tabs.GeneratedVaadinTabs;
import com.vaadin.flow.component.tabs.TabsVariant;
import org.bklab.flow.IFlowFactory;
@SuppressWarnings("unchecked")
public interface GeneratedVaadinTabsFactory, E extends GeneratedVaadinTabsFactory> extends IFlowFactory,
HasStyleFactory, HasThemeFactory {
default E themeVariants(TabsVariant... themeVariants) {
get().addThemeVariants(themeVariants);
return (E) this;
}
default E removeThemeVariants(TabsVariant... removeThemeVariants) {
get().removeThemeVariants(removeThemeVariants);
return (E) this;
}
default E lumoIconOnTop() {
get().addThemeVariants(TabsVariant.LUMO_ICON_ON_TOP);
return (E) this;
}
default E lumoCentered() {
get().addThemeVariants(TabsVariant.LUMO_CENTERED);
return (E) this;
}
default E lumoSmall() {
get().addThemeVariants(TabsVariant.LUMO_SMALL);
return (E) this;
}
default E lumoMinimal() {
get().addThemeVariants(TabsVariant.LUMO_MINIMAL);
return (E) this;
}
default E lumoHideScrollButtons() {
get().addThemeVariants(TabsVariant.LUMO_HIDE_SCROLL_BUTTONS);
return (E) this;
}
default E lumoEqualWidthTabs() {
get().addThemeVariants(TabsVariant.LUMO_EQUAL_WIDTH_TABS);
return (E) this;
}
default E materialFixed() {
get().addThemeVariants(TabsVariant.MATERIAL_FIXED);
return (E) this;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy