Interface InfoPanelItem

  • All Superinterfaces:
    java.lang.Comparable<InfoPanelItem>
    All Known Implementing Classes:
    DefaultInfoPanelItem

    public interface InfoPanelItem
    extends java.lang.Comparable<InfoPanelItem>
    A general item to show up in the info panel.
    • Method Detail

      • getComponent

        com.vaadin.ui.Component getComponent()
        The vaadin component displayed to the user.
        Returns:
        a component
      • getTitle

        java.lang.String getTitle()
        The title displayed to the user.
        Returns:
        a short title string
      • getOrder

        int getOrder()
        The order of the item in which it should occur.
        Returns:
        a number used to sort the contribution
      • getId

        default java.lang.String getId()
        The id of the component.
        Returns:
        the id of the component.
      • compareTo

        default int compareTo​(InfoPanelItem that)
        Specified by:
        compareTo in interface java.lang.Comparable<InfoPanelItem>