public final class TooltipModel extends NativeObjectContainer
Constructor and Description |
---|
TooltipModel(NativeObject nativeObject)
Creates the item using a native java script object which contains all properties.
|
Modifier and Type | Method and Description |
---|---|
List<String> |
getAfterBody()
Returns the list of lines after body section.
|
IsColor |
getBackgroundColor()
Returns the background color of tooltip.
|
String |
getBackgroundColorAsString()
Returns the background color of tooltip.
|
List<String> |
getBeforeBody()
Returns the list of lines before body section.
|
List<TooltipBodyItem> |
getBody()
Returns the list of items which belong to the tooltip body section.
|
TextAlign |
getBodyAlign()
Returns the alignment of the tooltip body section.
|
IsColor |
getBodyFontColor()
Returns the color of the tooltip body section.
|
String |
getBodyFontColorAsString()
Returns the color of the tooltip body section.
|
String |
getBodyFontFamily()
Returns the font family of the tooltip body section.
|
int |
getBodyFontSize()
Returns the font size of the tooltip body section.
|
FontStyle |
getBodyFontStyle()
Returns the font style of the tooltip body section.
|
int |
getBodySpacing()
Returns the spacing of the tooltip body section.
|
int |
getCaretSize()
Returns the size, in px, of the tooltip arrow of footer section.
|
int |
getCaretX()
Returns the X location of the tooltip arrow.
|
int |
getCaretY()
Returns the Y location of the tooltip arrow.
|
double |
getCornerRadius()
Returns the radius of tooltip corner curves of footer section.
|
List<TooltipItem> |
getDataPoints()
Returns the list of tooltip items related to data points.
|
List<String> |
getFooter()
Returns the footer of the tooltip.
|
TextAlign |
getFooterAlign()
Returns the alignment of the tooltip footer section.
|
IsColor |
getFooterFontColor()
Returns the color of the tooltip footer section.
|
String |
getFooterFontColorAsString()
Returns the color of the tooltip footer section.
|
String |
getFooterFontFamily()
Returns the font family of the tooltip footer section.
|
int |
getFooterFontSize()
Returns the font size of the tooltip footer section.
|
FontStyle |
getFooterFontStyle()
Returns the font style of the tooltip footer section.
|
int |
getFooterMarginTop()
Returns the margin top of the tooltip footer section.
|
int |
getFooterSpacing()
Returns the spacing of the tooltip footer section.
|
int |
getHeight()
Returns the height of tooltip.
|
List<TooltipLabelColor> |
getLabelColors()
Returns the list of labels color of tooltip.
|
IsColor |
getLegendColorBackground()
Returns the legend color of tooltips.
|
String |
getLegendColorBackgroundAsString()
Returns the legend color of tooltips.
|
double |
getOpacity()
Returns the opacity of tooltip.
|
List<String> |
getTitle()
Returns the title of the tooltip.
|
TextAlign |
getTitleAlign()
Returns the alignment of the tooltip title section.
|
IsColor |
getTitleFontColor()
Returns the color of the tooltip title section.
|
String |
getTitleFontColorAsString()
Returns the color of the tooltip title section.
|
String |
getTitleFontFamily()
Returns the font family of the tooltip title section.
|
int |
getTitleFontSize()
Returns the font size of the tooltip title section.
|
FontStyle |
getTitleFontStyle()
Returns the font style of the tooltip title section.
|
int |
getTitleMarginBottom()
Returns the bottom margin of the tooltip title section.
|
int |
getTitleSpacing()
Returns the spacing of the tooltip title section.
|
int |
getWidth()
Returns the width of tooltip.
|
int |
getX()
Returns the X location of tooltip.
|
String |
getXAlign()
Returns the X align location.
|
int |
getXPadding()
Returns the X padding location.
|
int |
getY()
Returns the Y location of tooltip.
|
String |
getYAlign()
Returns the Y align location.
|
int |
getYPadding()
Returns the Y padding location.
|
boolean |
isDisplayColors()
Returns the display of colors of tooltip.
|
getArrayValue, getNativeObject, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValueOrArray, getValueOrArray, getValueOrArray, getValueOrArray, getValueOrArray, getValueOrArray, getValueOrArray, has, has, keys, remove, remove, removeIfExists, setArrayValue, setArrayValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, toJSON, type
public TooltipModel(NativeObject nativeObject)
nativeObject
- native java script object which contains all properties.public List<TooltipItem> getDataPoints()
public int getXPadding()
public int getYPadding()
public String getXAlign()
UndefinedValues.STRING
.public String getYAlign()
UndefinedValues.STRING
.public int getX()
UndefinedValues.INTEGER
.public int getY()
UndefinedValues.INTEGER
.public int getWidth()
UndefinedValues.INTEGER
.public int getHeight()
UndefinedValues.INTEGER
.public int getCaretX()
UndefinedValues.INTEGER
.public int getCaretY()
UndefinedValues.INTEGER
.public List<TooltipBodyItem> getBody()
public List<String> getBeforeBody()
public List<String> getAfterBody()
public String getBodyFontColorAsString()
public IsColor getBodyFontColor()
public String getBodyFontFamily()
public FontStyle getBodyFontStyle()
public TextAlign getBodyAlign()
public int getBodyFontSize()
public int getBodySpacing()
public List<String> getTitle()
public String getTitleFontColorAsString()
public IsColor getTitleFontColor()
public String getTitleFontFamily()
public FontStyle getTitleFontStyle()
public int getTitleFontSize()
public TextAlign getTitleAlign()
public int getTitleSpacing()
public int getTitleMarginBottom()
public List<String> getFooter()
public String getFooterFontColorAsString()
public IsColor getFooterFontColor()
public String getFooterFontFamily()
public FontStyle getFooterFontStyle()
public int getFooterFontSize()
public TextAlign getFooterAlign()
public int getFooterSpacing()
public int getFooterMarginTop()
public int getCaretSize()
public double getCornerRadius()
public String getBackgroundColorAsString()
public IsColor getBackgroundColor()
public List<TooltipLabelColor> getLabelColors()
public double getOpacity()
UndefinedValues.DOUBLE
.public String getLegendColorBackgroundAsString()
public IsColor getLegendColorBackground()
public boolean isDisplayColors()