public class TooltipStyle extends AbstractConfigurationObject
Constructor and Description |
---|
TooltipStyle() |
Modifier and Type | Method and Description |
---|---|
Color |
getBackgroundColor() |
Color |
getBorderColor() |
Number |
getBorderRadius() |
Number |
getBorderWidth() |
Boolean |
getFollowPointer() |
Style |
getStyle() |
void |
setBackgroundColor(Color backgroundColor)
Sets the background color of tooltips
|
void |
setBorderColor(Color borderColor)
Sets the color of the tooltip border.
|
void |
setBorderRadius(Number borderRadius)
Sets the border radius of tooltips
|
void |
setBorderWidth(Number borderWidth)
Sets the width of the border of tooltips
|
void |
setFollowPointer(Boolean followPointer) |
void |
setStyle(Style style)
Sets the style attributes for tooltips
|
public Color getBackgroundColor()
public void setBackgroundColor(Color backgroundColor)
backgroundColor
- public Number getBorderWidth()
public void setBorderWidth(Number borderWidth)
borderWidth
- public Style getStyle()
public void setStyle(Style style)
style
- Style attributespublic Number getBorderRadius()
public void setBorderRadius(Number borderRadius)
borderRadius
- the border radius in pixelspublic Boolean getFollowPointer()
public void setFollowPointer(Boolean followPointer)
followPointer
- the followPointer to setpublic Color getBorderColor()
setBorderColor(Color)
public void setBorderColor(Color borderColor)
borderColor
- Copyright © 2021. All rights reserved.