Interface ListView.ListDataBindMapping

  • Enclosing class:
    ListView

    public static interface ListView.ListDataBindMapping
    Translates between list and bind context data during data binding.
    • Method Detail

      • toListData

        List<?> toListData​(java.lang.Object value)
        Converts a context value to list data during a Component.load(Object) operation.
        Parameters:
        value - The value fetched from the bound object.
        Returns:
        The value converted to a list of data.
      • valueOf

        java.lang.Object valueOf​(List<?> listData)
        Converts list data to a context value during a Component.store(Object) operation.
        Parameters:
        listData - The current list data from the list view.
        Returns:
        That list data converted to an object suitable for persistence in the bound object.