|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface FieldFactory
A FieldFactory is responsible for creating Vaadin 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
Method Summary | |
---|---|
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)
|
Methods inherited from interface info.magnolia.ui.form.FormItem |
---|
getMessages, getParent, setParent |
Method Detail |
---|
com.vaadin.ui.Field<?> createField()
Field
component.
View getView()
FieldDefinition getFieldDefinition()
void setFieldValidatorFactoryFactory(FieldValidatorFactoryFactory fieldValidatorFactoryFactory)
void setI18nContentSupport(info.magnolia.cms.i18n.I18nContentSupport i18nContentSupport)
void setComponentProvider(info.magnolia.objectfactory.ComponentProvider componentProvider)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |