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 Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic classstatic enumNested classes/interfaces inherited from class io.jmix.chartsflowui.kit.component.model.ChartObservableObject
ChartObservableObject.ObjectChangeEvent -
Field Summary
FieldsModifier 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.ChartObservableObject
children, dirty, listener -
Constructor Summary
Constructors -
Method Summary
Modifier 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.ChartObservableObject
addChild, fireChangeEvent, getChildren, isDirty, isDirtyInDepth, markAsDirty, markAsDirtyInDepth, removeChild, setChartObjectChangeListener, unmarkDirtyInDepthMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.jmix.chartsflowui.kit.component.model.shared.HasPadding
withPadding, withPadding, withPadding
-
Field Details
-
show
-
trigger
-
position
-
axisPointer
-
formatter
-
formatterFunction
-
valueFormatter
-
valueFormatterFunction
-
backgroundColor
-
borderColor
-
borderWidth
-
textStyle
-
extraCssText
-
padding
-
-
Constructor Details
-
AbstractTooltip
public 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 interfaceHasPadding<T extends ChartObservableObject>- Returns:
- space around content
-
setPadding
Description copied from interface:HasPaddingSets padding on each of the four sides or replaces an existing one. The unit is px.- Specified by:
setPaddingin interfaceHasPadding<T extends ChartObservableObject>- Parameters:
padding- padding to set
-
setPadding
Description copied from interface:HasPaddingSets the top/bottom and left/right paddings or replaces an existing one. The unit is px.- Specified by:
setPaddingin interfaceHasPadding<T extends ChartObservableObject>- Parameters:
vertical- top and bottom padding to sethorizontal- left and right padding to set
-
setPadding
Description copied from interface:HasPaddingSets each of the four paddings separately. The unit is px.- Specified by:
setPaddingin interfaceHasPadding<T extends ChartObservableObject>- Parameters:
top- top padding to setright- right padding to setbottom- bottom padding to setleft- left padding to set
-
withShow
-
withPosition
-
withFormatter
-
withFormatterFunction
-
withValueFormatter
-
withValueFormatterFunction
-
withBorderWidth
-
withExtraCssText
-