org.bklab.flow.base.HasValidationFactory Maven / Gradle / Ivy
package org.bklab.flow.base;
import com.vaadin.flow.component.Component;
import com.vaadin.flow.component.HasValidation;
import org.bklab.flow.IFlowFactory;
@SuppressWarnings("unchecked")
public interface HasValidationFactory> extends IFlowFactory {
default E errorMessage(String errorMessage) {
get().setErrorMessage(errorMessage);
return (E) this;
}
default E invalid(boolean invalid) {
get().setInvalid(invalid);
return (E) this;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy