org.bklab.flow.base.GeneratedVaadinTextAreaFactory 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.textfield.GeneratedVaadinTextArea;
import com.vaadin.flow.component.textfield.TextAreaVariant;
import org.bklab.flow.IFlowFactory;
@SuppressWarnings("unchecked")
public interface GeneratedVaadinTextAreaFactory, E extends GeneratedVaadinTextAreaFactory> extends IFlowFactory,
AbstractSinglePropertyFieldFactory,
HasStyleFactory,
FocusableFactory,
HasThemeFactory {
default E removeThemeVariants(TextAreaVariant... removeThemeVariants) {
get().removeThemeVariants(removeThemeVariants);
return (E) this;
}
default E themeVariants(TextAreaVariant... themeVariants) {
get().addThemeVariants(themeVariants);
return (E) this;
}
default E lumoSmall() {
get().addThemeVariants(TextAreaVariant.LUMO_SMALL);
return (E) this;
}
default E lumoAlignCenter() {
get().addThemeVariants(TextAreaVariant.LUMO_ALIGN_CENTER);
return (E) this;
}
default E lumoAlignRight() {
get().addThemeVariants(TextAreaVariant.LUMO_ALIGN_RIGHT);
return (E) this;
}
default E materialAlwaysFloatLabel() {
get().addThemeVariants(TextAreaVariant.MATERIAL_ALWAYS_FLOAT_LABEL);
return (E) this;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy