com.vaadin.data.fieldgroup.

Interface FieldGroupFieldFactory

    • Method Summary

      All Methods
      Modifier and Type Method and Description
      <T extends Field>
      T
      createField(Class<?> dataType, Class<T> fieldType)

      Creates a field based on the data type that we want to edit

    • Method Detail

      • createField

        <T extends Field> T createField(Class<?> dataType,
                                        Class<T> fieldType)

        Creates a field based on the data type that we want to edit

        Parameters:

        dataType - The type that we want to edit using the field

        fieldType - The type of field we want to create. If set to Field then any type of field is accepted

        Returns:

        A field that can be assigned to the given fieldType and that is capable of editing the given type of data