Class ChartLoader
java.lang.Object
io.jmix.flowui.xml.layout.loader.AbstractComponentLoader<Chart>
io.jmix.chartsflowui.component.loader.ChartLoader
- All Implemented Interfaces:
ComponentLoader<Chart>
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.jmix.flowui.xml.layout.ComponentLoader
ComponentLoader.ComponentContext, ComponentLoader.Context, ComponentLoader.InitTask
-
Field Summary
Fields inherited from class io.jmix.flowui.xml.layout.loader.AbstractComponentLoader
applicationContext, componentLoaderSupport, context, element, environment, factory, loaderResolver, loaderSupport, resultComponent
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected ChartLoaderSupport
protected Chart
protected void
loadAbstractAreaStyle
(AbstractAreaStyle<?> areaStyle, org.dom4j.Element element) protected void
loadAbstractAriaSeriesLabel
(Aria.Label.Series.AbstractLabel<?> seriesLabel, org.dom4j.Element element) protected void
loadAbstractAxis
(AbstractAxis<?> axis, org.dom4j.Element element) protected void
loadAbstractAxisAwareSeries
(AbstractAxisAwareSeries<?> series, org.dom4j.Element element) protected void
loadAbstractAxisPointer
(AbstractAxisPointer<?> axisPointer, org.dom4j.Element element) protected void
loadAbstractBarElement
(BarSeries.AbstractBarElement<?> barElement, org.dom4j.Element element) protected void
loadAbstractBorderedTextStyle
(AbstractBorderedTextStyle<?> abstractBorderedTextStyle, org.dom4j.Element element) protected void
loadAbstractBoxplotElement
(BoxplotSeries.AbstractBoxplotElement<?> boxplotElement, org.dom4j.Element element) protected void
loadAbstractDataZoom
(AbstractDataZoom<?> dataZoom, org.dom4j.Element element) protected void
loadAbstractEffectScatterElement
(EffectScatterSeries.AbstractEffectScatterElement<?> scatterElement, org.dom4j.Element element) protected void
loadAbstractEnhancedLabel
(AbstractEnhancedLabel<?> abstractEnhancedLabel, org.dom4j.Element element) protected void
loadAbstractFunnelElement
(FunnelSeries.AbstractFunnelElement<?> funnelElement, org.dom4j.Element element) protected void
loadAbstractGaugeText
(GaugeSeries.AbstractGaugeText<?> gaugeText, org.dom4j.Element element) protected void
loadAbstractItemStyle
(AbstractItemStyle<?> itemStyle, org.dom4j.Element element) protected void
loadAbstractLegend
(AbstractLegend<?> legend, org.dom4j.Element element) protected void
loadAbstractLineElement
(LineSeries.AbstractLineElement<?> lineElement, org.dom4j.Element element) protected void
loadAbstractMark
(AbstractMark<?> mark, org.dom4j.Element element) protected void
loadAbstractMarkLineElement
(MarkLine.AbstractMarkLineElement<?> markLineElement, org.dom4j.Element element) protected void
loadAbstractMarkPointElement
(AbstractMarkElement<?> markPointElement, org.dom4j.Element element) protected void
loadAbstractPieElement
(PieSeries.AbstractPieElement<?> pieElement, org.dom4j.Element element) protected void
loadAbstractRadarElement
(RadarSeries.AbstractRadarElement<?> radarElement, org.dom4j.Element element) protected void
loadAbstractRichText
(AbstractRichText<?> abstractRichText, org.dom4j.Element element) protected void
loadAbstractScatterElement
(ScatterSeries.AbstractScatterElement<?> scatterElement, org.dom4j.Element element) protected void
loadAbstractSeries
(AbstractSeries<?> series, org.dom4j.Element element) protected void
loadAbstractText
(AbstractText<?> abstractText, org.dom4j.Element element) protected void
loadAbstractToolboxFeature
(AbstractFeature<?> feature, org.dom4j.Element element) protected void
loadAbstractTooltip
(AbstractTooltip<?> tooltip, org.dom4j.Element element) protected void
loadAbstractVisualMap
(AbstractVisualMap<?> visualMap, org.dom4j.Element element) protected void
loadAngleAxis
(Chart chart, org.dom4j.Element element) protected void
loadAreaStyle
(org.dom4j.Element element, Consumer<AreaStyle> setter) protected void
protected void
loadAriaLabel
(Aria.Label label, org.dom4j.Element element) protected void
protected void
loadAxisLabel
(org.dom4j.Element element, Consumer<AxisLabel> setter) protected void
loadAxisLine
(org.dom4j.Element element, Consumer<AxisLine> setter) protected void
loadAxisPointer
(Chart chart, org.dom4j.Element element) protected void
loadAxisTick
(org.dom4j.Element element, Consumer<AxisTick> setter) protected void
loadBarLabelLine
(org.dom4j.Element element, Consumer<BarSeries.LabelLine> setter) protected void
loadBarSeries
(BarSeries barSeries, org.dom4j.Element element) protected void
loadBoxplotSeries
(BoxplotSeries boxplotSeries, org.dom4j.Element element) protected void
protected void
loadBrushFeature
(BrushFeature feature, org.dom4j.Element element) protected void
loadCandlestickSeries
(CandlestickSeries candlestickSeries, org.dom4j.Element element) protected void
loadCandlestickSeriesItemStyle
(org.dom4j.Element element, Consumer<CandlestickSeries.ItemStyle> setter) protected <T extends AbstractCartesianAxis<?>>
voidloadCartesianAxes
(org.dom4j.Element element, Supplier<T> constructor, String elementsName, String elementName, Consumer<T> setter) protected void
loadCartesianAxis
(AbstractCartesianAxis<?> axis, org.dom4j.Element element) protected void
loadColorPalette
(Chart chart, org.dom4j.Element element) void
Loads component properties by XML definition.protected void
loadContinuousVisualMap
(Chart chart, org.dom4j.Element element) protected void
loadDataBackground
(SliderDataZoom.DataBackground dataBackground, org.dom4j.Element element) protected void
loadDataContainer
(DataSet.Source<?> source, org.dom4j.Element element) protected void
loadDataSet
(Chart chart, org.dom4j.Element element) protected void
loadDataZoom
(Chart chart, org.dom4j.Element element) protected void
loadDataZoomFeature
(DataZoomFeature feature, org.dom4j.Element element) protected void
protected void
loadEffectScatterSeries
(EffectScatterSeries effectScatterSeries, org.dom4j.Element element) protected void
loadElementLabelLine
(org.dom4j.Element element, Consumer<ElementLabelLine> setter) protected void
loadFunnelSeries
(FunnelSeries funnelSeries, org.dom4j.Element element) protected void
loadGaugeSeries
(GaugeSeries gaugeSeries, org.dom4j.Element element) protected void
loadGaugeSeriesAxisLineStyleColorItem
(org.dom4j.Element element, BiConsumer<Double, Color> setter) protected void
loadGaugeSeriesDataItem
(org.dom4j.Element element, Consumer<GaugeSeries.DataItem> setter) protected void
protected void
loadGridItem
(Chart chart, org.dom4j.Element element) protected void
loadIndicator
(Radar radar, org.dom4j.Element element) protected void
loadInsideDataZoom
(Chart chart, org.dom4j.Element element) protected void
loadItemStyle
(org.dom4j.Element element, String attributeName, Consumer<ItemStyle> setter) protected void
protected void
loadLegend
(Chart chart, org.dom4j.Element element) protected void
loadLineSeries
(LineSeries lineSeries, org.dom4j.Element element) protected void
loadLineStyle
(org.dom4j.Element element, String attributeName, Consumer<LineStyle> setter) protected void
loadMagicTypeFeature
(MagicTypeFeature feature, org.dom4j.Element element) protected void
loadMarkArea
(org.dom4j.Element element, Consumer<MarkArea> setter) protected MarkArea.Point
loadMarkAreaDataPoint
(org.dom4j.Element element) protected void
loadMarkAreaDataPointPair
(org.dom4j.Element element, Consumer<MarkArea.PointPair> setter) protected void
loadMarkLine
(org.dom4j.Element element, Consumer<MarkLine> setter) protected MarkLine.Point
loadMarkLineDataPoint
(org.dom4j.Element element) protected void
loadMarkLineDataPointPair
(org.dom4j.Element element, Consumer<MarkLine.PointPair> setter) protected void
loadMarkPoint
(org.dom4j.Element element, Consumer<MarkPoint> setter) protected void
loadMarkPointDataPoint
(org.dom4j.Element element, MarkPoint markPoint) protected void
loadNativeJson
(Chart chart, org.dom4j.Element element) protected void
loadPageIcons
(org.dom4j.Element element, BiConsumer<String, String> setter) protected void
loadPiece
(PiecewiseVisualMap piecewiseVisualMap, org.dom4j.Element element) protected void
loadPiecewiseVisualMap
(Chart chart, org.dom4j.Element element) protected void
loadPieSeries
(PieSeries pieSeries, org.dom4j.Element element) protected void
protected void
loadPolarAxis
(AbstractPolarAxis<?> axis, org.dom4j.Element element) protected void
protected void
loadRadarAreaStyle
(org.dom4j.Element element, Consumer<RadarSeries.AreaStyle> setter) protected void
loadRadarSeries
(RadarSeries radarSeries, org.dom4j.Element element) protected void
loadRadiusAxis
(Chart chart, org.dom4j.Element element) protected void
loadRestoreFeature
(RestoreFeature feature, org.dom4j.Element element) protected void
loadRichStyle
(RichStyle richStyle, org.dom4j.Element element) protected void
loadSaveAsImageFeature
(SaveAsImageFeature feature, org.dom4j.Element element) protected void
loadScatterSeries
(ScatterSeries scatterSeries, org.dom4j.Element element) protected void
loadScrollableLegend
(ScrollableLegend scrollableLegend, org.dom4j.Element element) protected void
loadSeparator
(org.dom4j.Element element, Consumer<Separator> setter) protected void
loadSeries
(Chart chart, org.dom4j.Element element) protected void
loadSeriesItemStyle
(org.dom4j.Element element, Consumer<ItemStyleWithDecal> setter) protected void
loadSeriesLabel
(org.dom4j.Element element, String attributeName, Consumer<Label> setter) protected void
loadSeriesLabelLayout
(org.dom4j.Element element, Consumer<AbstractSeries.LabelLayout> setter) protected void
loadSeriesTooltip
(org.dom4j.Element element, Consumer<AbstractSeries.Tooltip> setter) protected void
loadShadowStyle
(org.dom4j.Element element, Consumer<ShadowStyle> setter) protected void
loadSliderDataZoom
(Chart chart, org.dom4j.Element element) protected void
loadSplitArea
(org.dom4j.Element element, Consumer<SplitArea> setter) protected void
loadSplitLine
(org.dom4j.Element element, Consumer<SplitLine> setter) protected void
loadStateAnimation
(Chart chart, org.dom4j.Element element) protected void
loadTextStyle
(org.dom4j.Element element, String attributeName, Consumer<TextStyle> setter) protected void
protected void
loadToolbox
(Chart chart, org.dom4j.Element element) protected void
loadToolboxEmphasis
(org.dom4j.Element element, Consumer<Emphasis> setter) protected void
loadToolboxFeature
(Toolbox toolbox, org.dom4j.Element element) protected void
loadTooltip
(org.dom4j.Element element, Consumer<Tooltip> setter) protected void
loadTooltipAxisPointer
(AbstractTooltip.AxisPointer axisPointer, org.dom4j.Element element) protected void
loadVisualEffect
(org.dom4j.Element element, String attributeName, Consumer<VisualEffect> setter) protected void
loadVisualMap
(Chart chart, org.dom4j.Element element) Methods inherited from class io.jmix.flowui.xml.layout.loader.AbstractComponentLoader
componentLoader, getComponentContext, getContext, getElement, getFactory, getLayoutLoader, getLoaderResolver, getLoaderSupport, getResultComponent, initComponent, loadBoolean, loadBoolean, loadDouble, loadDouble, loadEnum, loadEnum, loadId, loadInteger, loadInteger, loadResourceString, loadResourceString, loadResourceString, loadString, loadString, loadString, loadVisible, setApplicationContext, setContext, setElement, setEnvironment, setFactory, setLoaderResolver, setLoaderSupport
-
Field Details
-
NATIVE_JSON_ELEMENT_NAME
- See Also:
-
chartLoaderSupport
-
-
Constructor Details
-
ChartLoader
public ChartLoader()
-
-
Method Details
-
createComponent
- Specified by:
createComponent
in classAbstractComponentLoader<Chart>
-
loadComponent
public void loadComponent()Description copied from interface:ComponentLoader
Loads component properties by XML definition.- See Also:
-
loadSeries
-
loadLineSeries
-
loadBarSeries
-
loadPieSeries
-
loadScatterSeries
-
loadEffectScatterSeries
protected void loadEffectScatterSeries(EffectScatterSeries effectScatterSeries, org.dom4j.Element element) -
loadRadarSeries
-
loadBoxplotSeries
-
loadCandlestickSeries
protected void loadCandlestickSeries(CandlestickSeries candlestickSeries, org.dom4j.Element element) -
loadFunnelSeries
-
loadGaugeSeries
-
loadGaugeSeriesDataItem
protected void loadGaugeSeriesDataItem(org.dom4j.Element element, Consumer<GaugeSeries.DataItem> setter) -
loadGaugeSeriesAxisLineStyleColorItem
protected void loadGaugeSeriesAxisLineStyleColorItem(org.dom4j.Element element, BiConsumer<Double, Color> setter) -
loadAbstractGaugeText
protected void loadAbstractGaugeText(GaugeSeries.AbstractGaugeText<?> gaugeText, org.dom4j.Element element) -
loadAbstractFunnelElement
protected void loadAbstractFunnelElement(FunnelSeries.AbstractFunnelElement<?> funnelElement, org.dom4j.Element element) -
loadCandlestickSeriesItemStyle
protected void loadCandlestickSeriesItemStyle(org.dom4j.Element element, Consumer<CandlestickSeries.ItemStyle> setter) -
loadAbstractBoxplotElement
protected void loadAbstractBoxplotElement(BoxplotSeries.AbstractBoxplotElement<?> boxplotElement, org.dom4j.Element element) -
loadRadarAreaStyle
protected void loadRadarAreaStyle(org.dom4j.Element element, Consumer<RadarSeries.AreaStyle> setter) -
loadAbstractRadarElement
protected void loadAbstractRadarElement(RadarSeries.AbstractRadarElement<?> radarElement, org.dom4j.Element element) -
loadAbstractEffectScatterElement
protected void loadAbstractEffectScatterElement(EffectScatterSeries.AbstractEffectScatterElement<?> scatterElement, org.dom4j.Element element) -
loadAbstractScatterElement
protected void loadAbstractScatterElement(ScatterSeries.AbstractScatterElement<?> scatterElement, org.dom4j.Element element) -
loadAbstractPieElement
protected void loadAbstractPieElement(PieSeries.AbstractPieElement<?> pieElement, org.dom4j.Element element) -
loadBarLabelLine
-
loadAbstractItemStyle
-
loadSeriesItemStyle
-
loadAbstractBarElement
protected void loadAbstractBarElement(BarSeries.AbstractBarElement<?> barElement, org.dom4j.Element element) -
loadAbstractLineElement
protected void loadAbstractLineElement(LineSeries.AbstractLineElement<?> lineElement, org.dom4j.Element element) -
loadElementLabelLine
-
loadAbstractAxisAwareSeries
protected void loadAbstractAxisAwareSeries(AbstractAxisAwareSeries<?> series, org.dom4j.Element element) -
loadAbstractSeries
-
loadSeriesLabelLayout
protected void loadSeriesLabelLayout(org.dom4j.Element element, Consumer<AbstractSeries.LabelLayout> setter) -
loadSeriesTooltip
protected void loadSeriesTooltip(org.dom4j.Element element, Consumer<AbstractSeries.Tooltip> setter) -
loadSeriesLabel
-
loadMarkPoint
-
loadMarkLine
-
loadMarkArea
-
loadMarkPointDataPoint
-
loadMarkLineDataPointPair
protected void loadMarkLineDataPointPair(org.dom4j.Element element, Consumer<MarkLine.PointPair> setter) -
loadMarkLineDataPoint
-
loadMarkAreaDataPointPair
protected void loadMarkAreaDataPointPair(org.dom4j.Element element, Consumer<MarkArea.PointPair> setter) -
loadMarkAreaDataPoint
-
loadAbstractMarkPointElement
protected void loadAbstractMarkPointElement(AbstractMarkElement<?> markPointElement, org.dom4j.Element element) -
loadAbstractMarkLineElement
protected void loadAbstractMarkLineElement(MarkLine.AbstractMarkLineElement<?> markLineElement, org.dom4j.Element element) -
loadAbstractMark
-
loadDataSet
-
loadDataContainer
-
loadColorPalette
-
loadNativeJson
-
loadStateAnimation
-
loadTextStyle
-
loadTitle
-
loadLegend
-
loadScrollableLegend
-
loadPageIcons
-
loadAbstractLegend
-
loadGrid
-
loadGridItem
-
loadAxes
-
loadPolar
-
loadRadiusAxis
-
loadAngleAxis
-
loadRadar
-
loadDataZoom
-
loadInsideDataZoom
-
loadSliderDataZoom
-
loadVisualMap
-
loadPiecewiseVisualMap
-
loadContinuousVisualMap
-
loadAxisPointer
-
loadToolbox
-
loadBrush
-
loadAria
-
loadDecal
-
loadAriaLabel
-
loadAbstractAriaSeriesLabel
protected void loadAbstractAriaSeriesLabel(Aria.Label.Series.AbstractLabel<?> seriesLabel, org.dom4j.Element element) -
loadSeparator
-
loadToolboxEmphasis
-
loadToolboxFeature
-
loadSaveAsImageFeature
-
loadRestoreFeature
-
loadDataZoomFeature
-
loadMagicTypeFeature
-
loadBrushFeature
-
loadAbstractToolboxFeature
-
loadPiece
-
loadAbstractVisualMap
-
loadVisualEffect
protected void loadVisualEffect(org.dom4j.Element element, String attributeName, Consumer<VisualEffect> setter) -
loadDataBackground
protected void loadDataBackground(SliderDataZoom.DataBackground dataBackground, org.dom4j.Element element) -
loadAbstractDataZoom
-
loadIndicator
-
loadCartesianAxes
protected <T extends AbstractCartesianAxis<?>> void loadCartesianAxes(org.dom4j.Element element, Supplier<T> constructor, String elementsName, String elementName, Consumer<T> setter) -
loadCartesianAxis
-
loadPolarAxis
-
loadAbstractAxis
-
loadAxisLine
-
loadAxisTick
-
loadAxisLabel
-
loadSplitLine
-
loadSplitArea
-
loadTooltip
-
loadLabel
-
loadShadowStyle
-
loadItemStyle
-
loadLineStyle
-
loadAreaStyle
-
chartLoaderSupport
-