public final class DefaultTooltips extends Object implements IsDefaultTooltips
Constructor and Description |
---|
DefaultTooltips() |
Modifier and Type | Method and Description |
---|---|
String |
getBackgroundColorAsString()
Returns the background color of the tooltip.
|
TextAlign |
getBodyAlign()
Returns the body alignment.
|
String |
getBodyFontColorAsString()
Returns the body font color.
|
String |
getBodyFontFamily()
Returns the body line font.
|
int |
getBodyFontSize()
Returns the body font size.
|
FontStyle |
getBodyFontStyle()
Returns the body font style.
|
int |
getBodySpacing()
Returns the spacing to add to top and bottom of each tooltip item.
|
String |
getBorderColorAsString()
Returns the color of the border.
|
int |
getBorderWidth()
Returns the size of the 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.
|
int |
getCornerRadius()
Returns the radius of tooltip corner curves.
|
TextAlign |
getFooterAlign()
Returns the footer alignment.
|
String |
getFooterFontColorAsString()
Returns the footer font color.
|
String |
getFooterFontFamily()
Returns the footer font.
|
int |
getFooterFontSize()
Returns the footer font size.
|
FontStyle |
getFooterFontStyle()
Returns the footer font style.
|
int |
getFooterMarginTop()
Returns the margin to add before drawing the footer.
|
int |
getFooterSpacing()
Returns the spacing to add to top and bottom of each footer line.
|
InteractionMode |
getMode()
Returns which elements appear in the tooltip.
|
String |
getMultiKeyBackgroundAsString()
Returns the color to draw behind the colored boxes when multiple items are in the tooltip.
|
TooltipPosition |
getPosition()
Returns the mode for positioning the tooltip.
|
TextAlign |
getTitleAlign()
Returns the title alignment.
|
String |
getTitleFontColorAsString()
Returns the title font color.
|
String |
getTitleFontFamily()
Returns the title font.
|
int |
getTitleFontSize()
Returns the title font size.
|
FontStyle |
getTitleFontStyle()
Returns the title font style.
|
int |
getTitleMarginBottom()
Returns the margin to add on bottom of title section.
|
int |
getTitleSpacing()
Returns the spacing to add to top and bottom of each title line.
|
int |
getXPadding()
Returns the padding to add on left and right of tooltip.
|
int |
getYPadding()
Returns the padding to add on top and bottom of tooltip.
|
boolean |
isDisplayColors()
If true, color boxes are shown in the tooltip.
|
boolean |
isEnabled()
Returns if tooltips are enabled.
|
boolean |
isIntersect()
if true, the tooltip mode applies only when the mouse position intersects with an element.
|
public boolean isEnabled()
IsDefaultTooltips
isEnabled
in interface IsDefaultTooltips
public InteractionMode getMode()
IsDefaultTooltips
getMode
in interface IsDefaultTooltips
public boolean isIntersect()
IsDefaultTooltips
isIntersect
in interface IsDefaultTooltips
public TooltipPosition getPosition()
IsDefaultTooltips
getPosition
in interface IsDefaultTooltips
public String getBackgroundColorAsString()
IsDefaultTooltips
getBackgroundColorAsString
in interface IsDefaultTooltips
public String getTitleFontFamily()
IsDefaultTooltips
getTitleFontFamily
in interface IsDefaultTooltips
public int getTitleFontSize()
IsDefaultTooltips
getTitleFontSize
in interface IsDefaultTooltips
public FontStyle getTitleFontStyle()
IsDefaultTooltips
getTitleFontStyle
in interface IsDefaultTooltips
public TextAlign getTitleAlign()
IsDefaultTooltips
getTitleAlign
in interface IsDefaultTooltips
public String getTitleFontColorAsString()
IsDefaultTooltips
getTitleFontColorAsString
in interface IsDefaultTooltips
public int getTitleSpacing()
IsDefaultTooltips
getTitleSpacing
in interface IsDefaultTooltips
public int getTitleMarginBottom()
IsDefaultTooltips
getTitleMarginBottom
in interface IsDefaultTooltips
public String getBodyFontFamily()
IsDefaultTooltips
getBodyFontFamily
in interface IsDefaultTooltips
public int getBodyFontSize()
IsDefaultTooltips
getBodyFontSize
in interface IsDefaultTooltips
public FontStyle getBodyFontStyle()
IsDefaultTooltips
getBodyFontStyle
in interface IsDefaultTooltips
public TextAlign getBodyAlign()
IsDefaultTooltips
getBodyAlign
in interface IsDefaultTooltips
public String getBodyFontColorAsString()
IsDefaultTooltips
getBodyFontColorAsString
in interface IsDefaultTooltips
public int getBodySpacing()
IsDefaultTooltips
getBodySpacing
in interface IsDefaultTooltips
public String getFooterFontFamily()
IsDefaultTooltips
getFooterFontFamily
in interface IsDefaultTooltips
public int getFooterFontSize()
IsDefaultTooltips
getFooterFontSize
in interface IsDefaultTooltips
public FontStyle getFooterFontStyle()
IsDefaultTooltips
getFooterFontStyle
in interface IsDefaultTooltips
public TextAlign getFooterAlign()
IsDefaultTooltips
getFooterAlign
in interface IsDefaultTooltips
public String getFooterFontColorAsString()
IsDefaultTooltips
getFooterFontColorAsString
in interface IsDefaultTooltips
public int getFooterSpacing()
IsDefaultTooltips
getFooterSpacing
in interface IsDefaultTooltips
public int getFooterMarginTop()
IsDefaultTooltips
getFooterMarginTop
in interface IsDefaultTooltips
public int getXPadding()
IsDefaultTooltips
getXPadding
in interface IsDefaultTooltips
public int getYPadding()
IsDefaultTooltips
getYPadding
in interface IsDefaultTooltips
public int getCaretPadding()
IsDefaultTooltips
getCaretPadding
in interface IsDefaultTooltips
public int getCaretSize()
IsDefaultTooltips
getCaretSize
in interface IsDefaultTooltips
public int getCornerRadius()
IsDefaultTooltips
getCornerRadius
in interface IsDefaultTooltips
public String getMultiKeyBackgroundAsString()
IsDefaultTooltips
getMultiKeyBackgroundAsString
in interface IsDefaultTooltips
public boolean isDisplayColors()
IsDefaultTooltips
isDisplayColors
in interface IsDefaultTooltips
public String getBorderColorAsString()
IsDefaultTooltips
getBorderColorAsString
in interface IsDefaultTooltips
public int getBorderWidth()
IsDefaultTooltips
getBorderWidth
in interface IsDefaultTooltips