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

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

There is a newer version: 22.0.1
Show newest version
package org.bklab.flow.base;

import com.vaadin.flow.component.Component;
import com.vaadin.flow.data.binder.HasItemComponents;
import org.bklab.flow.IFluentFlowFactory;

public interface HasItemComponentsFactory, E extends HasItemComponentsFactory>
        extends HasComponentsFactory, IFluentFlowFactory {


    default E addComponents(T afterItem, Component... components) {
        get().addComponents(afterItem, components);
        return thisObject();
    }

    default E prependComponents(T beforeItem, Component... components) {
        get().prependComponents(beforeItem, components);
        return thisObject();
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy