Class BarSeries.BackgroundStyle
java.lang.Object
io.jmix.chartsflowui.kit.component.model.ChartObservableObject
io.jmix.chartsflowui.kit.component.model.series.BarSeries.BackgroundStyle
- All Implemented Interfaces:
HasBorder<BarSeries.BackgroundStyle>,HasShadow<BarSeries.BackgroundStyle>,Serializable
- Enclosing class:
- BarSeries
public static class BarSeries.BackgroundStyle
extends ChartObservableObject
implements HasShadow<BarSeries.BackgroundStyle>, HasBorder<BarSeries.BackgroundStyle>
Background style of each bar. Only works if
BarSeries.showBackground is set to true.- 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 Integerprotected Stringprotected Integerprotected Colorprotected Doubleprotected Integerprotected Colorprotected Integerprotected IntegerFields inherited from class io.jmix.chartsflowui.kit.component.model.ChartObservableObject
children, dirty, listener -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetColor()voidsetBorderColor(Color borderColor) Sets a border color or replaces an existing one.voidsetBorderRadius(Integer borderRadius) Sets a border radius of the text fragment or replaces an existing one.voidsetBorderType(String borderType) voidsetBorderWidth(Integer borderWidth) Sets a border width or replaces an existing one.voidvoidsetOpacity(Double opacity) 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.withBorderType(String borderType) withOpacity(Double opacity) Methods 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.HasBorder
withBorderColor, withBorderRadius, withBorderWidthMethods inherited from interface io.jmix.chartsflowui.kit.component.model.HasShadow
withShadowBlur, withShadowColor, withShadowOffsetX, withShadowOffsetY
-
Field Details
-
color
-
borderColor
-
borderWidth
-
borderType
-
borderRadius
-
shadowBlur
-
shadowColor
-
shadowOffsetX
-
shadowOffsetY
-
opacity
-
-
Constructor Details
-
BackgroundStyle
public BackgroundStyle()
-
-
Method Details
-
getColor
-
getBorderColor
- Specified by:
getBorderColorin interfaceHasBorder<BarSeries.BackgroundStyle>- Returns:
- border color
-
getBorderWidth
- Specified by:
getBorderWidthin interfaceHasBorder<BarSeries.BackgroundStyle>- Returns:
- border width in pixels
-
setBorderWidth
Description copied from interface:HasBorderSets a border width or replaces an existing one.- Specified by:
setBorderWidthin interfaceHasBorder<BarSeries.BackgroundStyle>- Parameters:
borderWidth- border width in pixels
-
getBorderType
-
setBorderType
-
getBorderRadius
- Specified by:
getBorderRadiusin interfaceHasBorder<BarSeries.BackgroundStyle>- Returns:
- border radius of the text fragment
-
setBorderRadius
Description copied from interface:HasBorderSets a border radius of the text fragment or replaces an existing one.- Specified by:
setBorderRadiusin interfaceHasBorder<BarSeries.BackgroundStyle>- Parameters:
borderRadius- border radius to set in pixels
-
getShadowBlur
- Specified by:
getShadowBlurin interfaceHasShadow<BarSeries.BackgroundStyle>- Returns:
- depth of shadow blur
-
setShadowBlur
Description copied from interface:HasShadowSets depth of shadow blur or replaces an existing one.- Specified by:
setShadowBlurin interfaceHasShadow<BarSeries.BackgroundStyle>- Parameters:
shadowBlur- depth of shadow blur
-
getShadowColor
- Specified by:
getShadowColorin interfaceHasShadow<BarSeries.BackgroundStyle>- Returns:
- shadow color
-
getShadowOffsetX
- Specified by:
getShadowOffsetXin interfaceHasShadow<BarSeries.BackgroundStyle>- 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<BarSeries.BackgroundStyle>- Parameters:
shadowOffsetX- offset to set in pixels
-
getShadowOffsetY
- Specified by:
getShadowOffsetYin interfaceHasShadow<BarSeries.BackgroundStyle>- 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<BarSeries.BackgroundStyle>- Parameters:
shadowOffsetY- offset to set in pixels
-
getOpacity
-
setOpacity
-
withBorderType
-
withOpacity
-