Package com.inet.report.chart.format
Interface ChartFormat
- All Superinterfaces:
Serializable
- All Known Implementing Classes:
DateTimeFormat
,FixedNumberFormat
,PatternDateTimeFormat
,PatternNumberFormat
An interface that is implemented by all chart formats.
- Since:
- 8.0
-
Method Summary
Modifier and TypeMethodDescriptionclone()
Overrides Cloneablevoid
readProperties
(Element element) 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
Writes the format properties to output.- Parameters:
buffer
- the outputdepth
- the depth of XML indent- Since:
- 8.0
-
readProperties
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
-