org.bklab.flow.base.MenuItemBaseFactory 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.contextmenu.ContextMenuBase;
import com.vaadin.flow.component.contextmenu.MenuItemBase;
import com.vaadin.flow.component.contextmenu.SubMenuBase;
import org.bklab.flow.IFlowFactory;
import java.util.function.Supplier;
@SuppressWarnings("unchecked")
public interface MenuItemBaseFactory, I extends MenuItemBase, S extends SubMenuBase, E extends MenuItemBaseFactory> extends Supplier,
HasTextFactory,
HasComponentsFactory,
HasEnabledFactory {
default E checked(boolean checked) {
get().setChecked(checked);
return (E) this;
}
default E checkable(boolean checkable) {
get().setCheckable(checkable);
return (E) this;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy