public interface FieldFactory extends FormItem
Field
s configured based on their
associated FieldDefinition.
FieldFactory and FieldDefinition
are linked together using FieldFactoryFactory
.
Implementations of this interface will be instantiated with the
FieldDefinition
they should use for configuration
Item
they will be operating on additional injected constructor arguments.
FieldDefinition
,
FieldFactoryFactory
Modifier and Type | Method and Description |
---|---|
com.vaadin.ui.Field<?> |
createField()
Creates and initializes a Vaadin
Field component. |
FieldDefinition |
getFieldDefinition() |
View |
getView() |
void |
setComponentProvider(info.magnolia.objectfactory.ComponentProvider componentProvider) |
void |
setFieldValidatorFactoryFactory(FieldValidatorFactoryFactory fieldValidatorFactoryFactory) |
void |
setI18nContentSupport(info.magnolia.cms.i18n.I18nContentSupport i18nContentSupport)
Deprecated.
This is deprecated since 5.3.4;
I18nContentSupport was never used within any FieldFactory , rightfully so.
If any, I18NAuthoringSupport is the one that should be used. |
getMessages, getParent, setParent
com.vaadin.ui.Field<?> createField()
Field
component.View getView()
FieldDefinition getFieldDefinition()
void setFieldValidatorFactoryFactory(FieldValidatorFactoryFactory fieldValidatorFactoryFactory)
@Deprecated void setI18nContentSupport(info.magnolia.cms.i18n.I18nContentSupport i18nContentSupport)
I18nContentSupport
was never used within any FieldFactory
, rightfully so.
If any, I18NAuthoringSupport
is the one that should be used.void setComponentProvider(info.magnolia.objectfactory.ComponentProvider componentProvider)
Copyright © 2015 Magnolia International Ltd.. All rights reserved.