Class Ui5Link


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

      • Ui5Link

        public Ui5Link()
        default constructor
      • Ui5Link

        public Ui5Link​(String text,
                       String url)
        constructor
        Parameters:
        text - the text to display
        url - url to open when the link is clicked
    • Method Detail

      • setText

        public void setText​(String text)
        sets the link text
        Parameters:
        text - the text to display
      • setHref

        public void setHref​(String url)
        sets the href attribute of ui5-link
        Parameters:
        url - url to open when the link is clicked
      • setTarget

        public void setTarget​(Ui5Link.Target taget)
        sets the target attribute of ui5-link
        Parameters:
        taget - taget of link - see HTML docs for meaning
      • setDisabled

        public void setDisabled​(boolean disabled)
      • setDesign

        public void setDesign​(Ui5Link.Design design)
        sets the design attribute of ui5-link
        Parameters:
        design - design
      • setWrap

        public void setWrap​(boolean wrap)
        sets the wrap attribute of ui5-link
        Parameters:
        wrap - true when the link text should wrap if there is not enough space