Class LinkStyle


  • public final class LinkStyle
    extends java.lang.Object
    Provides configurations for link style.
    Since:
    1.0.0
    • Constructor Summary

      Constructors 
      Constructor Description
      LinkStyle()
      Creates a link style instance with a default value.
      LinkStyle​(java.lang.String labelColor, java.lang.String linkColor)
      Creates custom configurations for link style.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getColor()
      Returns the link color in hex.
      java.lang.String getLabel()
      Returns the label color in hex.
      void setColor​(java.lang.String linkColor)
      Sets the link color.
      void setLabel​(java.lang.String labelColor)
      Sets the label color.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • LinkStyle

        public LinkStyle()
        Creates a link style instance with a default value.
      • LinkStyle

        public LinkStyle​(java.lang.String labelColor,
                         java.lang.String linkColor)
        Creates custom configurations for link style.
        Parameters:
        labelColor - a color in hex
        linkColor - a color in hex
    • Method Detail

      • getLabel

        public java.lang.String getLabel()
        Returns the label color in hex.
      • setLabel

        public void setLabel​(java.lang.String labelColor)
        Sets the label color.
        Parameters:
        labelColor - a color in hex
      • getColor

        public java.lang.String getColor()
        Returns the link color in hex.
      • setColor

        public void setColor​(java.lang.String linkColor)
        Sets the link color.
        Parameters:
        linkColor - a color in hex