Class ChartSerializer
java.lang.Object
io.jmix.chartsflowui.kit.component.serialization.JmixChartSerializer
io.jmix.chartsflowui.component.serialization.ChartSerializer
- All Implemented Interfaces:
org.springframework.beans.factory.Aware
,org.springframework.beans.factory.InitializingBean
,org.springframework.context.ApplicationContextAware
@Component("charts_ChartSerializer")
@Scope("prototype")
public class ChartSerializer
extends JmixChartSerializer
implements org.springframework.context.ApplicationContextAware, org.springframework.beans.factory.InitializingBean
Serializes options and data for the
Chart
into JSON for subsequent sending it to the client-side.-
Field Summary
Modifier and TypeFieldDescriptionprotected org.springframework.context.ApplicationContext
Fields inherited from class io.jmix.chartsflowui.kit.component.serialization.JmixChartSerializer
jsonFactory, objectMapper
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
protected List<AbstractSerializer<?>>
protected void
void
setApplicationContext
(org.springframework.context.ApplicationContext applicationContext) Methods inherited from class io.jmix.chartsflowui.kit.component.serialization.JmixChartSerializer
createFilterProvider, createModule, initMapper, initMapperMixIns, parseRawJson, serialize, serialize, serializeChangedItems, serializeDataSet
-
Field Details
-
applicationContext
protected org.springframework.context.ApplicationContext applicationContext -
itemKeyMapper
-
-
Constructor Details
-
ChartSerializer
-
-
Method Details
-
setApplicationContext
public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext) throws org.springframework.beans.BeansException - Specified by:
setApplicationContext
in interfaceorg.springframework.context.ApplicationContextAware
- Throws:
org.springframework.beans.BeansException
-
afterPropertiesSet
public void afterPropertiesSet()- Specified by:
afterPropertiesSet
in interfaceorg.springframework.beans.factory.InitializingBean
-
initSerializer
protected void initSerializer()- Overrides:
initSerializer
in classJmixChartSerializer
-
getSerializers
- Overrides:
getSerializers
in classJmixChartSerializer
-