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

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

package org.bklab.flow.base;

import com.vaadin.flow.component.Component;
import com.vaadin.flow.component.textfield.HasPrefixAndSuffix;
import org.bklab.flow.IFlowFactory;

@SuppressWarnings("unchecked")
public interface HasPrefixAndSuffixFactory> extends IFlowFactory {
    default E suffixComponent(Component suffixComponent) {
        get().setSuffixComponent(suffixComponent);
        return (E) this;
    }

    default E prefixComponent(Component prefixComponent) {
        get().setPrefixComponent(prefixComponent);
        return (E) this;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy