Class Ui5Badge


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

      • Ui5Badge

        public Ui5Badge()
        default constructor
      • Ui5Badge

        public Ui5Badge​(String text)
        constructor
        Parameters:
        text - text to display
      • Ui5Badge

        public Ui5Badge​(String text,
                        Ui5Icon icon)
        constructor
        Parameters:
        text - text to display
        icon - icon component
      • Ui5Badge

        public Ui5Badge​(Ui5Icon icon)
        constructor
        Parameters:
        icon - icon component
    • Method Detail

      • addIcon

        public void addIcon​(Ui5Icon icon)
        adds a icon to the badge
        Parameters:
        icon - icon component
      • setColorScheme

        public void setColorScheme​(Ui5Badge.ColorScheme schema)
        stes color-scheme attribute of ui5-badge
        Parameters:
        schema - value