Class TooltipStyle
java.lang.Object
com.orchestranetworks.addon.dmdv.model.extension.TooltipStyle
Provides configuration options for tooltip style.
- Since:
- 1.0.0
-
Constructor Summary
ConstructorsConstructorDescriptionCreates the default configuration.TooltipStyle
(String textColor, String background, String border) Creates a custom configuration. -
Method Summary
Modifier and TypeMethodDescriptionReturns the background color in hex.Returns the border color in hex.Returns text color in hex.void
setBackground
(String background) Sets the background color.void
Sets the border 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 hexborder
- 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
-
getBorder
Returns the border color in hex. -
setBorder
Sets the border color.- Parameters:
border
- a color in hex
-