DEF
- type of datasource definitionD
- type of definitionT
- type of select optionF
- select component type - can be a single or a multi select componentpublic abstract class AbstractSelectFieldFactory<DEF,D extends AbstractSelectFieldDefinition<T,DEF>,T,F extends com.vaadin.ui.Component & com.vaadin.data.HasValue<T>> extends AbstractFieldFactory<D,T,F>
Modifier and Type | Field and Description |
---|---|
protected static org.slf4j.Logger |
log |
Constructor and Description |
---|
AbstractSelectFieldFactory(info.magnolia.objectfactory.ComponentProvider componentProvider,
D definition,
Locale locale,
I18NAuthoringSupport i18NAuthoringSupport,
DatasourceSupport datasourceSupport) |
Modifier and Type | Method and Description |
---|---|
F |
createFieldComponent() |
protected abstract F |
createSelectionField()
Used to initialize the desired subclass of AbstractSelect field component.
|
protected Optional<? extends com.vaadin.data.provider.DataProvider> |
getDataProvider() |
protected Optional<? extends ItemDescriber> |
getItemDescriber() |
createField, isMessageKey
@Inject public AbstractSelectFieldFactory(info.magnolia.objectfactory.ComponentProvider componentProvider, D definition, Locale locale, I18NAuthoringSupport i18NAuthoringSupport, DatasourceSupport datasourceSupport)
public F createFieldComponent()
createFieldComponent
in class AbstractFieldFactory<D extends AbstractSelectFieldDefinition<T,DEF>,T,F extends com.vaadin.ui.Component & com.vaadin.data.HasValue<T>>
protected abstract F createSelectionField()
protected Optional<? extends ItemDescriber> getItemDescriber()
protected Optional<? extends com.vaadin.data.provider.DataProvider> getDataProvider()
Copyright © 2018 Magnolia International Ltd.. All rights reserved.