Class HostDisplay

    • Method Detail

      • element

        public elemental2.dom.HTMLElement element()
        Description copied from interface: ItemDisplay
        If this method returns an element != null this element is used to display the item.
        Specified by:
        element in interface org.jboss.elemento.IsElement<elemental2.dom.HTMLElement>
        Specified by:
        element in interface ItemDisplay<Host>
        Returns:
        null by default
      • getTooltip

        public String getTooltip()
        Description copied from interface: ItemDisplay
        Whether a tooltip should be shown for the item.
        Specified by:
        getTooltip in interface ItemDisplay<Host>
        Returns:
        null by default (no tooltip)
      • getIcon

        public elemental2.dom.HTMLElement getIcon()
        Description copied from interface: ItemDisplay
        Whether to show an icon left to the item text. The icon should be a PatternFly or FontAwesome icon in normal size. See Icons for a list of common icons.
        Specified by:
        getIcon in interface ItemDisplay<Host>
        Returns:
        null by default