com.vaadin.ui.


Interface FieldFactory

All Superinterfaces:

FormFieldFactory, Serializable, TableFieldFactory

All Known Implementing Classes:

BaseFieldFactory

Deprecated. FieldFactory was split into two lighter interfaces in 6.0 Use FormFieldFactory or TableFieldFactory or both instead.

@Deprecated
public interface FieldFactory
extends FormFieldFactory, TableFieldFactory

Factory for creating new Field-instances based on type, datasource and/or context.

Since:

3.1

Version:

6.8.18

Author:

Vaadin Ltd.

Method Summary
 Field createField(Class<?> type, Component uiContext)
          Deprecated. Creates a field based on type of data.
 Field createField(Property property, Component uiContext)
          Deprecated. Creates a field based on the property datasource.
 
Methods inherited from interface com.vaadin.ui.FormFieldFactory
createField
 
Methods inherited from interface com.vaadin.ui.TableFieldFactory
createField
 

Method Detail

createField

Field createField(Class<?> type,
                  Component uiContext)

Deprecated. 

Creates a field based on type of data.

Parameters:
type - the type of data presented in field.
uiContext - the component where the field is presented.
Returns:
Field the field suitable for editing the specified data.

createField

Field createField(Property property,
                  Component uiContext)

Deprecated. 

Creates a field based on the property datasource.

Parameters:
property - the property datasource.
uiContext - the component where the field is presented.
Returns:
Field the field suitable for editing the specified data.