Class AbstractTooltip<T extends ChartObservableObject>
java.lang.Object
io.jmix.chartsflowui.kit.component.model.ChartObservableObject
io.jmix.chartsflowui.kit.component.model.shared.AbstractTooltip<T>
- Type Parameters:
- T- origin tooltip class type
- All Implemented Interfaces:
- HasPadding<T>,- Serializable
- Direct Known Subclasses:
- InnerTooltip,- Tooltip
public abstract class AbstractTooltip<T extends ChartObservableObject>
extends ChartObservableObject
implements HasPadding<T>
The base class for tooltip components.
- See Also:
- 
Nested Class SummaryNested ClassesModifier and TypeClassDescriptionstatic classstatic classstatic enumNested classes/interfaces inherited from class io.jmix.chartsflowui.kit.component.model.ChartObservableObjectChartObservableObject.ObjectChangeEvent
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprotected AbstractTooltip.AxisPointerprotected Colorprotected Colorprotected Integerprotected Stringprotected Stringprotected JsFunctionprotected Paddingprotected AbstractTooltip.Positionprotected Booleanprotected TextStyleprotected AbstractTooltip.Triggerprotected Stringprotected JsFunctionFields inherited from class io.jmix.chartsflowui.kit.component.model.ChartObservableObjectchildren, dirty, listener
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptiongetShow()voidsetAxisPointer(AbstractTooltip.AxisPointer axisPointer) voidsetBackgroundColor(Color backgroundColor) voidsetBorderColor(Color borderColor) voidsetBorderWidth(Integer borderWidth) voidsetExtraCssText(String extraCssText) voidsetFormatter(String formatter) voidsetFormatterFunction(JsFunction formatterFunction) voidsetFormatterFunction(String formatterFunction) voidsetPadding(Integer padding) Sets padding on each of the four sides or replaces an existing one.voidsetPadding(Integer vertical, Integer horizontal) Sets the top/bottom and left/right paddings or replaces an existing one.voidsetPadding(Integer top, Integer right, Integer bottom, Integer left) Sets each of the four paddings separately.voidvoidsetPosition(String horizontalPosition, String verticalPosition) voidvoidsetTextStyle(TextStyle textStyle) voidsetTrigger(AbstractTooltip.Trigger trigger) voidsetValueFormatter(String valueFormatter) voidsetValueFormatterFunction(JsFunction valueFormatterFunction) voidsetValueFormatterFunction(String valueFormatterFunction) withAxisPointer(AbstractTooltip.AxisPointer axisPointer) withBackgroundColor(Color backgroundColor) withBorderColor(Color borderColor) withBorderWidth(Integer borderWidth) withExtraCssText(String extraCssText) withFormatter(String formatter) withFormatterFunction(JsFunction formatterFunction) withFormatterFunction(String formatterFunction) withPosition(String horizontalPosition, String verticalPosition) withTextStyle(TextStyle textStyle) withTrigger(AbstractTooltip.Trigger trigger) withValueFormatter(String valueFormatter) withValueFormatterFunction(JsFunction valueFormatterFunction) withValueFormatterFunction(String valueFormatterFunction) Methods inherited from class io.jmix.chartsflowui.kit.component.model.ChartObservableObjectaddChild, fireChangeEvent, getChildren, isDirty, isDirtyInDepth, markAsDirty, markAsDirtyInDepth, removeChild, setChartObjectChangeListener, unmarkDirtyInDepthMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.jmix.chartsflowui.kit.component.model.shared.HasPaddingwithPadding, withPadding, withPadding
- 
Field Details- 
show
- 
trigger
- 
position
- 
axisPointer
- 
formatter
- 
formatterFunction
- 
valueFormatter
- 
valueFormatterFunction
- 
backgroundColor
- 
borderColor
- 
borderWidth
- 
textStyle
- 
extraCssText
- 
padding
 
- 
- 
Constructor Details- 
AbstractTooltippublic AbstractTooltip()
 
- 
- 
Method Details- 
getShow
- 
setShow
- 
getTrigger
- 
getPosition
- 
setPosition
- 
getAxisPointer
- 
getFormatter
- 
setFormatter
- 
getFormatterFunction
- 
setFormatterFunction
- 
getValueFormatter
- 
setValueFormatter
- 
getValueFormatterFunction
- 
setValueFormatterFunction
- 
getBackgroundColor
- 
getBorderColor
- 
getBorderWidth
- 
setBorderWidth
- 
getTextStyle
- 
getExtraCssText
- 
setExtraCssText
- 
getPadding- Specified by:
- getPaddingin interface- HasPadding<T extends ChartObservableObject>
- Returns:
- space around content
 
- 
setPaddingDescription copied from interface:HasPaddingSets padding on each of the four sides or replaces an existing one. The unit is px.- Specified by:
- setPaddingin interface- HasPadding<T extends ChartObservableObject>
- Parameters:
- padding- padding to set
 
- 
setPaddingDescription copied from interface:HasPaddingSets the top/bottom and left/right paddings or replaces an existing one. The unit is px.- Specified by:
- setPaddingin interface- HasPadding<T extends ChartObservableObject>
- Parameters:
- vertical- top and bottom padding to set
- horizontal- left and right padding to set
 
- 
setPaddingDescription copied from interface:HasPaddingSets each of the four paddings separately. The unit is px.- Specified by:
- setPaddingin interface- HasPadding<T extends ChartObservableObject>
- Parameters:
- top- top padding to set
- right- right padding to set
- bottom- bottom padding to set
- left- left padding to set
 
- 
withShow
- 
withPosition
- 
withFormatter
- 
withFormatterFunction
- 
withValueFormatter
- 
withValueFormatterFunction
- 
withBorderWidth
- 
withExtraCssText
 
-