D
- definition typeT
- field value typepublic abstract class AbstractFieldFactory<T,D extends FieldDefinition<T>> extends Object implements FieldFactory<T>
Modifier and Type | Field and Description |
---|---|
protected info.magnolia.objectfactory.ComponentProvider |
componentProvider |
protected D |
definition |
Constructor and Description |
---|
AbstractFieldFactory(D definition,
info.magnolia.objectfactory.ComponentProvider componentProvider) |
Modifier and Type | Method and Description |
---|---|
com.vaadin.data.HasValue<T> |
createField() |
protected abstract com.vaadin.ui.Component |
createFieldComponent() |
protected D |
getDefinition() |
protected final D extends FieldDefinition<T> definition
protected final info.magnolia.objectfactory.ComponentProvider componentProvider
@Inject public AbstractFieldFactory(D definition, info.magnolia.objectfactory.ComponentProvider componentProvider)
public com.vaadin.data.HasValue<T> createField()
createField
in interface FieldFactory<T>
protected abstract com.vaadin.ui.Component createFieldComponent()
protected D getDefinition()
Copyright © 2021 Magnolia International Ltd.. All rights reserved.