Class ChartLoaderSupport

java.lang.Object
io.jmix.chartsflowui.component.loader.ChartLoaderSupport

@Component("chart_ChartLoaderSupport") @Scope("prototype") public class ChartLoaderSupport extends Object
  • Field Details

    • context

      protected ComponentLoader.Context context
    • loaderSupport

      protected LoaderSupport loaderSupport
    • applicationContext

      protected org.springframework.context.ApplicationContext applicationContext
  • Constructor Details

  • Method Details

    • setLoaderSupport

      @Autowired public void setLoaderSupport(LoaderSupport loaderSupport)
    • setApplicationContext

      @Autowired protected void setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
    • loadColor

      public Optional<Color> loadColor(org.dom4j.Element element, String attributeName)
    • loadColor

      public void loadColor(org.dom4j.Element element, String attributeName, Consumer<Color> setter)
    • loadTextAttributes

      public void loadTextAttributes(HasText<?> component, org.dom4j.Element element)
    • loadPosition

      public void loadPosition(HasPosition<?> component, org.dom4j.Element element)
    • loadShadow

      public void loadShadow(HasShadow<?> component, org.dom4j.Element element)
    • loadLineStyle

      public void loadLineStyle(HasLineStyle<?> component, org.dom4j.Element element)
    • loadBorder

      public void loadBorder(HasBorder<?> component, org.dom4j.Element element)
    • loadPadding

      public void loadPadding(HasPadding<?> component, org.dom4j.Element element)
    • loadAlign

      public void loadAlign(HasAlign<?> component, org.dom4j.Element element)
    • loadAxisNameAttributes

      public void loadAxisNameAttributes(HasAxisName<?> component, org.dom4j.Element element, BiConsumer<AbstractRichText<?>,org.dom4j.Element> richLoader)
    • loadSymbols

      public void loadSymbols(HasSymbols<?> component, org.dom4j.Element element)
    • loadJsFunction

      public void loadJsFunction(org.dom4j.Element element, String attributeName, Consumer<JsFunction> setter)
    • loadStack

      public void loadStack(HasStack<?> component, org.dom4j.Element element)
    • split

      public List<String> split(String names)
    • splitToInteger

      public List<Integer> splitToInteger(String names)
    • splitToDouble

      public List<Double> splitToDouble(String names)
    • splitToColor

      public List<Color> splitToColor(String names)
    • 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

      public void loadIntegerList(org.dom4j.Element element, String attributeName, Consumer<Integer[]> setter)
    • loadDoubleList

      public void loadDoubleList(org.dom4j.Element element, String attributeName, Consumer<Double[]> setter)
    • loadStringList

      public void loadStringList(org.dom4j.Element element, String attributeName, Consumer<String[]> setter)
    • loadColorList

      public void loadColorList(org.dom4j.Element element, String attributeName, Consumer<Color[]> setter)
    • loadEnumList

      public <E extends Enum<E>> void loadEnumList(org.dom4j.Element element, Class<E> enumClass, String attributeName, Consumer<E[]> setter)