Klasse GanttOneGroupDataset
java.lang.Object
com.inet.report.chart.dataset.AbstractDataset
com.inet.report.chart.dataset.GanttForEachRecordDataset
com.inet.report.chart.dataset.GanttOneGroupDataset
- Alle implementierten Schnittstellen:
BaseDataset, GanttDataset, Serializable
- Bekannte direkte Unterklassen:
GanttTwoGroupsDataset
This is a dataset used by Gantt charts.
This evaluates data sorted by one group for three data fields (start, end and progress).
- Seit:
- 8.0
- Siehe auch:
-
Feldübersicht
Von Klasse geerbte Felder GanttForEachRecordDataset
FIELDS_COUNTVon Schnittstelle geerbte Felder BaseDataset
TOKEN_DATASET -
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifikator und TypMethodeBeschreibungReturns the category group.protected StringgetName()FOR INTERNAL USE ONLYvoidRemoves the category group.protected voidresetSummaryFields(Group group, boolean isCategoryGroup) Resets the group properties of summary fields.protected voidsaveGroups(PrintWriter out, int depth) voidsetCategoryGroup(Field field) Creates a category group on this field.verify(ChartStyle style) Verifies the group and sum properties of current dataset.Von Klasse geerbte Methoden GanttForEachRecordDataset
getChart, getDataField, getDataField, getDataFields, getEndField, getLabelProvider, getProgressField, getStartField, setEndField, setProgressField, setStartField, updateReferencesVon Klasse geerbte Methoden com.inet.report.chart.dataset.AbstractDataset
saveProperties, saveSummaryFields
-
Konstruktordetails
-
GanttOneGroupDataset
Creates a new empty dataset.- Parameter:
chart- the chart (nullnot permitted)- Seit:
- 8.0
-
-
Methodendetails
-
getCategoryGroup
Returns the category group. The category group is the first group of chart.- Setzt außer Kraft:
getCategoryGroupin KlasseGanttForEachRecordDataset- Gibt zurück:
- the group or
nullif this group was not initialized. - Seit:
- 8.0
- Siehe auch:
-
setCategoryGroup
Creates a category group on this field. This group is for sorting and consolidating records with same values on the group axis, i.e. the x axis byPlotOrientation.VERTICAL. To change the sort order of data in this group get this withgetCategoryGroup()and use the Group properties.SummaryField,SpecialFieldandGroupFieldare unsupported field types.- Parameter:
field- the group field (nullnot permitted)- Löst aus:
IllegalArgumentException- if field isnullor from unsupported field type.- Seit:
- 8.0
- Siehe auch:
-
removeCategoryGroup
public void removeCategoryGroup()Removes the category group. Note: this dataset is incomplete without a category group and cannot be used by the chart.- Seit:
- 8.0
- Siehe auch:
-
resetSummaryFields
Resets the group properties of summary fields.- Parameter:
group- the groupisCategoryGroup- this is a category or series group- Seit:
- 8.0
-
verify
Verifies the group and sum properties of current dataset.- Angegeben von:
verifyin SchnittstelleBaseDataset- Setzt außer Kraft:
verifyin KlasseGanttForEachRecordDataset- Parameter:
style- the chart style- Gibt zurück:
- the error message or empty string if all properties are correct.
-
getReferencedObject
FOR INTERNAL USE ONLY- Angegeben von:
getReferencedObjectin SchnittstelleBaseDataset- Setzt außer Kraft:
getReferencedObjectin Klassecom.inet.report.chart.dataset.AbstractDataset- Gibt zurück:
- FOR INTERNAL USE ONLY
-
saveGroups
- Setzt außer Kraft:
saveGroupsin Klassecom.inet.report.chart.dataset.AbstractDataset
-
getName
- Setzt außer Kraft:
getNamein KlasseGanttForEachRecordDataset
-