Class TooltipStyle
java.lang.Object
com.orchestranetworks.addon.dmdv.model.extension.TooltipStyle
Provides configuration options for tooltip style.
- Since:
- 1.0.0
-
Constructor Summary
ConstructorDescriptionCreates the default configuration.TooltipStyle
(String textColor, String background) Creates a custom configuration. -
Method Summary
Modifier and TypeMethodDescriptionReturns the background color in hex.Returns text color in hex.void
setBackground
(String background) Sets the background color.void
setTextColor
(String textColor) Sets text color.
-
Constructor Details
-
TooltipStyle
public TooltipStyle()Creates the default configuration. -
TooltipStyle
Creates a custom configuration.- Parameters:
textColor
- a color in hexbackground
- a color in hex
-
-
Method Details
-
getTextColor
Returns text color in hex. -
setTextColor
Sets text color.- Parameters:
textColor
- a color in hex
-
getBackground
Returns the background color in hex. -
setBackground
Sets the background color.- Parameters:
background
- a color in hex
-