Interface HasContent

All Known Subinterfaces:
ComponentItem, ComponentUserMenuItem
All Known Implementing Classes:
AbstractDropdownButton.ComponentItemImpl, JmixUserMenu.ComponentUserMenuItemImpl

public interface HasContent
Interface to be implemented by UI components that have an associated content component.
  • Method Summary

    Modifier and Type
    Method
    Description
    com.vaadin.flow.component.Component
    Returns the content component associated with this object.
  • Method Details

    • getContent

      com.vaadin.flow.component.Component getContent()
      Returns the content component associated with this object.
      Returns:
      the Component currently set as the content