| Package | Description |
|---|---|
| org.vaadin.miki.superfields.object | |
| org.vaadin.miki.superfields.util.factory |
| Modifier and Type | Method and Description |
|---|---|
void |
ObjectField.addComponentConfigurators(ComponentConfigurator<T>... configurators)
Adds given
ComponentConfigurators. |
void |
ObjectField.removeComponentConfigurator(ComponentConfigurator<T> configurator)
Removes given configurator.
|
ObjectField<T> |
ObjectField.withComponentConfigurators(ComponentConfigurator<T>... configurators)
Chains
ObjectField.addComponentConfigurators(ComponentConfigurator[]) and returns itself. |
| Modifier and Type | Method and Description |
|---|---|
void |
ObjectField.addComponentConfigurators(Collection<ComponentConfigurator<T>> configurators)
Adds given
ComponentConfigurators. |
ObjectField<T> |
ObjectField.withComponentConfigurators(Collection<ComponentConfigurator<T>> configurators)
Chains
ObjectField.addComponentConfigurators(Collection) and returns itself. |
| Modifier and Type | Method and Description |
|---|---|
protected <T> Collection<ComponentConfigurator<T>> |
ObjectFieldFactory.buildComponentConfigurators(Class<T> dataType)
Builds
ComponentConfigurators for a given data type:
components have their label set up according to MetadataProperties.CAPTION_METADATA_PROPERTY or the field name
components are set to read only based on MetadataProperties.READ_ONLY_METADATA_PROPERTY
components have their style names set up according to MetadataProperties.COMPONENT_STYLE_METADATA_PROPERTY
components have their id set according to MetadataProperties.COMPONENT_ID_METADATA_PROPERTY
|
Copyright © 2024 Miki. All rights reserved.