Package com.inet.report.chart.dataset
Interface GanttDataset
- All Superinterfaces:
BaseDataset
,Serializable
- All Known Implementing Classes:
GanttForEachRecordDataset
,GanttOneGroupDataset
,GanttTwoGroupsDataset
An interface that is implemented by data sets that have start, end and progress fields.
For more information see the implementors of this interface.
- Since:
- 8.0
- See Also:
-
Field Summary
Fields inherited from interface com.inet.report.chart.dataset.BaseDataset
TOKEN_DATASET
-
Method Summary
Modifier and TypeMethodDescriptionReturns the data field which indicates the end position of each interval bar.Returns the data field which indicates the progress status of each interval bar.Returns the data field which indicates the start position of each interval bar.void
setEndField
(int summaryOperation, Field field, Field field2nd, int nth) Sets the data field which indicates the end position of each interval bar.void
setProgressField
(int summaryOperation, Field field, Field field2nd, int nth) Sets the data field which indicates the progress status of each interval bar.void
setStartField
(int summaryOperation, Field field, Field field2nd, int nth) Sets the data field which indicates the start position of each interval bar.Methods inherited from interface com.inet.report.chart.dataset.BaseDataset
getChart, getDataField, getDataFields, getLabelProvider, getReferencedObject, updateReferences, verify
-
Method Details
-
getStartField
SummaryField getStartField()Returns the data field which indicates the start position of each interval bar.- Returns:
- the data field of type
SummaryField
ornull
if this field was not initialized. - Since:
- 8.0
- See Also:
-
getEndField
SummaryField getEndField()Returns the data field which indicates the end position of each interval bar.- Returns:
- the data field of type
SummaryField
ornull
if this field was not initialized. - Since:
- 8.0
- See Also:
-
getProgressField
SummaryField getProgressField()Returns the data field which indicates the progress status of each interval bar.- Returns:
- the data field of type
SummaryField
ornull
if this field was not initialized. - Since:
- 8.0
- See Also:
-
setStartField
Sets the data field which indicates the start position of each interval bar. Creates a newSummaryField
with these parameters.
For more information about the supported value types of the field and about using parameters 'field2nd' and 'nth' seeSummaryField
.
Note: this data field supports only summary operations with date result values.- Parameters:
summaryOperation
- the summary operation. This supports operations with date result values onlyfield
- the data fieldfield2nd
- the second data field, this field can currently be ignored.nth
- the nth parameter, used for example by summary operationSummaryField.NTH_LARGEST
- Throws:
IllegalArgumentException
- if the required second field or field arenull
or have an unsupported value type.IllegalArgumentException
- if "nth" is less than zero.- Since:
- 8.0
- See Also:
-
setEndField
Sets the data field which indicates the end position of each interval bar. Creates a newSummaryField
with these parameters.
For more information about the supported value types of the field and about using parameters 'field2nd' and 'nth' seeSummaryField
.
Note: this data field supports only summary operations with date result values.- Parameters:
summaryOperation
- the summary operation. This supports operations with date result values onlyfield
- the data fieldfield2nd
- the second data field, this field can currently be ignored.nth
- the nth parameter, used for example by summary operationSummaryField.NTH_LARGEST
- Throws:
IllegalArgumentException
- if the required second field or field arenull
or have an unsupported value type.IllegalArgumentException
- if "nth" is less than zero.- Since:
- 8.0
- See Also:
-
setProgressField
Sets the data field which indicates the progress status of each interval bar. This field is optional and supports only summary operations with number as result values. Creates a newSummaryField
with these parameters.
For more information about the supported value types of the field and about using parameters 'field2nd' and 'nth' seeSummaryField
.
Note: this data field supports only summary operations with number result values.- Parameters:
summaryOperation
- the summary operation. This supports operations with number result values onlyfield
- the data fieldfield2nd
- the second data field, this field can currently be ignored.nth
- the nth parameter, used for example by summary operationSummaryField.NTH_LARGEST
- Throws:
IllegalArgumentException
- if the required second field or field arenull
or have an unsupported value type.IllegalArgumentException
- if "nth" is less than zero.- Since:
- 8.0
- See Also:
-