i-net Clear Reports

com.inet.report.chart.format
Interface ChartFormat

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

public interface ChartFormat
extends java.io.Serializable

An interface that is implemented by all chart formats.

Since:
8.0

Method Summary
 ChartFormat clone()
          Overrides Cloneable
 void readProperties(org.w3c.dom.Element element)
          Reads the XML properties of a chart format.
 void saveProperties(java.lang.StringBuffer 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.
 void setLocale(java.util.Locale locale)
          Deprecated. As of i-net Crystal-Clear 9.2, replaced by setFormatingProperties(FormatingProperties)
 

Method Detail

saveProperties

void saveProperties(java.lang.StringBuffer 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(org.w3c.dom.Element element)
Reads the XML properties of a chart format.

Parameters:
element - DOM element
Since:
8.0
See Also:
saveProperties(StringBuffer, int)

clone

ChartFormat clone()
Overrides Cloneable

Returns:
the chart format
Since:
8.0

setLocale

void setLocale(java.util.Locale locale)
Deprecated. As of i-net Crystal-Clear 9.2, replaced by setFormatingProperties(FormatingProperties)

Sets the locale of chart. If this locale was not set, uses the system locale.

Parameters:
locale - the locale (null not permitted)
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:
java.lang.IllegalArgumentException - if properties is null
Since:
9.2

i-net Clear Reports

Copyright © 1999-2011 by i-net software GmbH