org.bklab.flow.base.GeneratedVaadinProgressBarFactory 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.progressbar.GeneratedVaadinProgressBar;
import com.vaadin.flow.component.progressbar.ProgressBarVariant;
import org.bklab.flow.IFlowFactory;
@SuppressWarnings("unchecked")
public interface GeneratedVaadinProgressBarFactory, E extends GeneratedVaadinProgressBarFactory> extends IFlowFactory {
default E themeVariants(ProgressBarVariant... themeVariants) {
get().addThemeVariants(themeVariants);
return (E) this;
}
default E removeThemeVariants(ProgressBarVariant... removeThemeVariants) {
get().removeThemeVariants(removeThemeVariants);
return (E) this;
}
default E lumoContrast() {
get().addThemeVariants(ProgressBarVariant.LUMO_CONTRAST);
return (E) this;
}
default E lumoError() {
get().addThemeVariants(ProgressBarVariant.LUMO_ERROR);
return (E) this;
}
default E lumoSuccess() {
get().addThemeVariants(ProgressBarVariant.LUMO_SUCCESS);
return (E) this;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy