Package 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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ChartFormat
clone()
Overrides Cloneablevoid
readProperties(org.w3c.dom.Element element)
Reads the XML properties of a chart format.void
saveProperties(java.lang.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 Detail
-
saveProperties
void saveProperties(java.lang.StringBuilder buffer, int depth)
Writes the format properties to output.- Parameters:
buffer
- the outputdepth
- 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(StringBuilder, int)
-
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:
java.lang.IllegalArgumentException
- if properties is null- Since:
- 9.2
-
-