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
Modifier and TypeFieldDescriptionprotected Color
protected Integer
protected String
protected Integer
protected Color
protected Double
protected Integer
protected Color
protected Integer
protected Integer
Fields inherited from class io.jmix.chartsflowui.kit.component.model.ChartObservableObject
children, dirty, listener
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetColor()
void
setBorderColor
(Color borderColor) Sets a border color or replaces an existing one.void
setBorderRadius
(Integer borderRadius) Sets a border radius of the text fragment or replaces an existing one.void
setBorderType
(String borderType) void
setBorderWidth
(Integer borderWidth) Sets a border width or replaces an existing one.void
void
setOpacity
(Double opacity) void
setShadowBlur
(Integer shadowBlur) Sets depth of shadow blur or replaces an existing one.void
setShadowColor
(Color shadowColor) Sets a color for shadow or replaces an existing one.void
setShadowOffsetX
(Integer shadowOffsetX) Sets horizontal offset for shadow or replaces an existing one.void
setShadowOffsetY
(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, 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.HasBorder
withBorderColor, withBorderRadius, withBorderWidth
Methods 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:
getBorderColor
in interfaceHasBorder<BarSeries.BackgroundStyle>
- Returns:
- border color
-
getBorderWidth
- Specified by:
getBorderWidth
in interfaceHasBorder<BarSeries.BackgroundStyle>
- Returns:
- border width in pixels
-
setBorderWidth
Description copied from interface:HasBorder
Sets a border width or replaces an existing one.- Specified by:
setBorderWidth
in interfaceHasBorder<BarSeries.BackgroundStyle>
- Parameters:
borderWidth
- border width in pixels
-
getBorderType
-
setBorderType
-
getBorderRadius
- Specified by:
getBorderRadius
in interfaceHasBorder<BarSeries.BackgroundStyle>
- Returns:
- border radius of the text fragment
-
setBorderRadius
Description copied from interface:HasBorder
Sets a border radius of the text fragment or replaces an existing one.- Specified by:
setBorderRadius
in interfaceHasBorder<BarSeries.BackgroundStyle>
- Parameters:
borderRadius
- border radius to set in pixels
-
getShadowBlur
- Specified by:
getShadowBlur
in interfaceHasShadow<BarSeries.BackgroundStyle>
- Returns:
- depth of shadow blur
-
setShadowBlur
Description copied from interface:HasShadow
Sets depth of shadow blur or replaces an existing one.- Specified by:
setShadowBlur
in interfaceHasShadow<BarSeries.BackgroundStyle>
- Parameters:
shadowBlur
- depth of shadow blur
-
getShadowColor
- Specified by:
getShadowColor
in interfaceHasShadow<BarSeries.BackgroundStyle>
- Returns:
- shadow color
-
getShadowOffsetX
- Specified by:
getShadowOffsetX
in interfaceHasShadow<BarSeries.BackgroundStyle>
- Returns:
- horizontal offset for shadow in pixels
-
setShadowOffsetX
Description copied from interface:HasShadow
Sets horizontal offset for shadow or replaces an existing one.- Specified by:
setShadowOffsetX
in interfaceHasShadow<BarSeries.BackgroundStyle>
- Parameters:
shadowOffsetX
- offset to set in pixels
-
getShadowOffsetY
- Specified by:
getShadowOffsetY
in interfaceHasShadow<BarSeries.BackgroundStyle>
- Returns:
- vertical offset for shadow in pixels
-
setShadowOffsetY
Description copied from interface:HasShadow
Sets vertical offset for shadow or replaces an existing one.- Specified by:
setShadowOffsetY
in interfaceHasShadow<BarSeries.BackgroundStyle>
- Parameters:
shadowOffsetY
- offset to set in pixels
-
getOpacity
-
setOpacity
-
withBorderType
-
withOpacity
-