info.magnolia.ui.form.field.factory
Interface FieldFactory

All Superinterfaces:
FormItem
All Known Implementing Classes:
AbstractFieldFactory, BasicTextCodeFieldFactory, BasicUploadFieldFactory, CheckBoxFieldFactory, CompositeFieldFactory, DateFieldFactory, HiddenFieldFactory, LinkFieldFactory, MultiValueFieldFactory, OptionGroupFieldFactory, PasswordFieldFactory, RichTextFieldFactory, SelectFieldFactory, StaticFieldFactory, SwitchableFieldFactory, TextFieldFactory, TwinColSelectFieldFactory

public interface FieldFactory
extends FormItem

A FieldFactory is responsible for creating Vaadin Fields configured based on their associated FieldDefinition.

FieldFactory and FieldDefinition are linked together using FieldFactoryFactory.

Implementations of this interface will be instantiated with the

FieldFactory are responsible to create/initialize Items that are by the Vaadin Field.

See Also:
FieldDefinition, FieldFactoryFactory

Method Summary
 com.vaadin.ui.Field<?> createField()
          Creates and initializes a Vaadin Field component.
 FieldDefinition getFieldDefinition()
           
 info.magnolia.ui.api.view.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.
 
Methods inherited from interface info.magnolia.ui.form.FormItem
getMessages, getParent, setParent
 

Method Detail

createField

com.vaadin.ui.Field<?> createField()
Creates and initializes a Vaadin Field component.


getView

info.magnolia.ui.api.view.View getView()

getFieldDefinition

FieldDefinition getFieldDefinition()

setFieldValidatorFactoryFactory

void setFieldValidatorFactoryFactory(FieldValidatorFactoryFactory fieldValidatorFactoryFactory)

setI18nContentSupport

@Deprecated
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.


setComponentProvider

void setComponentProvider(info.magnolia.objectfactory.ComponentProvider componentProvider)


Copyright © 2014 Magnolia International Ltd.. All Rights Reserved.