com.hp.lft.sdk.web

Class LinkDescription

    • Constructor Detail

      • LinkDescription

        public LinkDescription()
        Initializes a new instance of the Link class.
      • LinkDescription

        protected LinkDescription(LinkDescription.Init<?> init)
        Initializes a new instance of the LinkDescription class using the Builder pattern.
        Parameters:
        init - the Builder pattern.
    • Method Detail

      • setTarget

        public void setTarget(StringProperty target)
        Sets the name of the frame that will be navigated to when the user clicks on the frame.
        Parameters:
        target - a StringProperty(or RegExpProperty) representing the name of the target frame of the navigation. Possible values: Any valid HTML target attribute value, for example, framename, _blank, or _self.
      • setTarget

        public void setTarget(java.lang.String target)
        Sets the name of the frame that will be navigated to when the user clicks on the frame.
        Parameters:
        target - the target frame of the navigation. Possible values: Any valid HTML target attribute value, for example, framename, _blank, or _self.
      • getTarget

        public StringProperty getTarget()
        Returns the target frame of the navigation.
        Returns:
        the name of the frame target frame of the navigation. Possible values: Any valid HTML target attribute value, for example, framename, _blank, or _self.
      • setFontName

        public void setFontName(StringProperty fontName)
        Sets the link's font name.
        Parameters:
        fontName - a StringProperty(or RegExpProperty) representing the font name.
      • setFontName

        public void setFontName(java.lang.String fontName)
        Sets the link's font name.
        Parameters:
        fontName - the font name.
      • getFontName

        public StringProperty getFontName()
        Returns the link's font name.
        Returns:
        the link's font name.
      • setHref

        public void setHref(StringProperty href)
        Sets the location to which the browser navigates when the image is clicked.
        Parameters:
        href - a StringProperty(or RegExpProperty) representing the location to which the browser navigates when the image is clicked.
      • setHref

        public void setHref(java.lang.String href)
        Sets the location to which the browser navigates when the image is clicked.
        Parameters:
        href - the location to which the browser navigates when the image is clicked.
      • getHref

        public StringProperty getHref()
        Returns the location to which the browser navigates when the image is clicked.
        Returns:
        the location to which the browser navigates when the image is clicked.
      • setColor

        public void setColor(StringProperty color)
        Sets the link's color.
        Parameters:
        color - a StringProperty(or RegExpProperty) representing the link's color.
      • setColor

        public void setColor(java.lang.String color)
        Sets the link's color.
        Parameters:
        color - the link's color.
      • getColor

        public StringProperty getColor()
        Returns the link's color.
        Returns:
        the link's color.
      • setBackgroundColor

        public void setBackgroundColor(StringProperty color)
        Sets the link's background color.
        Parameters:
        color - a StringProperty(or RegExpProperty) representing the link's background color.
      • setBackgroundColor

        public void setBackgroundColor(java.lang.String color)
        Sets the link's background color.
        Parameters:
        color - the link's background color.
      • getBackgroundColor

        public StringProperty getBackgroundColor()
        Returns the link's background color.
        Returns:
        the link's background color.