Interface UiAbstractDataWidget.ColumnAdapter<D,​C>

  • Type Parameters:
    D - type of the data model.
    C - type of the property value (cell value).
    Enclosing interface:
    UiAbstractDataWidget<R>

    public static interface UiAbstractDataWidget.ColumnAdapter<D,​C>
    Interface to read and write the value of a property of the data model.
    • Method Detail

      • get

        C get​(D data)
        Getter to read the property value from the data model.
        Parameters:
        data - the data object to read the value from.
        Returns:
        the property value from the data object.
      • set

        default void set​(D data,
                         C value)
        Setter to write the property value back to the data model. Only needed for inline editing when UiColumn is not read-only.
        Parameters:
        data -
        value -