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
Modifier and TypeClassDescriptionstatic class
static class
static enum
Nested classes/interfaces inherited from class io.jmix.chartsflowui.kit.component.model.ChartObservableObject
ChartObservableObject.ObjectChangeEvent
-
Field Summary
Modifier and TypeFieldDescriptionprotected AbstractTooltip.AxisPointer
protected Color
protected Color
protected Integer
protected String
protected String
protected JsFunction
protected Padding
protected AbstractTooltip.Position
protected Boolean
protected TextStyle
protected AbstractTooltip.Trigger
protected String
protected JsFunction
Fields inherited from class io.jmix.chartsflowui.kit.component.model.ChartObservableObject
children, dirty, listener
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetShow()
void
setAxisPointer
(AbstractTooltip.AxisPointer axisPointer) void
setBackgroundColor
(Color backgroundColor) void
setBorderColor
(Color borderColor) void
setBorderWidth
(Integer borderWidth) void
setExtraCssText
(String extraCssText) void
setFormatter
(String formatter) void
setFormatterFunction
(JsFunction formatterFunction) void
setFormatterFunction
(String formatterFunction) void
setPadding
(Integer padding) Sets padding on each of the four sides or replaces an existing one.void
setPadding
(Integer vertical, Integer horizontal) Sets the top/bottom and left/right paddings or replaces an existing one.void
setPadding
(Integer top, Integer right, Integer bottom, Integer left) Sets each of the four paddings separately.void
void
setPosition
(String horizontalPosition, String verticalPosition) void
void
setTextStyle
(TextStyle textStyle) void
setTrigger
(AbstractTooltip.Trigger trigger) void
setValueFormatter
(String valueFormatter) void
setValueFormatterFunction
(JsFunction valueFormatterFunction) void
setValueFormatterFunction
(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, unmarkDirtyInDepth
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods 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:
getPadding
in interfaceHasPadding<T extends ChartObservableObject>
- Returns:
- space around content
-
setPadding
Description copied from interface:HasPadding
Sets padding on each of the four sides or replaces an existing one. The unit is px.- Specified by:
setPadding
in interfaceHasPadding<T extends ChartObservableObject>
- Parameters:
padding
- padding to set
-
setPadding
Description copied from interface:HasPadding
Sets the top/bottom and left/right paddings or replaces an existing one. The unit is px.- Specified by:
setPadding
in interfaceHasPadding<T extends ChartObservableObject>
- Parameters:
vertical
- top and bottom padding to sethorizontal
- left and right padding to set
-
setPadding
Description copied from interface:HasPadding
Sets each of the four paddings separately. The unit is px.- Specified by:
setPadding
in 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
-