Class ChartLoaderSupport
java.lang.Object
io.jmix.chartsflowui.component.loader.ChartLoaderSupport
@Component("chart_ChartLoaderSupport")
@Scope("prototype")
public class ChartLoaderSupport
extends Object
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected org.springframework.context.ApplicationContextprotected ComponentLoader.Contextprotected LoaderSupport -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidloadAxisNameAttributes(HasAxisName<?> component, org.dom4j.Element element, BiConsumer<AbstractRichText<?>, org.dom4j.Element> richLoader) voidloadBorder(HasBorder<?> component, org.dom4j.Element element) voidvoidloadColorList(org.dom4j.Element element, String attributeName, Consumer<Color[]> setter) voidloadColorPair(org.dom4j.Element element, String attributeName, BiConsumer<Color, Color> setter, String exceptionMessage) voidloadDoubleList(org.dom4j.Element element, String attributeName, Consumer<Double[]> setter) voidloadDoublePair(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) voidloadIntegerList(org.dom4j.Element element, String attributeName, Consumer<Integer[]> setter) voidloadIntegerPair(org.dom4j.Element element, String attributeName, BiConsumer<Integer, Integer> setter, String exceptionMessage) voidloadJsFunction(org.dom4j.Element element, String attributeName, Consumer<JsFunction> setter) voidloadLineStyle(HasLineStyle<?> component, org.dom4j.Element element) voidloadPadding(HasPadding<?> component, org.dom4j.Element element) voidloadPosition(HasPosition<?> component, org.dom4j.Element element) voidloadShadow(HasShadow<?> component, org.dom4j.Element element) voidvoidloadStringList(org.dom4j.Element element, String attributeName, Consumer<String[]> setter) voidloadStringPair(org.dom4j.Element element, String attributeName, BiConsumer<String, String> setter, String exceptionMessage) voidloadSymbols(HasSymbols<?> component, org.dom4j.Element element) voidloadTextAttributes(HasText<?> component, org.dom4j.Element element) protected voidsetApplicationContext(org.springframework.context.ApplicationContext applicationContext) voidsetLoaderSupport(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
-