Class Ui5Icon


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

      • Ui5Icon

        public Ui5Icon​(String iconName)
        default constructor
        Parameters:
        iconName - name of the icon - see icon explorer
    • Method Detail

      • setAccessibleName

        public void setAccessibleName​(String text)
        sets accessible-name attribute of ui5-icon
        Parameters:
        text - alternative text for screen reader etc.
      • setInteractive

        public void setInteractive​(boolean interactive)
        sets interactive attribute of ui5-icon
        Parameters:
        interactive - flag
      • isInteractive

        public boolean isInteractive()
        Returns:
        true if icon is selectable
      • setShowTooltip

        public void setShowTooltip​(boolean showTooltip)
        sets show-tooltip attribute of ui5-icon
        Parameters:
        showTooltip - flag
      • hasTooltip

        public boolean hasTooltip()
        Returns:
        true if tooltip should be shown
      • render

        public net.moewes.cloudui.UiElement render()
        Overrides:
        render in class net.moewes.cloudui.UiComponent