Interface ViewContainer

All Known Implementing Classes:
TabViewContainer

public interface ViewContainer
Represents a container that can hold views and breadcrumbs, providing functionality to interact with and manipulate them dynamically.
  • Method Details

    • getBreadcrumbs

      @Nullable ViewBreadcrumbs getBreadcrumbs()
      Returns the ViewBreadcrumbs associated with this container.
      Returns:
      the ViewBreadcrumbs instance if set, or null if no breadcrumbs are associated
    • setBreadcrumbs

      void setBreadcrumbs(@Nullable ViewBreadcrumbs breadcrumbs)
      Sets the ViewBreadcrumbs for this container.
      Parameters:
      breadcrumbs - the ViewBreadcrumbs instance to associate with this container, or null to remove any currently associated breadcrumbs
    • removeBreadcrumbs

      void removeBreadcrumbs()
      Removes the breadcrumbs from this container.
    • getView

      @Nullable View<?> getView()
      Returns the View contained in this container.
      Returns:
      the current View if present, or null if no view is set
    • setView

      void setView(@Nullable View<?> view)
      Sets the specified View in this container.
      Parameters:
      view - the View to set in this container, or null to remove
    • removeView

      void removeView()
      Removes the View contained in this container.