Class ChartTarget

    • Constructor Detail

      • ChartTarget

        public ChartTarget()
    • Method Detail

      • generate

        protected void generate()
        Loads the data
      • setCurrentChart

        public void setCurrentChart​(AbstractChartGenerator value)
        Sets the current chart generator.
        Parameters:
        value - the generator
      • getCurrentChart

        public AbstractChartGenerator getCurrentChart()
        Returns the current chart generator.
        Returns:
        the generator
      • setCurrentTitle

        public void setCurrentTitle​(String value)
        Sets the current title.
        Parameters:
        value - the title
      • getCurrentTitle

        public String getCurrentTitle()
        Returns the current title.
        Returns:
        the title
      • assign

        public void assign​(AbstractWidget other)
        Retrieves the values from the other widget, if possible.
        Specified by:
        assign in class AbstractWidget
        Parameters:
        other - the other widget to get the values from
      • serialize

        public Object serialize()
        Serializes the setup from the widget.
        Specified by:
        serialize in class AbstractWidget
        Returns:
        the generated setup representation
      • deserialize

        public void deserialize​(Object data,
                                MessageCollection errors)
        Deserializes the setup and maps it onto the widget.
        Specified by:
        deserialize in class AbstractWidget
        Parameters:
        data - the setup representation to use
        errors - for collecting errors