All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.bklab.flow.base.GeneratedVaadinSplitLayoutFactory Maven / Gradle / Ivy

There is a newer version: 22.0.1
Show newest version
package org.bklab.flow.base;

import com.vaadin.flow.component.splitlayout.GeneratedVaadinSplitLayout;
import com.vaadin.flow.component.splitlayout.SplitLayoutVariant;
import org.bklab.flow.IFlowFactory;

@SuppressWarnings("unchecked")
public interface GeneratedVaadinSplitLayoutFactory, E extends GeneratedVaadinSplitLayoutFactory> extends IFlowFactory,
        HasStyleFactory,
        ClickNotifierFactory,
        HasThemeFactory {
    default E removeThemeVariants(SplitLayoutVariant... removeThemeVariants) {
        get().removeThemeVariants(removeThemeVariants);
        return (E) this;
    }

    default E themeVariants(SplitLayoutVariant... themeVariants) {
        get().addThemeVariants(themeVariants);
        return (E) this;
    }

    default E lumoSmall() {
        get().addThemeVariants(SplitLayoutVariant.LUMO_SMALL);
        return (E) this;
    }

    default E lumoMinimal() {
        get().addThemeVariants(SplitLayoutVariant.LUMO_MINIMAL);
        return (E) this;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy