Class Label
java.lang.Object
io.jmix.chartsflowui.kit.component.model.ChartObservableObject
io.jmix.chartsflowui.kit.component.model.shared.AbstractText<Label>
io.jmix.chartsflowui.kit.component.model.shared.Label
- All Implemented Interfaces:
HasShadow<Label>,HasText<Label>,HasPadding<Label>,Serializable
General label for components.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class io.jmix.chartsflowui.kit.component.model.ChartObservableObject
ChartObservableObject.ObjectChangeEvent -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Colorprotected Colorprotected Integerprotected Stringprotected JsFunctionprotected Integerprotected Paddingprotected Integerprotected Integerprotected Colorprotected Integerprotected Integerprotected BooleanFields inherited from class io.jmix.chartsflowui.kit.component.model.shared.AbstractText
color, ellipsis, fontFamily, fontSize, fontStyle, fontWeight, height, lineHeight, overflow, textBorderColor, textBorderDashOffset, textBorderType, textBorderWidth, textShadowBlur, textShadowColor, textShadowOffsetX, textShadowOffsetY, widthFields inherited from class io.jmix.chartsflowui.kit.component.model.ChartObservableObject
children, dirty, listener -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetShow()voidsetBackgroundColor(Color backgroundColor) voidsetBorderColor(Color borderColor) voidsetBorderWidth(Integer borderWidth) voidsetFormatter(String formatter) voidsetFormatterFunction(JsFunction formatterFunction) voidsetFormatterFunction(String formatterFunction) voidvoidsetPadding(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.voidsetPrecision(Integer precision) voidsetShadowBlur(Integer shadowBlur) Sets depth of shadow blur or replaces an existing one.voidsetShadowColor(Color shadowColor) Sets a color for shadow or replaces an existing one.voidsetShadowOffsetX(Integer shadowOffsetX) Sets horizontal offset for shadow or replaces an existing one.voidsetShadowOffsetY(Integer shadowOffsetY) Sets vertical offset for shadow or replaces an existing one.voidwithBackgroundColor(Color backgroundColor) withBorderColor(Color borderColor) withBorderWidth(Integer borderWidth) withFormatter(String formatter) withFormatterFunction(JsFunction formatterFunction) withFormatterFunction(String formatterFunctionCode) withMargin(Integer margin) withPrecision(Integer precision) Methods inherited from class io.jmix.chartsflowui.kit.component.model.shared.AbstractText
getColor, getEllipsis, getFontFamily, getFontSize, getFontStyle, getFontWeight, getHeight, getLineHeight, getOverflow, getTextBorderColor, getTextBorderDashOffset, getTextBorderType, getTextBorderWidth, getTextShadowBlur, getTextShadowColor, getTextShadowOffsetX, getTextShadowOffsetY, getWidth, setColor, setEllipsis, setFontFamily, setFontSize, setFontStyle, setFontWeight, setHeight, setLineHeight, setOverflow, setTextBorderColor, setTextBorderDashOffset, setTextBorderType, setTextBorderWidth, setTextShadowBlur, setTextShadowColor, setTextShadowOffsetX, setTextShadowOffsetY, setWidth, withColor, withEllipsis, withFontFamily, withFontSize, withFontStyle, withFontWeight, withHeight, withLineHeight, withOverflow, withWidthMethods 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, withPaddingMethods inherited from interface io.jmix.chartsflowui.kit.component.model.HasShadow
withShadowBlur, withShadowColor, withShadowOffsetX, withShadowOffsetYMethods inherited from interface io.jmix.chartsflowui.kit.component.model.HasText
withTextBorderColor, withTextBorderDashOffset, withTextBorderType, withTextBorderWidth, withTextShadowBlur, withTextShadowColor, withTextShadowOffsetX, withTextShadowOffsetY
-
Field Details
-
show
-
precision
-
formatter
-
formatterFunction
-
margin
-
padding
-
backgroundColor
-
borderColor
-
borderWidth
-
shadowBlur
-
shadowColor
-
shadowOffsetX
-
shadowOffsetY
-
-
Constructor Details
-
Label
public Label()
-
-
Method Details
-
getShow
-
setShow
-
getPrecision
-
setPrecision
-
getFormatter
-
setFormatter
-
getFormatterFunction
-
setFormatterFunction
-
getMargin
-
setMargin
-
getPadding
- Specified by:
getPaddingin interfaceHasPadding<Label>- 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<Label>- 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<Label>- 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<Label>- Parameters:
top- top padding to setright- right padding to setbottom- bottom padding to setleft- left padding to set
-
getBackgroundColor
-
getBorderColor
-
getBorderWidth
-
setBorderWidth
-
getShadowBlur
- Specified by:
getShadowBlurin interfaceHasShadow<Label>- Returns:
- depth of shadow blur
-
setShadowBlur
Description copied from interface:HasShadowSets depth of shadow blur or replaces an existing one.- Specified by:
setShadowBlurin interfaceHasShadow<Label>- Parameters:
shadowBlur- depth of shadow blur
-
getShadowColor
- Specified by:
getShadowColorin interfaceHasShadow<Label>- Returns:
- shadow color
-
getShadowOffsetX
- Specified by:
getShadowOffsetXin interfaceHasShadow<Label>- Returns:
- horizontal offset for shadow in pixels
-
setShadowOffsetX
Description copied from interface:HasShadowSets horizontal offset for shadow or replaces an existing one.- Specified by:
setShadowOffsetXin interfaceHasShadow<Label>- Parameters:
shadowOffsetX- offset to set in pixels
-
getShadowOffsetY
- Specified by:
getShadowOffsetYin interfaceHasShadow<Label>- Returns:
- vertical offset for shadow in pixels
-
setShadowOffsetY
Description copied from interface:HasShadowSets vertical offset for shadow or replaces an existing one.- Specified by:
setShadowOffsetYin interfaceHasShadow<Label>- Parameters:
shadowOffsetY- offset to set in pixels
-
withShow
-
withPrecision
-
withFormatter
-
withFormatterFunction
-
withMargin
-
withBorderWidth
-