Class Ui5TimelineItem


  • public class Ui5TimelineItem
    extends net.moewes.cloudui.UiComponent
    Java wrapper for UI5 web component ui5-timeline-item used as children elements in Ui5Timeline
    • Constructor Summary

      Constructors 
      Constructor Description
      Ui5TimelineItem()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void setIcon​(String icon)
      sets icon attribute of ui5-timeline-item
      void setName​(String name, boolean clickable)
      sets the item-name attribute of ui5-timeline-item
      void setSubtitle​(String text)
      sets subtitle-text attribute of ui5-timeline-item
      void setTitle​(String text)
      sets title-text attribute of ui5-timeline-item
      • Methods inherited from class net.moewes.cloudui.UiComponent

        add, add, addEventListener, bind, getComponentWithId, getElement, getEmptyValue, getId, getValue, handleEvent, registerEvenrHandler, remove, render, setId, setInnerHtml, setValue, setValuesWithBinder, unbind
    • Constructor Detail

      • Ui5TimelineItem

        public Ui5TimelineItem()
    • Method Detail

      • setTitle

        public void setTitle​(String text)
        sets title-text attribute of ui5-timeline-item
        Parameters:
        text - the text to display as title
      • setSubtitle

        public void setSubtitle​(String text)
        sets subtitle-text attribute of ui5-timeline-item
        Parameters:
        text - the text to display as subtitle
      • setIcon

        public void setIcon​(String icon)
        sets icon attribute of ui5-timeline-item
        Parameters:
        icon - icon name - see ui5 icon explorer
      • setName

        public void setName​(String name,
                            boolean clickable)
        sets the item-name attribute of ui5-timeline-item

        register event handler for event item-name-click

        Parameters:
        name - text that is diplayed as first element in item header
        clickable - defines if it is displayed as link