FieldGroup
instead of Form
for
more flexibility.@Deprecated public interface FormFieldFactory extends Serializable
Item
,
property id and uiContext (the component responsible for displaying fields).
Currently this interface is used by Form
, but might later be used by
some other components for Field
generation.
TableFieldFactory
Modifier and Type | Method and Description |
---|---|
Field<?> |
createField(Item item,
Object propertyId,
Component uiContext)
Deprecated.
Creates a field based on the item, property id and the component (most
commonly
Form ) where the Field will be presented. |
Field<?> createField(Item item, Object propertyId, Component uiContext)
Form
) where the Field will be presented.item
- the item where the property belongs to.propertyId
- the Id of the property.uiContext
- the component where the field is presented, most commonly this
is Form
. uiContext will not necessary be the parent
component of the field, but the one that is responsible for
creating it.Copyright © 2019 Vaadin Ltd. All rights reserved.