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

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

package org.bklab.flow.base;

import com.vaadin.flow.component.Component;
import com.vaadin.flow.component.HasElement;
import com.vaadin.flow.router.RouterLayout;
import org.bklab.flow.IFlowFactory;

@SuppressWarnings("unchecked")
public interface RouterLayoutFactory> extends IFlowFactory {
    default E showRouterLayoutContent(HasElement content) {
        get().showRouterLayoutContent(content);
        return (E) this;
    }

    default E removeRouterLayoutContent(HasElement oldContent) {
        get().removeRouterLayoutContent(oldContent);
        return (E) this;
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy