public final class TooltipStyle extends Object
Constructor and Description |
---|
TooltipStyle()
Creates the default configuration.
|
TooltipStyle(String textColor,
String background)
Creates a custom configuration.
|
Modifier and Type | Method and Description |
---|---|
String |
getBackground()
Returns the background color in hex.
|
String |
getTextColor()
Returns text color in hex.
|
void |
setBackground(String background)
Sets the background color.
|
void |
setTextColor(String textColor)
Sets text color.
|
public String getTextColor()
public void setTextColor(String textColor)
textColor
- a color in hexpublic String getBackground()
public void setBackground(String background)
background
- a color in hex