Interface ViewData

All Superinterfaces:
HasDataComponents
All Known Implementing Classes:
ViewDataImpl

public interface ViewData extends HasDataComponents
Interface defining methods for interacting with data API elements of a View.
  • Method Details

    • getViewId

      @Nullable String getViewId()
      Returns the identifier of the View.
      Returns:
      the View identifier, or null if it is not set.
    • setViewId

      void setViewId(@Nullable String viewId)
      Sets the identifier of the View.
      Parameters:
      viewId - the identifier of the View to set, or null to remove the identifier