Class Ui5ListItem


  • public class Ui5ListItem
    extends net.moewes.cloudui.UiComponent
    Java wrapper for UI5 web component ui5-li
    • Constructor Detail

      • Ui5ListItem

        public Ui5ListItem()
        default constructor
    • Method Detail

      • setText

        public void setText​(String text)
        sets the main text of the list item
        Parameters:
        text - main text
      • setDescription

        public void setDescription​(String description)
        sets an additional description
        Parameters:
        description - additional text
      • setIcon

        public void setIcon​(String iconName,
                            boolean atEnd)
        sets an icon and its placement
        Parameters:
        iconName - icon name - see icon explorer
        atEnd - if true the icon is placed at the end of the item
      • setType

        public void setType​(Ui5ListItem.Type type)
        sets the type attribute of ui5-li
        Parameters:
        type - valid type
      • setInfo

        public void setInfo​(String text)
        sets the info attribute of ui5-li
        Parameters:
        text - text that is displayed in info area of list item
      • setImage

        public void setImage​(String url)
        sets the image attribute of ui5-li
        Parameters:
        url - the url to the image
      • setInfoState

        public void setInfoState​(Ui5ListItem.InfoState infoState)
        sets the info-state attribute of ui5-li
        Parameters:
        infoState - valid info state