| Modifier and Type | Method and Description |
|---|---|
<T> List<Property<T,?>> |
PropertyProvider.getObjectPropertyDefinitions(Class<T> type,
T instance)
Builds a list of property definitions for a given object.
|
<T> Map<String,List<Property<T,?>>> |
DefaultPropertyGroupingProvider.groupDefinitions(List<Property<T,?>> definitions) |
<T> Map<String,List<Property<T,?>>> |
PropertyGroupingProvider.groupDefinitions(List<Property<T,?>> definitions)
Groups given definitions.
|
| Modifier and Type | Method and Description |
|---|---|
<P,C extends com.vaadin.flow.component.Component & com.vaadin.flow.component.HasValue<?,P>> |
PropertyComponentBuilder.buildPropertyField(Property<?,P> property)
Builds a component for a given property.
|
void |
ComponentConfigurator.configureComponent(T object,
Property<T,?> definition,
com.vaadin.flow.component.HasValue<?,?> component)
Configures a given component.
|
| Modifier and Type | Method and Description |
|---|---|
<T,C extends com.vaadin.flow.component.Component & com.vaadin.flow.component.HasComponents> |
DefaultPropertyGroupLayoutProvider.buildGroupLayout(String groupName,
List<Property<T,?>> definitions) |
<T,C extends com.vaadin.flow.component.Component & com.vaadin.flow.component.HasComponents> |
PropertyGroupLayoutProvider.buildGroupLayout(String groupName,
List<Property<T,?>> definitions)
Builds a layout for a given group.
|
<T> void |
ComponentGroupConfigurator.configureComponentGroup(T object,
String groupName,
List<Property<T,?>> definitions,
List<? extends com.vaadin.flow.component.HasValue<?,?>> components)
Configures the given group of components.
|
<T> Map<String,List<Property<T,?>>> |
DefaultPropertyGroupingProvider.groupDefinitions(List<Property<T,?>> definitions) |
<T> Map<String,List<Property<T,?>>> |
PropertyGroupingProvider.groupDefinitions(List<Property<T,?>> definitions)
Groups given definitions.
|
| Modifier and Type | Method and Description |
|---|---|
Map<Predicate<Property<?,?>>,FieldBuilder<?>> |
SimplePropertyComponentBuilder.getRegisteredBuilders()
Returns the builders registered so far.
|
static Predicate<Property<?,?>> |
SimplePropertyComponentBuilder.isExactlyType(Class<?> type)
Returns a
Predicate that checks if a property is exactly of given type. |
static Predicate<Property<?,?>> |
SimplePropertyComponentBuilder.isOfType(Class<?> type)
Returns a
Predicate that checks if a property is of the given type (i.e. |
| Modifier and Type | Method and Description |
|---|---|
com.vaadin.flow.component.HasValue<?,P> |
FieldBuilder.buildPropertyField(Property<?,P> property)
Builds a field for a given property.
|
<P,C extends com.vaadin.flow.component.Component & com.vaadin.flow.component.HasValue<?,P>> |
SimplePropertyComponentBuilder.buildPropertyField(Property<?,P> property) |
| Modifier and Type | Method and Description |
|---|---|
<P> void |
SimplePropertyComponentBuilder.registerBuilder(Predicate<Property<?,P>> predicate,
FieldBuilder<P> builder)
Registers a given
Predicate and its matching FieldBuilder. |
<P> SimplePropertyComponentBuilder |
SimplePropertyComponentBuilder.withRegisteredBuilder(Predicate<Property<?,P>> predicate,
FieldBuilder<P> builder)
Chains
SimplePropertyComponentBuilder.registerBuilder(Predicate, FieldBuilder) and returns itself. |
| Modifier and Type | Method and Description |
|---|---|
<T> List<Property<T,?>> |
ReflectivePropertyProvider.getObjectPropertyDefinitions(Class<T> type,
T instance) |
| Modifier and Type | Method and Description |
|---|---|
<T> Map<String,List<Property<T,?>>> |
MetadataBasedGroupingProvider.groupDefinitions(List<Property<T,?>> definitions) |
| Modifier and Type | Method and Description |
|---|---|
<T> Map<String,List<Property<T,?>>> |
MetadataBasedGroupingProvider.groupDefinitions(List<Property<T,?>> definitions) |
| Modifier and Type | Method and Description |
|---|---|
protected <T,C extends Collection<T>> |
ObjectFieldFactory.buildCollectionField(Property<?,T> elementProperty,
Class<? extends Collection<?>> collectionType,
PropertyComponentBuilder callbackFactory)
Builds a collection field.
|
protected <K,V> MapField<K,V> |
ObjectFieldFactory.buildMapField(Property<?,K> keyProperty,
Property<?,V> valueProperty,
PropertyComponentBuilder callbackFactory)
Builds a map field.
|
protected <K,V> MapField<K,V> |
ObjectFieldFactory.buildMapField(Property<?,K> keyProperty,
Property<?,V> valueProperty,
PropertyComponentBuilder callbackFactory)
Builds a map field.
|
Copyright © 2023 Miki. All rights reserved.