Class Ui5Title


  • public class Ui5Title
    extends net.moewes.cloudui.UiComponent
    Java wrapper for UI5 web component ui-title
    • Constructor Detail

      • Ui5Title

        public Ui5Title()
        default constructor
      • Ui5Title

        public Ui5Title​(String text)
        constructor
        Parameters:
        text - text ui5-title displays
      • Ui5Title

        public Ui5Title​(String text,
                        Ui5Title.Level level)
        constructor
        Parameters:
        text - text ui5-title displays
        level - the ui5-title level
    • Method Detail

      • setText

        public void setText​(String text)
        sets the text which is displayed
        Parameters:
        text - text ui5-title displays
      • setLevel

        public void setLevel​(Ui5Title.Level level)
        sets the level attribute of ui5-title
        Parameters:
        level - the ui5-title level
      • setWrap

        public void setWrap​(boolean wrap)
        sets the wrap attribute of ui5-title
        Parameters:
        wrap - defines whether the ui5-title would wrap.