Class ChartObservableObject
java.lang.Object
io.jmix.chartsflowui.kit.component.model.ChartObservableObject
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
AbstractAreaStyle
,AbstractAxis
,AbstractAxisPointer
,AbstractAxisPointer.Handle
,AbstractBorderedTextStyle
,AbstractDataZoom
,AbstractItemStyle
,AbstractLegend
,AbstractLegend.Emphasis
,AbstractMark
,AbstractMarkElement
,AbstractSeries
,AbstractSeries.LabelLayout
,AbstractSeries.Tooltip
,AbstractText
,AbstractTooltip
,AbstractTooltip.AxisPointer
,AbstractVisualMap
,AbstractVisualMap.VisualMapController
,Aria
,Aria.Decal
,Aria.Label
,Aria.Label.Data
,Aria.Label.General
,Aria.Label.Series
,Aria.Label.Series.AbstractLabel
,AxisLine
,AxisTick
,BarSeries.AbstractBarElement
,BarSeries.BackgroundStyle
,BarSeries.LabelLine
,BoxplotSeries.AbstractBoxplotElement
,Brush
,Brush.BrushStyle
,BrushFeature.Icon
,BrushFeature.Title
,CandlestickSeries.AbstractCandlestickElement
,CandlestickSeries.ItemStyle
,ChartDataObservableObject
,ChartOptions
,ChartOptions.StateAnimation
,DataZoomFeature.Icon
,DataZoomFeature.Title
,Decal
,EffectScatterSeries.AbstractEffectScatterElement
,EffectScatterSeries.LabelLine
,EffectScatterSeries.RippleEffect
,ElementLabelLine
,Emphasis
,Encode
,FunnelSeries.AbstractFunnelElement
,FunnelSeries.LabelLine
,GaugeSeries.Anchor
,GaugeSeries.AxisLine
,GaugeSeries.AxisLine.LineStyle
,GaugeSeries.AxisTick
,GaugeSeries.DataItem
,GaugeSeries.Emphasis
,GaugeSeries.Pointer
,GaugeSeries.Progress
,GaugeSeries.SplitLine
,Grid
,LineSeries.AbstractLineElement
,LineSeries.AreaStyle
,LineSeries.LabelLine
,LineStyle
,MagicTypeFeature.Icon
,MagicTypeFeature.Title
,MarkLine.AbstractMarkLineElement
,MarkLine.Data
,MinorSplitLine
,MinorTick
,PiecewiseVisualMap.Piece
,PieSeries.AbstractPieElement
,PieSeries.LabelLine
,Polar
,Radar
,Radar.Indicator
,RadarSeries.AbstractRadarElement
,RichStyle
,ScatterSeries.AbstractScatterElement
,ScatterSeries.LabelLine
,ScrollableLegend.PageIcons
,Separator
,ShadowStyle
,SliderDataZoom.DataBackground
,SliderDataZoom.Emphasis
,SplitArea
,SplitLine
,Title
,Toolbox
,ToolboxFeature
,VisualEffect
Base class for all chart options objects that are to be serialized.
If an object changes, then
ChartObservableObject.ObjectChangeEvent
is transmitted up the tree to the chart options.- See Also:
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionprotected Set<ChartObservableObject>
protected boolean
protected Consumer<ChartObservableObject.ObjectChangeEvent>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
addChild
(ChartObservableObject child) protected void
protected Set<ChartObservableObject>
protected boolean
isDirty()
protected boolean
protected void
protected void
protected void
removeChild
(ChartObservableObject child) protected void
protected void
-
Field Details
-
children
-
listener
-
dirty
protected boolean dirty
-
-
Constructor Details
-
ChartObservableObject
public ChartObservableObject()
-
-
Method Details
-
setChartObjectChangeListener
protected void setChartObjectChangeListener(Consumer<ChartObservableObject.ObjectChangeEvent> listener) -
fireChangeEvent
protected void fireChangeEvent() -
isDirty
protected boolean isDirty() -
markAsDirty
protected void markAsDirty() -
unmarkDirtyInDepth
protected void unmarkDirtyInDepth() -
markAsDirtyInDepth
protected void markAsDirtyInDepth() -
isDirtyInDepth
protected boolean isDirtyInDepth() -
addChild
-
removeChild
-
getChildren
-