org.bklab.flow.base.GeneratedVaadinRadioGroupFactory 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.
/*
* Copyright (c) 2008 - 2020. - Broderick Labs.
* Author: Broderick Johansson
* E-mail: [email protected]
* Modify date:2020-07-01 12:53:31
* _____________________________
* Project name: fluent-vaadin-flow
* Class name:org.bklab.flow.base.GeneratedVaadinRadioGroupFactory
* Copyright (c) 2008 - 2020. - Broderick Labs.
*/
package org.bklab.flow.base;
import com.vaadin.flow.component.radiobutton.GeneratedVaadinRadioGroup;
import com.vaadin.flow.component.radiobutton.RadioGroupVariant;
import org.bklab.flow.IFlowFactory;
@SuppressWarnings("unchecked")
public interface GeneratedVaadinRadioGroupFactory, E extends GeneratedVaadinRadioGroupFactory> extends IFlowFactory,
AbstractSinglePropertyFieldFactory,
HasStyleFactory,
HasThemeFactory {
default E themeVariants(RadioGroupVariant... themeVariants) {
get().addThemeVariants(themeVariants);
return (E) this;
}
default E removeThemeVariants(RadioGroupVariant... removeThemeVariants) {
get().removeThemeVariants(removeThemeVariants);
return (E) this;
}
default E lumoVertical() {
get().addThemeVariants(RadioGroupVariant.LUMO_VERTICAL);
return (E) this;
}
default E materialVertical() {
get().addThemeVariants(RadioGroupVariant.MATERIAL_VERTICAL);
return (E) this;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy