All Implemented Interfaces:
Copyable, XMLNode, Serializable

public class ChartParameter extends AbstractChart
ChartParameter Class

Used to parse a chart parameter or parameter list with XStream

Generates an Chart widget

Author:
Pablo VIDAL - 21/OCT/2014
See Also:
  • Constructor Details

    • ChartParameter

      public ChartParameter()
  • Method Details

    • copy

      public ChartParameter copy()
      Description copied from interface: Copyable
      Get a copy of this element
      Returns:
      element copy
    • addParameterModel

      public void addParameterModel(Map<String,Object> model)
      Add chart parameter to node parent
      Parameters:
      model - Map with controller attributes of parent
    • getParameterValue

      public Object getParameterValue(Map<String,Object> model)
      Returns the chart parameter node
      Parameters:
      model - Parent node
      Returns:
      Parameter element string
    • getParameterArray

      public List<Object> getParameterArray(Map<String,Object> model)
      Returns the chart parameter list for a json arrayNode
      Parameters:
      model - Json node parent
      Returns:
      ArrayNode
    • getParameterObject

      public Map<String,Object> getParameterObject(Map<String,Object> model)
      Returns the chart parameter list for a json ObjectNode
      Parameters:
      model - Json node parent
      Returns:
      ObjectNode