Class ChartLoaderSupport
java.lang.Object
io.jmix.chartsflowui.component.loader.ChartLoaderSupport
@Component("chart_ChartLoaderSupport")
@Scope("prototype")
public class ChartLoaderSupport
extends Object
-
Field Summary
Modifier and TypeFieldDescriptionprotected org.springframework.context.ApplicationContext
protected ComponentLoader.Context
protected LoaderSupport
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
void
loadAxisNameAttributes
(HasAxisName<?> component, org.dom4j.Element element, BiConsumer<AbstractRichText<?>, org.dom4j.Element> richLoader) void
loadBorder
(HasBorder<?> component, org.dom4j.Element element) void
void
loadColorList
(org.dom4j.Element element, String attributeName, Consumer<Color[]> setter) void
loadColorPair
(org.dom4j.Element element, String attributeName, BiConsumer<Color, Color> setter, String exceptionMessage) void
loadDoubleList
(org.dom4j.Element element, String attributeName, Consumer<Double[]> setter) void
loadDoublePair
(org.dom4j.Element element, String attributeName, BiConsumer<Double, Double> setter, String exceptionMessage) <E extends Enum<E>>
voidloadEnumList
(org.dom4j.Element element, Class<E> enumClass, String attributeName, Consumer<E[]> setter) <E extends Enum<E>>
voidloadEnumPair
(org.dom4j.Element element, Class<E> enumClass, String attributeName, BiConsumer<E, E> setter, String exceptionMessage) void
loadIntegerList
(org.dom4j.Element element, String attributeName, Consumer<Integer[]> setter) void
loadIntegerPair
(org.dom4j.Element element, String attributeName, BiConsumer<Integer, Integer> setter, String exceptionMessage) void
loadJsFunction
(org.dom4j.Element element, String attributeName, Consumer<JsFunction> setter) void
loadLineStyle
(HasLineStyle<?> component, org.dom4j.Element element) void
loadPadding
(HasPadding<?> component, org.dom4j.Element element) void
loadPosition
(HasPosition<?> component, org.dom4j.Element element) void
loadShadow
(HasShadow<?> component, org.dom4j.Element element) void
void
loadStringList
(org.dom4j.Element element, String attributeName, Consumer<String[]> setter) void
loadStringPair
(org.dom4j.Element element, String attributeName, BiConsumer<String, String> setter, String exceptionMessage) void
loadSymbols
(HasSymbols<?> component, org.dom4j.Element element) void
loadTextAttributes
(HasText<?> component, org.dom4j.Element element) protected void
setApplicationContext
(org.springframework.context.ApplicationContext applicationContext) void
setLoaderSupport
(LoaderSupport loaderSupport) splitToColor
(String names) splitToDouble
(String names) splitToInteger
(String names)
-
Field Details
-
context
-
loaderSupport
-
applicationContext
protected org.springframework.context.ApplicationContext applicationContext
-
-
Constructor Details
-
ChartLoaderSupport
-
-
Method Details
-
setLoaderSupport
-
setApplicationContext
@Autowired protected void setApplicationContext(org.springframework.context.ApplicationContext applicationContext) -
loadColor
-
loadColor
-
loadTextAttributes
-
loadPosition
-
loadShadow
-
loadLineStyle
-
loadBorder
-
loadAlign
-
loadAxisNameAttributes
public void loadAxisNameAttributes(HasAxisName<?> component, org.dom4j.Element element, BiConsumer<AbstractRichText<?>, org.dom4j.Element> richLoader) -
loadJsFunction
public void loadJsFunction(org.dom4j.Element element, String attributeName, Consumer<JsFunction> setter) -
loadStack
-
split
-
splitToInteger
-
splitToDouble
-
splitToColor
-
loadIntegerPair
public void loadIntegerPair(org.dom4j.Element element, String attributeName, BiConsumer<Integer, Integer> setter, String exceptionMessage) -
loadDoublePair
public void loadDoublePair(org.dom4j.Element element, String attributeName, BiConsumer<Double, Double> setter, String exceptionMessage) -
loadStringPair
public void loadStringPair(org.dom4j.Element element, String attributeName, BiConsumer<String, String> setter, String exceptionMessage) -
loadColorPair
public void loadColorPair(org.dom4j.Element element, String attributeName, BiConsumer<Color, Color> setter, String exceptionMessage) -
loadEnumPair
public <E extends Enum<E>> void loadEnumPair(org.dom4j.Element element, Class<E> enumClass, String attributeName, BiConsumer<E, E> setter, String exceptionMessage) -
loadIntegerList
-
loadDoubleList
-
loadStringList
-
loadColorList
-
loadEnumList
-