Class AbstractAreaStyle<T extends AbstractAreaStyle<T>>
java.lang.Object
io.jmix.chartsflowui.kit.component.model.ChartObservableObject
io.jmix.chartsflowui.kit.component.model.shared.AbstractAreaStyle<T>
- Type Parameters:
T
- origin area style class type
- All Implemented Interfaces:
HasShadow<T>
,Serializable
- Direct Known Subclasses:
AreaStyle
,LineSeries.AbstractLineElement.AreaStyle
,RadarSeries.AreaStyle
public abstract class AbstractAreaStyle<T extends AbstractAreaStyle<T>>
extends ChartObservableObject
implements HasShadow<T>
The base class for area style.
- 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 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 TypeMethodDescriptionvoid
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.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.HasShadow
withShadowBlur, withShadowColor, withShadowOffsetX, withShadowOffsetY
-
Field Details
-
shadowBlur
-
shadowColor
-
shadowOffsetX
-
shadowOffsetY
-
opacity
-
-
Constructor Details
-
AbstractAreaStyle
public AbstractAreaStyle()
-
-
Method Details
-
getShadowBlur
- Specified by:
getShadowBlur
in interfaceHasShadow<T extends AbstractAreaStyle<T>>
- 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<T extends AbstractAreaStyle<T>>
- Parameters:
shadowBlur
- depth of shadow blur
-
getShadowColor
- Specified by:
getShadowColor
in interfaceHasShadow<T extends AbstractAreaStyle<T>>
- Returns:
- shadow color
-
getShadowOffsetX
- Specified by:
getShadowOffsetX
in interfaceHasShadow<T extends AbstractAreaStyle<T>>
- 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<T extends AbstractAreaStyle<T>>
- Parameters:
shadowOffsetX
- offset to set in pixels
-
getShadowOffsetY
- Specified by:
getShadowOffsetY
in interfaceHasShadow<T extends AbstractAreaStyle<T>>
- 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<T extends AbstractAreaStyle<T>>
- Parameters:
shadowOffsetY
- offset to set in pixels
-
getOpacity
-
setOpacity
-
withOpacity
-