Package com.inet.report.chart.dataset
Interface BaseDataset
- All Superinterfaces:
Serializable
- All Known Subinterfaces:
GanttDataset
,PieDataset
,StandardDataset
,StockDataset
,XYDataset
- All Known Implementing Classes:
ForAllRecordsDataset
,ForEachRecordDataset
,GanttForEachRecordDataset
,GanttOneGroupDataset
,GanttTwoGroupsDataset
,OneGroupDataset
,StockForAllRecordsDataset
,StockForEachRecordDataset
,StockOneGroupDataset
,TwoGroupsDataset
,XYForAllRecordsDataset
,XYForEachRecordDataset
,XYOneGroupDataset
An interface that implemented by all datasets.
A Data Set provides methods to get the data field(s) used by the chart.
- Since:
- 8.0
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetChart()
Returns the parent chart of this dataset.getDataField
(String name) Returns the summary field with the specified name ornull
if the summary field with this name not found in the list.Returns the data fields of this dataset as list.com.inet.report.chart.dataset.LabelProvider
Returns the LabelProvider responsible for providing the title, footnote, and axis labelsFOR INTERNAL USE ONLYvoid
FOR INTERNAL USE ONLY.verify
(ChartStyle style) Verifies the group and sum properties of current dataset.
-
Field Details
-
TOKEN_DATASET
XML token for a dataset element.- See Also:
-
-
Method Details
-
getLabelProvider
com.inet.report.chart.dataset.LabelProvider getLabelProvider()Returns the LabelProvider responsible for providing the title, footnote, and axis labels- Returns:
- the LabelProvider responsible for providing the title, footnote, and axis labels
- Since:
- 8.0
-
getDataField
Returns the summary field with the specified name ornull
if the summary field with this name not found in the list. Testing for equality using the case sensitiveequals
method.- Parameters:
name
- the searched name of summary field (null
not permitted)- Returns:
- the summary field with the specified name or
null
. - Throws:
IllegalArgumentException
- if name isnull
.- Since:
- 8.0
- See Also:
-
getDataFields
List getDataFields()Returns the data fields of this dataset as list.- Returns:
- the list of data fields
- Since:
- 8.0
- See Also:
-
getChart
Chart2 getChart()Returns the parent chart of this dataset.- Returns:
- the chart.
- Since:
- 8.0
-
verify
Verifies the group and sum properties of current dataset.- Parameters:
style
- the chart style- Returns:
- the error message or empty string if all properties are correct.
- Since:
- 8.0
-
getReferencedObject
List getReferencedObject()FOR INTERNAL USE ONLY- Returns:
- FOR INTERNAL USE ONLY
-
updateReferences
void updateReferences()FOR INTERNAL USE ONLY.
-