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

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

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

import com.vaadin.flow.component.checkbox.CheckboxGroupVariant;
import com.vaadin.flow.component.checkbox.GeneratedVaadinCheckboxGroup;
import org.bklab.flow.IFluentFlowFactory;

import java.util.Set;

public interface GeneratedVaadinCheckboxGroupFactory>,
        E extends GeneratedVaadinCheckboxGroupFactory> extends
        AbstractSinglePropertyFieldFactory, C, E>, HasStyleFactory, HasThemeFactory, IFluentFlowFactory {

    default E addThemeVariants(CheckboxGroupVariant... variants) {
        get().addThemeVariants(variants);
        return thisObject();
    }

    default E lumoVertical() {
        get().addThemeVariants(CheckboxGroupVariant.LUMO_VERTICAL);
        return thisObject();
    }

    default E lumoHelperAboveField() {
        get().addThemeVariants(CheckboxGroupVariant.LUMO_HELPER_ABOVE_FIELD);
        return thisObject();
    }

    default E materialVertical() {
        get().addThemeVariants(CheckboxGroupVariant.MATERIAL_VERTICAL);
        return thisObject();
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy