Interface ChartFormat

All Superinterfaces:
Serializable
All Known Implementing Classes:
DateTimeFormat, FixedNumberFormat, PatternDateTimeFormat, PatternNumberFormat

public interface ChartFormat extends Serializable
An interface that is implemented by all chart formats.
Since:
8.0
  • Method Summary

    Modifier and Type
    Method
    Description
    Overrides Cloneable
    void
    Reads the XML properties of a chart format.
    void
    saveProperties(StringBuilder buffer, int depth)
    Writes the format properties to output.
    void
    setFormatingProperties(com.inet.report.chart.format.FormatingProperties properties)
    Sets the location specific formating properties, e.g. locale, time zone, first day of week.
  • Method Details

    • saveProperties

      void saveProperties(StringBuilder buffer, int depth)
      Writes the format properties to output.
      Parameters:
      buffer - the output
      depth - the depth of XML indent
      Since:
      8.0
    • readProperties

      void readProperties(Element element)
      Reads the XML properties of a chart format.
      Parameters:
      element - DOM element
      Since:
      8.0
      See Also:
    • clone

      ChartFormat clone()
      Overrides Cloneable
      Returns:
      the chart format
      Since:
      8.0
    • setFormatingProperties

      void setFormatingProperties(com.inet.report.chart.format.FormatingProperties properties)
      Sets the location specific formating properties, e.g. locale, time zone, first day of week.
      Parameters:
      properties - the properties object (null not permitted)
      Throws:
      IllegalArgumentException - if properties is null
      Since:
      9.2