Class ComponentUtils

java.lang.Object
io.jmix.flowui.kit.component.ComponentUtils

public final class ComponentUtils extends Object
  • Method Details

    • parseIcon

      public static com.vaadin.flow.component.icon.Icon parseIcon(String iconString)
    • 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

      public static void clearSlot(com.vaadin.flow.dom.Element element, String slot)
    • findActionIndexById

      public static int findActionIndexById(List<Action> actions, String actionId)
    • setItemsMap

      public static <T> void setItemsMap(com.vaadin.flow.component.checkbox.CheckboxGroup<T> component, Map<T,String> items)
    • setItemsMap

      public static <T> void setItemsMap(com.vaadin.flow.component.radiobutton.RadioButtonGroup<T> component, Map<T,String> items)
    • setItemsMap

      public static <T> void setItemsMap(com.vaadin.flow.component.combobox.ComboBox<T> component, Map<T,String> items)
    • setItemsMap

      public static <T> void setItemsMap(com.vaadin.flow.component.select.Select<T> component, Map<T,String> items)
    • setItemsMap

      public static void setItemsMap(EnhancedLoginForm component, Map<Locale,String> items)
    • isAutoSize

      public static boolean isAutoSize(@Nullable String size)
    • isVisible

      public static boolean isVisible(Object component)