Class DefaultPropertyGroupingProvider
- java.lang.Object
-
- org.vaadin.miki.superfields.object.DefaultPropertyGroupingProvider
-
- All Implemented Interfaces:
Serializable,PropertyGroupingProvider
public class DefaultPropertyGroupingProvider extends Object implements PropertyGroupingProvider
Default grouping of the properties - a single group with one element, a property.- Since:
- 2022-09-01
- Author:
- miki
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DefaultPropertyGroupingProvider()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T> Map<String,List<Property<T,?>>>groupDefinitions(List<Property<T,?>> definitions)Groups given definitions.
-
-
-
Method Detail
-
groupDefinitions
public <T> Map<String,List<Property<T,?>>> groupDefinitions(List<Property<T,?>> definitions)
Description copied from interface:PropertyGroupingProviderGroups given definitions.- Specified by:
groupDefinitionsin interfacePropertyGroupingProvider- Type Parameters:
T- Type parameter forPropertys.- Parameters:
definitions- Definitions to group.- Returns:
- A non-
null(but possibly empty) map. The map will not contain newPropertys, those from the parameter will be reused.
-
-