Class AbstractSeries.Tooltip
java.lang.Object
io.jmix.chartsflowui.kit.component.model.ChartObservableObject
io.jmix.chartsflowui.kit.component.model.series.AbstractSeries.Tooltip
- All Implemented Interfaces:
HasPadding<AbstractSeries.Tooltip>
,Serializable
- Enclosing class:
- AbstractSeries<T extends AbstractSeries<T>>
public static class AbstractSeries.Tooltip
extends ChartObservableObject
implements HasPadding<AbstractSeries.Tooltip>
Tooltip component for series.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class io.jmix.chartsflowui.kit.component.model.ChartObservableObject
ChartObservableObject.ObjectChangeEvent
-
Field Summary
Modifier and TypeFieldDescriptionprotected Color
protected Color
protected Integer
protected String
protected String
protected JsFunction
protected Padding
protected AbstractTooltip.Position
protected TextStyle
protected String
Fields inherited from class io.jmix.chartsflowui.kit.component.model.ChartObservableObject
children, dirty, listener
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
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
setPosition
(AbstractTooltip.Position.ItemTriggerPosition itemTriggerPosition) void
setPosition
(String horizontalPosition, String verticalPosition) void
setTextStyle
(TextStyle textStyle) void
setValueFormatter
(String valueFormatter) withBackgroundColor
(Color backgroundColor) withBorderColor
(Color borderColor) withBorderWidth
(Integer borderWidth) withExtraCssText
(String extraCssText) withFormatter
(String formatter) withFormatterFunction
(JsFunction formatterFunction) withFormatterFunction
(String formatterFunction) withPosition
(AbstractTooltip.Position.ItemTriggerPosition itemTriggerPosition) withPosition
(String horizontalPosition, String verticalPosition) withTextStyle
(TextStyle textStyle) withValueFormatter
(String valueFormatter) 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
-
position
-
formatter
-
formatterFunction
-
valueFormatter
-
backgroundColor
-
borderColor
-
borderWidth
-
padding
-
textStyle
-
extraCssText
-
-
Constructor Details
-
Tooltip
public Tooltip()
-
-
Method Details
-
getPosition
-
setPosition
-
getFormatter
-
setFormatter
-
getFormatterFunction
-
setFormatterFunction
-
getValueFormatter
-
setValueFormatter
-
getBackgroundColor
-
getBorderColor
-
getBorderWidth
-
setBorderWidth
-
getPadding
- Specified by:
getPadding
in interfaceHasPadding<AbstractSeries.Tooltip>
- 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<AbstractSeries.Tooltip>
- 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<AbstractSeries.Tooltip>
- 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<AbstractSeries.Tooltip>
- Parameters:
top
- top padding to setright
- right padding to setbottom
- bottom padding to setleft
- left padding to set
-
getTextStyle
-
getExtraCssText
-
setExtraCssText
-
withPosition
-
withFormatter
-
withFormatterFunction
-
withValueFormatter
-
withBorderWidth
-
withExtraCssText
-