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
Nested ClassesModifier and TypeClassDescriptionstatic enumPosition of the title text.Nested classes/interfaces inherited from class io.jmix.chartsflowui.kit.component.model.ChartObservableObject
ChartObservableObject.ObjectChangeEventNested classes/interfaces inherited from interface io.jmix.chartsflowui.kit.component.model.HasLineStyle
HasLineStyle.Cap, HasLineStyle.Join -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Paddingprotected Alignprotected Colorprotected Integerprotected Colorprotected Emphasis.IconStyle.TextPositionFields inherited from class io.jmix.chartsflowui.kit.component.model.shared.AbstractBorderedTextStyle
borderCap, borderColor, borderDashOffset, borderJoin, borderMiterLimit, borderType, borderWidth, color, opacity, shadowBlur, shadowColor, shadowOffsetX, shadowOffsetYFields inherited from class io.jmix.chartsflowui.kit.component.model.ChartObservableObject
children, dirty, listener -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidsetPadding(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.voidsetTextAlign(Align textAlign) voidsetTextBackgroundColor(Color textBackgroundColor) voidsetTextBorderRadius(Integer textBorderRadius) voidsetTextFill(Color textFill) voidsetTextPosition(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, withOpacityMethods 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.HasLineStyle
withCap, withJoin, withMiterLimitMethods inherited from interface io.jmix.chartsflowui.kit.component.model.shared.HasPadding
withPadding, withPadding, withPaddingMethods 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:
getPaddingin interfaceHasPadding<Emphasis.IconStyle>- 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<Emphasis.IconStyle>- 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<Emphasis.IconStyle>- 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<Emphasis.IconStyle>- Parameters:
top- top padding to setright- right padding to setbottom- bottom padding to setleft- left padding to set
-
withTextPosition
-
withTextBorderRadius
-