Class TooltipStyle
- java.lang.Object
-
- com.orchestranetworks.addon.dmdv.model.extension.TooltipStyle
-
public final class TooltipStyle extends java.lang.ObjectProvides configuration options for tooltip style.- Since:
- 1.0.0
-
-
Constructor Summary
Constructors Constructor Description TooltipStyle()Creates the default configuration.TooltipStyle(java.lang.String textColor, java.lang.String background)Creates a custom configuration.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetBackground()Returns the background color in hex.java.lang.StringgetTextColor()Returns text color in hex.voidsetBackground(java.lang.String background)Sets the background color.voidsetTextColor(java.lang.String textColor)Sets text color.
-
-
-
Method Detail
-
getTextColor
public java.lang.String getTextColor()
Returns text color in hex.
-
setTextColor
public void setTextColor(java.lang.String textColor)
Sets text color.- Parameters:
textColor- a color in hex
-
getBackground
public java.lang.String getBackground()
Returns the background color in hex.
-
setBackground
public void setBackground(java.lang.String background)
Sets the background color.- Parameters:
background- a color in hex
-
-