public final class DefaultTooltips extends Object implements IsDefaultTooltips
Modifier and Type | Method and Description |
---|---|
IsDefaultAnimation |
getAnimation()
Returns the animation element.
|
IsDefaultAnimations |
getAnimations()
Returns the animations collection element.
|
String |
getBackgroundColorAsString()
Returns the background color of the tooltip.
|
TextAlign |
getBodyAlign()
Returns the body alignment.
|
String |
getBodyColorAsString()
Returns the body font color as string.
|
IsDefaultFont |
getBodyFont()
Returns the body line font.
|
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 |
getBoxHeight()
Returns the height of colored box.
|
int |
getBoxWidth()
Returns the width of colored box.
|
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.
|
Set<Event> |
getEvents()
Returns the browser events that the tooltip should listen to.
|
TextAlign |
getFooterAlign()
Returns the footer alignment.
|
String |
getFooterColorAsString()
Returns the footer font color as string.
|
IsDefaultFont |
getFooterFont()
Returns the footer font.
|
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.
|
IsDefaultPadding |
getPadding()
Returns padding object defaults.
|
IsTooltipPosition |
getPosition()
Returns the mode for positioning the tooltip.
|
TextDirection |
getTextDirection()
Returns the text direction that will force on the canvas for rendering the object, regardless of the CSS specified on the canvas.
|
TextAlign |
getTitleAlign()
Returns the title alignment.
|
String |
getTitleColorAsString()
Returns the title font color as string.
|
IsDefaultFont |
getTitleFont()
Returns the title font.
|
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.
|
IsDefaultTransitions |
getTransitions()
Returns the animation transition element.
|
TooltipAlign |
getXAlign()
Returns the alignment of the tooltip caret in the X direction.
|
TooltipAlign |
getYAlign()
Returns the alignment of the tooltip caret in the Y direction.
|
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.
|
boolean |
isRtl()
Returns
true for rendering the object from right to left. |
boolean |
isUsePointStyle()
Returns if to use the corresponding point style (from data set options) instead of color boxes (size is based on the minimum value between boxWidth and boxHeight).
|
public IsDefaultTransitions getTransitions()
IsDefaultAnimationContainer
getTransitions
in interface IsDefaultAnimationContainer
public IsDefaultAnimation getAnimation()
IsDefaultAnimationTransition
getAnimation
in interface IsDefaultAnimationTransition
public IsDefaultAnimations getAnimations()
IsDefaultAnimationTransition
getAnimations
in interface IsDefaultAnimationTransition
public IsDefaultPadding getPadding()
IsDefaultTooltips
getPadding
in interface IsDefaultTooltips
public boolean isEnabled()
IsDefaultTooltips
isEnabled
in interface IsDefaultTooltips
public Set<Event> getEvents()
IsDefaultTooltips
getEvents
in interface IsDefaultTooltips
public InteractionMode getMode()
IsDefaultTooltips
getMode
in interface IsDefaultTooltips
public boolean isIntersect()
IsDefaultTooltips
isIntersect
in interface IsDefaultTooltips
public IsTooltipPosition getPosition()
IsDefaultTooltips
getPosition
in interface IsDefaultTooltips
public String getBackgroundColorAsString()
IsDefaultTooltips
getBackgroundColorAsString
in interface IsDefaultTooltips
public IsDefaultFont getTitleFont()
IsDefaultTooltips
getTitleFont
in interface IsDefaultTooltips
public String getTitleColorAsString()
IsDefaultTooltips
getTitleColorAsString
in interface IsDefaultTooltips
public TextAlign getTitleAlign()
IsDefaultTooltips
getTitleAlign
in interface IsDefaultTooltips
public int getTitleSpacing()
IsDefaultTooltips
getTitleSpacing
in interface IsDefaultTooltips
public int getTitleMarginBottom()
IsDefaultTooltips
getTitleMarginBottom
in interface IsDefaultTooltips
public IsDefaultFont getBodyFont()
IsDefaultTooltips
getBodyFont
in interface IsDefaultTooltips
public String getBodyColorAsString()
IsDefaultTooltips
getBodyColorAsString
in interface IsDefaultTooltips
public TextAlign getBodyAlign()
IsDefaultTooltips
getBodyAlign
in interface IsDefaultTooltips
public int getBodySpacing()
IsDefaultTooltips
getBodySpacing
in interface IsDefaultTooltips
public IsDefaultFont getFooterFont()
IsDefaultTooltips
getFooterFont
in interface IsDefaultTooltips
public String getFooterColorAsString()
IsDefaultTooltips
getFooterColorAsString
in interface IsDefaultTooltips
public TextAlign getFooterAlign()
IsDefaultTooltips
getFooterAlign
in interface IsDefaultTooltips
public int getFooterSpacing()
IsDefaultTooltips
getFooterSpacing
in interface IsDefaultTooltips
public int getFooterMarginTop()
IsDefaultTooltips
getFooterMarginTop
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
public boolean isRtl()
IsDefaultTextDirectionHandler
true
for rendering the object from right to left.isRtl
in interface IsDefaultTextDirectionHandler
true
for rendering the object from right to left.public TextDirection getTextDirection()
IsDefaultTextDirectionHandler
getTextDirection
in interface IsDefaultTextDirectionHandler
public int getBoxWidth()
IsDefaultBoxHandler
getBoxWidth
in interface IsDefaultBoxHandler
public int getBoxHeight()
IsDefaultBoxHandler
getBoxHeight
in interface IsDefaultBoxHandler
public boolean isUsePointStyle()
IsDefaultTooltips
isUsePointStyle
in interface IsDefaultTooltips
true
if to use the corresponding point style (from data set options) instead of color boxes (size is based on the minimum value between boxWidth and
boxHeight)public TooltipAlign getXAlign()
IsDefaultTooltips
getXAlign
in interface IsDefaultTooltips
public TooltipAlign getYAlign()
IsDefaultTooltips
getYAlign
in interface IsDefaultTooltips