Class Emphasis.IconStyle
java.lang.Object
io.jmix.chartsflowui.kit.component.model.ChartObservableObject
io.jmix.chartsflowui.kit.component.model.shared.AbstractBorderedTextStyle<Emphasis.IconStyle>
io.jmix.chartsflowui.kit.component.model.toolbox.Emphasis.IconStyle
- All Implemented Interfaces:
HasLineStyle<Emphasis.IconStyle>
,HasShadow<Emphasis.IconStyle>
,HasPadding<Emphasis.IconStyle>
,Serializable
- Enclosing class:
- Emphasis
public static class Emphasis.IconStyle
extends AbstractBorderedTextStyle<Emphasis.IconStyle>
implements HasPadding<Emphasis.IconStyle>
The label font style. It only appears when hovering on the icon.
More detailed information is provided in the documentation.
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
Position of the title text.Nested classes/interfaces inherited from class io.jmix.chartsflowui.kit.component.model.ChartObservableObject
ChartObservableObject.ObjectChangeEvent
Nested classes/interfaces inherited from interface io.jmix.chartsflowui.kit.component.model.HasLineStyle
HasLineStyle.Cap, HasLineStyle.Join
-
Field Summary
Modifier and TypeFieldDescriptionprotected Padding
protected Align
protected Color
protected Integer
protected Color
protected Emphasis.IconStyle.TextPosition
Fields inherited from class io.jmix.chartsflowui.kit.component.model.shared.AbstractBorderedTextStyle
borderCap, borderColor, borderDashOffset, borderJoin, borderMiterLimit, borderType, borderWidth, color, opacity, shadowBlur, shadowColor, shadowOffsetX, shadowOffsetY
Fields inherited from class io.jmix.chartsflowui.kit.component.model.ChartObservableObject
children, dirty, listener
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
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
setTextAlign
(Align textAlign) void
setTextBackgroundColor
(Color textBackgroundColor) void
setTextBorderRadius
(Integer textBorderRadius) void
setTextFill
(Color textFill) void
setTextPosition
(Emphasis.IconStyle.TextPosition textPosition) withTextAlign
(Align textAlign) withTextBackgroundColor
(Color textBackgroundColor) withTextBorderRadius
(Integer textBorderRadius) withTextFill
(Color textFill) withTextPosition
(Emphasis.IconStyle.TextPosition textPosition) Methods inherited from class io.jmix.chartsflowui.kit.component.model.shared.AbstractBorderedTextStyle
getBorderColor, getBorderDashOffset, getBorderType, getBorderWidth, getCap, getColor, getJoin, getMiterLimit, getOpacity, getShadowBlur, getShadowColor, getShadowOffsetX, getShadowOffsetY, setBorderColor, setBorderDashOffset, setBorderType, setBorderWidth, setCap, setColor, setJoin, setMiterLimit, setOpacity, setShadowBlur, setShadowColor, setShadowOffsetX, setShadowOffsetY, withBorderColor, withBorderDashOffset, withBorderType, withBorderWidth, withColor, withOpacity
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.HasLineStyle
withCap, withJoin, withMiterLimit
Methods inherited from interface io.jmix.chartsflowui.kit.component.model.shared.HasPadding
withPadding, withPadding, withPadding
Methods inherited from interface io.jmix.chartsflowui.kit.component.model.HasShadow
withShadowBlur, withShadowColor, withShadowOffsetX, withShadowOffsetY
-
Field Details
-
textPosition
-
textFill
-
textAlign
-
textBackgroundColor
-
textBorderRadius
-
padding
-
-
Constructor Details
-
IconStyle
public IconStyle()
-
-
Method Details
-
getTextPosition
-
setTextPosition
-
getTextFill
-
getTextAlign
-
getTextBackgroundColor
-
getTextBorderRadius
-
setTextBorderRadius
-
getPadding
- Specified by:
getPadding
in interfaceHasPadding<Emphasis.IconStyle>
- 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<Emphasis.IconStyle>
- 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<Emphasis.IconStyle>
- 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<Emphasis.IconStyle>
- Parameters:
top
- top padding to setright
- right padding to setbottom
- bottom padding to setleft
- left padding to set
-
withTextPosition
-
withTextBorderRadius
-