|
i-net Clear Reports | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectcom.inet.report.chart.dataset.AbstractDataset
com.inet.report.chart.dataset.GanttForEachRecordDataset
public class GanttForEachRecordDataset
This is a dataset used by Gantt charts. This evaluates data 'for each record' for three data fields (start, end and progress).
| Field Summary | |
|---|---|
protected static int |
FIELDS_COUNT
The count of data fields by this kind of dataset. |
| Fields inherited from interface com.inet.report.chart.dataset.BaseDataset |
|---|
TOKEN_DATASET |
| Constructor Summary | |
|---|---|
GanttForEachRecordDataset(Chart2 chart)
Creates a new empty dataset. |
|
| Method Summary | |
|---|---|
protected Group |
getCategoryGroup()
Returns the category group. |
Chart2 |
getChart()
Returns the parent chart of this dataset. |
SummaryField |
getDataField(java.lang.String name)
Returns the summary field with the specified name or null
if the summary field with this name not found in the list. |
protected SummaryField |
getDataField(int index)
Returns the summary field at the specified position in the list. |
java.util.List |
getDataFields()
Returns the data fields of this dataset as list. |
SummaryField |
getEndField()
Returns the data field which indicates the end position of each interval bar. |
com.inet.report.chart.dataset.LabelProvider |
getLabelProvider()
Returns the LabelProvider responsible for providing the title, footnote, and axis labels |
protected java.lang.String |
getName()
FOR INTERNAL USE ONLY Returns the XML attribute name for this dataset. |
SummaryField |
getProgressField()
Returns the data field which indicates the progress status of each interval bar. |
SummaryField |
getStartField()
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. |
java.lang.String |
verify(ChartStyle style)
Verifies the group and sum properties of current dataset. |
| Field Detail |
|---|
protected static final int FIELDS_COUNT
| Constructor Detail |
|---|
public GanttForEachRecordDataset(Chart2 chart)
chart - the chart (null not permitted)| Method Detail |
|---|
public Chart2 getChart()
getChart in interface BaseDatasetprotected Group getCategoryGroup()
public SummaryField getDataField(java.lang.String name)
null
if the summary field with this name not found in the list.
Testing for equality using the case sensitive equals method.
getDataField in interface BaseDatasetname - the searched name of summary field (null not permitted)
null.BaseDataset.getDataFields()public java.util.List getDataFields()
getDataFields in interface BaseDatasetBaseDataset.getDataField(String)public SummaryField getStartField()
getStartField in interface GanttDatasetSummaryField or null if this field was not initialized.GanttDataset.setStartField(int, Field, Field, int)
public void setStartField(int summaryOperation,
Field field,
Field field2nd,
int nth)
SummaryField with these parameters.SummaryField.
setStartField in interface GanttDatasetsummaryOperation - 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 operation SummaryField.NTH_LARGESTGanttDataset.getStartField(),
SummaryField.setSummaryOperation(int),
SummaryField.setField(Field),
SummaryField.setField2nd(Field),
SummaryField.setSummaryNth(int)public SummaryField getEndField()
getEndField in interface GanttDatasetSummaryField or null if this field was not initialized.GanttDataset.setEndField(int, Field, Field, int)
public void setEndField(int summaryOperation,
Field field,
Field field2nd,
int nth)
SummaryField with these parameters.SummaryField.
setEndField in interface GanttDatasetsummaryOperation - 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 operation SummaryField.NTH_LARGESTGanttDataset.getEndField(),
SummaryField.setSummaryOperation(int),
SummaryField.setField(Field),
SummaryField.setField2nd(Field),
SummaryField.setSummaryNth(int)public SummaryField getProgressField()
getProgressField in interface GanttDatasetSummaryField or null if this field was not initialized.GanttDataset.setProgressField(int, Field, Field, int)
public void setProgressField(int summaryOperation,
Field field,
Field field2nd,
int nth)
SummaryField with these parameters.SummaryField.
setProgressField in interface GanttDatasetsummaryOperation - 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 operation SummaryField.NTH_LARGESTGanttDataset.getEndField(),
SummaryField.setSummaryOperation(int),
SummaryField.setField(Field),
SummaryField.setField2nd(Field),
SummaryField.setSummaryNth(int)protected SummaryField getDataField(int index)
index - index of summary field to return
java.lang.IndexOutOfBoundsException - if index is out of range.public java.lang.String verify(ChartStyle style)
verify in interface BaseDatasetstyle - the chart style
public com.inet.report.chart.dataset.LabelProvider getLabelProvider()
getLabelProvider in interface BaseDatasetprotected java.lang.String getName()
getName in class com.inet.report.chart.dataset.AbstractDataset
|
i-net Clear Reports | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||