org.bklab.flow.base.HasItemsAndComponentsFactory 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.Component;
import com.vaadin.flow.data.binder.HasItemsAndComponents;
import org.bklab.flow.IFlowFactory;
@SuppressWarnings("unchecked")
public interface HasItemsAndComponentsFactory, E extends HasItemsAndComponentsFactory> extends IFlowFactory,
HasComponentsFactory,
HasItemsFactory {
default E components(T afterItem, Component... components) {
get().addComponents(afterItem, components);
return (E) this;
}
default E prependComponents(T beforeItem, Component... components) {
get().prependComponents(beforeItem, components);
return (E) this;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy