Class FlowComponentPropertyGroups

java.lang.Object
com.vaadin.copilot.plugins.propertypanel.FlowComponentPropertyGroups

public class FlowComponentPropertyGroups extends Object
Resolves property group assignment and property-name ordering for Flow components.
  • Constructor Details

    • FlowComponentPropertyGroups

      public FlowComponentPropertyGroups()
      Creates the default resolver with built-in sorting strategies for Size, Validation, Behavior, and a fallback strategy for all groups.
    • FlowComponentPropertyGroups

      public FlowComponentPropertyGroups(List<FlowComponentPropertyGroups.PropertyNameSortingStrategy> propertyNameSortingStrategies)
      Creates a resolver with caller-provided sorting strategies.
      Parameters:
      propertyNameSortingStrategies - ordered strategy list; first matching strategy is used for each group
  • Method Details

    • create

      public List<ComponentPropertyGroup> create(com.vaadin.flow.component.Component component, List<ComponentProperty> properties)
      Creates grouped property-name metadata for a component.
      Parameters:
      component - component whose groups are resolved
      properties - flat property list used for assignment and sorting
      Returns:
      non-empty groups in configured group order