Class TooltipStyle


  • public final class TooltipStyle
    extends java.lang.Object
    Provides configuration options for tooltip style.
    Since:
    1.0.0
    • Constructor Summary

      Constructors 
      Constructor Description
      TooltipStyle()
      Creates the default configuration.
      TooltipStyle​(java.lang.String textColor, java.lang.String background)
      Creates a custom configuration.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getBackground()
      Returns the background color in hex.
      java.lang.String getTextColor()
      Returns text color in hex.
      void setBackground​(java.lang.String background)
      Sets the background color.
      void setTextColor​(java.lang.String textColor)
      Sets text color.
      • Methods inherited from class java.lang.Object

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

      • TooltipStyle

        public TooltipStyle()
        Creates the default configuration.
      • TooltipStyle

        public TooltipStyle​(java.lang.String textColor,
                            java.lang.String background)
        Creates a custom configuration.
        Parameters:
        textColor - a color in hex
        background - a color in hex
    • Method Detail

      • getTextColor

        public java.lang.String getTextColor()
        Returns text color in hex.
      • setTextColor

        public void setTextColor​(java.lang.String textColor)
        Sets text color.
        Parameters:
        textColor - a color in hex
      • getBackground

        public java.lang.String getBackground()
        Returns the background color in hex.
      • setBackground

        public void setBackground​(java.lang.String background)
        Sets the background color.
        Parameters:
        background - a color in hex