Package io.jmix.flowui.kit.component
Class ComponentUtils
java.lang.Object
io.jmix.flowui.kit.component.ComponentUtils
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
addComponentsToSlot
(com.vaadin.flow.dom.Element element, String slot, com.vaadin.flow.component.Component... components) static void
static com.vaadin.flow.component.icon.Icon
convertToIcon
(com.vaadin.flow.component.icon.VaadinIcon icon) static int
findActionIndexById
(List<Action> actions, String actionId) static boolean
isAutoSize
(String size) static boolean
static com.vaadin.flow.component.icon.Icon
static <T> void
setItemsMap
(com.vaadin.flow.component.checkbox.CheckboxGroup<T> component, Map<T, String> items) static <T> void
setItemsMap
(com.vaadin.flow.component.combobox.ComboBox<T> component, Map<T, String> items) static <T> void
setItemsMap
(com.vaadin.flow.component.radiobutton.RadioButtonGroup<T> component, Map<T, String> items) static <T> void
setItemsMap
(com.vaadin.flow.component.select.Select<T> component, Map<T, String> items) static void
setItemsMap
(EnhancedLoginForm component, Map<Locale, String> items)
-
Method Details
-
parseIcon
-
convertToIcon
@Nullable public static com.vaadin.flow.component.icon.Icon convertToIcon(@Nullable com.vaadin.flow.component.icon.VaadinIcon icon) -
addComponentsToSlot
public static void addComponentsToSlot(com.vaadin.flow.dom.Element element, String slot, com.vaadin.flow.component.Component... components) -
clearSlot
-
findActionIndexById
-
setItemsMap
-
setItemsMap
-
setItemsMap
-
setItemsMap
-
setItemsMap
-
isAutoSize
-
isVisible
-