Class TooltipStyle

java.lang.Object
com.vaadin.componentfactory.maps.model.AbstractConfigurationObject
com.vaadin.componentfactory.maps.model.style.TooltipStyle
All Implemented Interfaces:
Serializable

public class TooltipStyle extends AbstractConfigurationObject
Style options for tooltips
Version:
$Id: $Id
Author:
Vaadin
See Also:
  • Constructor Details

    • TooltipStyle

      public TooltipStyle()
  • Method Details

    • getBackgroundColor

      public Color getBackgroundColor()

      Getter for the field backgroundColor.

      Returns:
      The background color of tooltips, null if not defined
    • setBackgroundColor

      public void setBackgroundColor(Color backgroundColor)
      Sets the background color of tooltips
      Parameters:
      backgroundColor - a Color object.
    • getBorderWidth

      public Number getBorderWidth()

      Getter for the field borderWidth.

      Returns:
      The width of the border of tooltips, or null if not defined
    • setBorderWidth

      public void setBorderWidth(Number borderWidth)
      Sets the width of the border of tooltips
      Parameters:
      borderWidth - a Number object.
    • getStyle

      public Style getStyle()

      Getter for the field style.

      Returns:
      The style attributes for tooltips
    • setStyle

      public void setStyle(Style style)
      Sets the style attributes for tooltips
      Parameters:
      style - Style attributes
    • getBorderRadius

      public Number getBorderRadius()

      Getter for the field borderRadius.

      Returns:
      The border radius of tooltips
    • setBorderRadius

      public void setBorderRadius(Number borderRadius)
      Sets the border radius of tooltips
      Parameters:
      borderRadius - the border radius in pixels
    • getFollowPointer

      public Boolean getFollowPointer()

      Getter for the field followPointer.

      Returns:
      the followPointer
    • setFollowPointer

      public void setFollowPointer(Boolean followPointer)

      Setter for the field followPointer.

      Parameters:
      followPointer - the followPointer to set
    • getBorderColor

      public Color getBorderColor()

      Getter for the field borderColor.

      Returns:
      The color of the plot border, null if not defined
      See Also:
    • setBorderColor

      public void setBorderColor(Color borderColor)
      Sets the color of the tooltip border. When null, the border takes the color of the corresponding series or point. Defaults to null.
      Parameters:
      borderColor - a Color object.