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 |
---|---|
java.util.List<java.lang.String> |
getAfterBody()
Returns the list of lines after body section.
|
IsColor |
getBackgroundColor()
Returns the background color of tooltip.
|
java.lang.String |
getBackgroundColorAsString()
Returns the background color of tooltip.
|
java.util.List<java.lang.String> |
getBeforeBody()
Returns the list of lines before body section.
|
java.util.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.
|
java.lang.String |
getBodyFontColorAsString()
Returns the color of the tooltip body section.
|
java.lang.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.
|
java.lang.String |
getBorderColorAsString()
Returns the border color of tooltips.
|
IsColor |
getBorderColorBackground()
Returns the border color of tooltips.
|
int |
getBorderWidth()
Returns the size of border.
|
int |
getCaretPadding()
Returns the extra distance to move the end of the tooltip arrow away from the tooltip point.
|
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.
|
java.util.List<TooltipItem> |
getDataPoints()
Returns the list of tooltip items related to data points.
|
java.util.List<java.lang.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.
|
java.lang.String |
getFooterFontColorAsString()
Returns the color of the tooltip footer section.
|
java.lang.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.
|
java.util.List<TooltipLabelColor> |
getLabelColors()
Returns the list of labels color of tooltip.
|
IsColor |
getLegendColorBackground()
Returns the legend color of tooltips.
|
java.lang.String |
getLegendColorBackgroundAsString()
Returns the legend color of tooltips.
|
double |
getOpacity()
Returns the opacity of tooltip.
|
java.util.List<TooltipLabelColor> |
getTextLabelColors()
Returns the list of labels text color of tooltip.
|
java.util.List<java.lang.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.
|
java.lang.String |
getTitleFontColorAsString()
Returns the color of the tooltip title section.
|
java.lang.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.
|
java.lang.String |
getXAlign()
Returns the X align location.
|
int |
getXPadding()
Returns the X padding location.
|
int |
getY()
Returns the Y location of tooltip.
|
java.lang.String |
getYAlign()
Returns the Y align location.
|
int |
getYPadding()
Returns the Y padding location.
|
boolean |
isDisplayColors()
Returns the display of colors of tooltip.
|
checkValue, 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 java.util.List<TooltipItem> getDataPoints()
public int getXPadding()
public int getYPadding()
public java.lang.String getXAlign()
UndefinedValues.STRING
.public java.lang.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 java.util.List<TooltipBodyItem> getBody()
public java.util.List<java.lang.String> getBeforeBody()
public java.util.List<java.lang.String> getAfterBody()
public java.lang.String getBodyFontColorAsString()
public IsColor getBodyFontColor()
public java.lang.String getBodyFontFamily()
public FontStyle getBodyFontStyle()
public TextAlign getBodyAlign()
public int getBodyFontSize()
public int getBodySpacing()
public java.util.List<java.lang.String> getTitle()
public java.lang.String getTitleFontColorAsString()
public IsColor getTitleFontColor()
public java.lang.String getTitleFontFamily()
public FontStyle getTitleFontStyle()
public int getTitleFontSize()
public TextAlign getTitleAlign()
public int getTitleSpacing()
public int getTitleMarginBottom()
public java.util.List<java.lang.String> getFooter()
public java.lang.String getFooterFontColorAsString()
public IsColor getFooterFontColor()
public java.lang.String getFooterFontFamily()
public FontStyle getFooterFontStyle()
public int getFooterFontSize()
public TextAlign getFooterAlign()
public int getFooterSpacing()
public int getFooterMarginTop()
public int getCaretSize()
public int getCaretPadding()
public double getCornerRadius()
public java.lang.String getBackgroundColorAsString()
public IsColor getBackgroundColor()
public java.util.List<TooltipLabelColor> getLabelColors()
public java.util.List<TooltipLabelColor> getTextLabelColors()
public double getOpacity()
UndefinedValues.DOUBLE
.public java.lang.String getLegendColorBackgroundAsString()
public IsColor getLegendColorBackground()
public java.lang.String getBorderColorAsString()
public IsColor getBorderColorBackground()
public int getBorderWidth()
public boolean isDisplayColors()