com.vaadin.data.

Interface Item.Viewer

  • All Superinterfaces:

    Serializable

    All Known Subinterfaces:

    Item.Editor

    All Known Implementing Classes:

    Form

    Enclosing interface:

    Item


    public static interface Item.Viewer
    extends Serializable

    Interface implemented by viewer classes capable of using an Item as a data source.

    • Method Summary

      All Methods
      Modifier and Type Method and Description
      Item getItemDataSource()

      Gets the Item serving as the data source of the viewer.

      void setItemDataSource(Item newDataSource)

      Sets the Item that serves as the data source of the viewer.

    • Method Detail

      • setItemDataSource

        void setItemDataSource(Item newDataSource)

        Sets the Item that serves as the data source of the viewer.

        Parameters:

        newDataSource - The new data source Item

      • getItemDataSource

        Item getItemDataSource()

        Gets the Item serving as the data source of the viewer.

        Returns:

        data source Item