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()
IsDefaultTooltipsisEnabled in interface IsDefaultTooltipspublic InteractionMode getMode()
IsDefaultTooltipsgetMode in interface IsDefaultTooltipspublic boolean isIntersect()
IsDefaultTooltipsisIntersect in interface IsDefaultTooltipspublic TooltipPosition getPosition()
IsDefaultTooltipsgetPosition in interface IsDefaultTooltipspublic String getBackgroundColorAsString()
IsDefaultTooltipsgetBackgroundColorAsString in interface IsDefaultTooltipspublic String getTitleFontFamily()
IsDefaultTooltipsgetTitleFontFamily in interface IsDefaultTooltipspublic int getTitleFontSize()
IsDefaultTooltipsgetTitleFontSize in interface IsDefaultTooltipspublic FontStyle getTitleFontStyle()
IsDefaultTooltipsgetTitleFontStyle in interface IsDefaultTooltipspublic TextAlign getTitleAlign()
IsDefaultTooltipsgetTitleAlign in interface IsDefaultTooltipspublic String getTitleFontColorAsString()
IsDefaultTooltipsgetTitleFontColorAsString in interface IsDefaultTooltipspublic int getTitleSpacing()
IsDefaultTooltipsgetTitleSpacing in interface IsDefaultTooltipspublic int getTitleMarginBottom()
IsDefaultTooltipsgetTitleMarginBottom in interface IsDefaultTooltipspublic String getBodyFontFamily()
IsDefaultTooltipsgetBodyFontFamily in interface IsDefaultTooltipspublic int getBodyFontSize()
IsDefaultTooltipsgetBodyFontSize in interface IsDefaultTooltipspublic FontStyle getBodyFontStyle()
IsDefaultTooltipsgetBodyFontStyle in interface IsDefaultTooltipspublic TextAlign getBodyAlign()
IsDefaultTooltipsgetBodyAlign in interface IsDefaultTooltipspublic String getBodyFontColorAsString()
IsDefaultTooltipsgetBodyFontColorAsString in interface IsDefaultTooltipspublic int getBodySpacing()
IsDefaultTooltipsgetBodySpacing in interface IsDefaultTooltipspublic String getFooterFontFamily()
IsDefaultTooltipsgetFooterFontFamily in interface IsDefaultTooltipspublic int getFooterFontSize()
IsDefaultTooltipsgetFooterFontSize in interface IsDefaultTooltipspublic FontStyle getFooterFontStyle()
IsDefaultTooltipsgetFooterFontStyle in interface IsDefaultTooltipspublic TextAlign getFooterAlign()
IsDefaultTooltipsgetFooterAlign in interface IsDefaultTooltipspublic String getFooterFontColorAsString()
IsDefaultTooltipsgetFooterFontColorAsString in interface IsDefaultTooltipspublic int getFooterSpacing()
IsDefaultTooltipsgetFooterSpacing in interface IsDefaultTooltipspublic int getFooterMarginTop()
IsDefaultTooltipsgetFooterMarginTop in interface IsDefaultTooltipspublic int getXPadding()
IsDefaultTooltipsgetXPadding in interface IsDefaultTooltipspublic int getYPadding()
IsDefaultTooltipsgetYPadding in interface IsDefaultTooltipspublic int getCaretPadding()
IsDefaultTooltipsgetCaretPadding in interface IsDefaultTooltipspublic int getCaretSize()
IsDefaultTooltipsgetCaretSize in interface IsDefaultTooltipspublic int getCornerRadius()
IsDefaultTooltipsgetCornerRadius in interface IsDefaultTooltipspublic String getMultiKeyBackgroundAsString()
IsDefaultTooltipsgetMultiKeyBackgroundAsString in interface IsDefaultTooltipspublic boolean isDisplayColors()
IsDefaultTooltipsisDisplayColors in interface IsDefaultTooltipspublic String getBorderColorAsString()
IsDefaultTooltipsgetBorderColorAsString in interface IsDefaultTooltipspublic int getBorderWidth()
IsDefaultTooltipsgetBorderWidth in interface IsDefaultTooltips