Class TooltipStyle
java.lang.Object
com.vaadin.componentfactory.maps.model.AbstractConfigurationObject
com.vaadin.componentfactory.maps.model.style.TooltipStyle
- All Implemented Interfaces:
Serializable
Style options for tooltips
- Version:
- $Id: $Id
- Author:
- Vaadin
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGetter for the fieldbackgroundColor.Getter for the fieldborderColor.Getter for the fieldborderRadius.Getter for the fieldborderWidth.Getter for the fieldfollowPointer.getStyle()Getter for the fieldstyle.voidsetBackgroundColor(Color backgroundColor) Sets the background color of tooltipsvoidsetBorderColor(Color borderColor) Sets the color of the tooltip border.voidsetBorderRadius(Number borderRadius) Sets the border radius of tooltipsvoidsetBorderWidth(Number borderWidth) Sets the width of the border of tooltipsvoidsetFollowPointer(Boolean followPointer) Setter for the fieldfollowPointer.voidSets the style attributes for tooltips
-
Constructor Details
-
TooltipStyle
public TooltipStyle()
-
-
Method Details
-
getBackgroundColor
Getter for the field
backgroundColor.- Returns:
- The background color of tooltips, null if not defined
-
setBackgroundColor
Sets the background color of tooltips- Parameters:
backgroundColor- aColorobject.
-
getBorderWidth
Getter for the field
borderWidth.- Returns:
- The width of the border of tooltips, or null if not defined
-
setBorderWidth
Sets the width of the border of tooltips- Parameters:
borderWidth- aNumberobject.
-
getStyle
Getter for the field
style.- Returns:
- The style attributes for tooltips
-
setStyle
Sets the style attributes for tooltips- Parameters:
style- Style attributes
-
getBorderRadius
Getter for the field
borderRadius.- Returns:
- The border radius of tooltips
-
setBorderRadius
Sets the border radius of tooltips- Parameters:
borderRadius- the border radius in pixels
-
getFollowPointer
Getter for the field
followPointer.- Returns:
- the followPointer
-
setFollowPointer
Setter for the field
followPointer.- Parameters:
followPointer- the followPointer to set
-
getBorderColor
Getter for the field
borderColor.- Returns:
- The color of the plot border, null if not defined
- See Also:
-
setBorderColor
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- aColorobject.
-