Klasse StockForAllRecordsDataset
java.lang.Object
com.inet.report.chart.dataset.AbstractDataset
com.inet.report.chart.dataset.StockForAllRecordsDataset
- Alle implementierten Schnittstellen:
BaseDataset, StockDataset, Serializable
- Bekannte direkte Unterklassen:
StockForEachRecordDataset
public class StockForAllRecordsDataset
extends com.inet.report.chart.dataset.AbstractDataset
implements StockDataset
This is a dataset used by stock charts.
This evaluates data 'for all records' for four data fields (open, close, high, low).
- Seit:
- 8.0
- Siehe auch:
-
Feldübersicht
FelderModifikator und TypFeldBeschreibungprotected static final intThe count of data fields by this kind of dataset.Von Schnittstelle geerbte Felder BaseDataset
TOKEN_DATASET -
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifikator und TypMethodeBeschreibungprotected GroupReturns the category group.getChart()Returns the parent chart of this dataset.Returns the data field which provides the close value.protected SummaryFieldgetDataField(int index) Returns the summary field at the specified position in the list.getDataField(String name) Returns the summary field with the specified name ornullif the summary field with this name not found in the list.Returns the data fields of this dataset as list.Returns the data field which provides the high value.com.inet.report.chart.dataset.LabelProviderReturns the LabelProvider responsible for providing the title, footnote, and axis labelsReturns the data field which provides the low value.protected StringgetName()FOR INTERNAL USE ONLYReturns the data field which provides the open value.voidsetCloseField(int summaryOperation, Field field, Field field2nd, int nth) Sets the data field which provides the close value.voidsetHighField(int summaryOperation, Field field, Field field2nd, int nth) Sets the data field which provides the high value.voidsetLowField(int summaryOperation, Field field, Field field2nd, int nth) Sets the data field which provides the low value.voidsetOpenField(int summaryOperation, Field field, Field field2nd, int nth) Sets the data field which provides the open value.voidFOR INTERNAL USE ONLYverify(ChartStyle style) Verifies the group and sum properties of current dataset.Von Klasse geerbte Methoden com.inet.report.chart.dataset.AbstractDataset
getReferencedObject, saveGroups, saveProperties, saveSummaryFieldsVon Klasse geerbte Methoden Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitVon Schnittstelle geerbte Methoden BaseDataset
getReferencedObject
-
Felddetails
-
FIELDS_COUNT
protected static final int FIELDS_COUNTThe count of data fields by this kind of dataset.- Siehe auch:
-
-
Konstruktordetails
-
StockForAllRecordsDataset
Creates a new empty dataset.- Parameter:
chart- the chart (nullnot permitted)- Seit:
- 8.0
-
-
Methodendetails
-
getChart
Returns the parent chart of this dataset.- Angegeben von:
getChartin SchnittstelleBaseDataset- Gibt zurück:
- the chart.
-
getDataField
Returns the summary field with the specified name ornullif the summary field with this name not found in the list. Testing for equality using the case sensitiveequalsmethod.- Angegeben von:
getDataFieldin SchnittstelleBaseDataset- Parameter:
name- the searched name of summary field (nullnot permitted)- Gibt zurück:
- the summary field with the specified name or
null. - Siehe auch:
-
getDataFields
Returns the data fields of this dataset as list.- Angegeben von:
getDataFieldsin SchnittstelleBaseDataset- Gibt zurück:
- the list of data fields
- Siehe auch:
-
getCategoryGroup
Returns the category group. The category group is the first group of chart.- Gibt zurück:
- the group.
- Seit:
- 8.0
-
getLowField
Returns the data field which provides the low value.- Angegeben von:
getLowFieldin SchnittstelleStockDataset- Gibt zurück:
- the data field of type
SummaryFieldornullif this field was not initialized. - Siehe auch:
-
setLowField
Sets the data field which provides the low value. Creates a newSummaryFieldwith this field, operation and parameters.
For more information on the supported value types of fields and using parameters 'field2nd' and 'nth' seeSummaryField.- Angegeben von:
setLowFieldin SchnittstelleStockDataset- Parameter:
summaryOperation- the summary operation. This only supports operations with number results.field- the data fieldfield2nd- the second data field, used for example for weights in weighted averageSummaryField.WEIGHTED_AVERAGE.nth- the nth parameter, used for example by summary operationSummaryField.NTH_LARGEST- Siehe auch:
-
getHighField
Returns the data field which provides the high value.- Angegeben von:
getHighFieldin SchnittstelleStockDataset- Gibt zurück:
- the data field of type
SummaryFieldornullif this field was not initialized. - Siehe auch:
-
setHighField
Sets the data field which provides the high value. Creates a newSummaryFieldwith this field, operation and parameters.
For more information on the supported value types of fields and using parameters 'field2nd' and 'nth' seeSummaryField.- Angegeben von:
setHighFieldin SchnittstelleStockDataset- Parameter:
summaryOperation- the summary operation. This only supports operations with number results.field- the data fieldfield2nd- the second data field, used for example for weights in weighted averageSummaryField.WEIGHTED_AVERAGE.nth- the nth parameter, used for example by summary operationSummaryField.NTH_LARGEST- Siehe auch:
-
getOpenField
Returns the data field which provides the open value. This property is for chart styleStockStyle.STOCK_HIGH_LOW_OPEN_CLOSEonly.- Angegeben von:
getOpenFieldin SchnittstelleStockDataset- Gibt zurück:
- the data field of type
SummaryFieldornullif this field was not initialized. - Siehe auch:
-
setOpenField
Sets the data field which provides the open value. This property is for chart styleStockStyle.STOCK_HIGH_LOW_OPEN_CLOSEonly. Creates a newSummaryFieldwith this field, operation and parameters.
For more information on the supported value types of fields and using parameters 'field2nd' and 'nth' seeSummaryField.- Angegeben von:
setOpenFieldin SchnittstelleStockDataset- Parameter:
summaryOperation- the summary operation. This only supports operations with number results.field- the data fieldfield2nd- the second data field, used for example for weights in weighted averageSummaryField.WEIGHTED_AVERAGE.nth- the nth parameter, used for example by summary operationSummaryField.NTH_LARGEST- Siehe auch:
-
getCloseField
Returns the data field which provides the close value. This property is for chart styleStockStyle.STOCK_HIGH_LOW_OPEN_CLOSEonly.- Angegeben von:
getCloseFieldin SchnittstelleStockDataset- Gibt zurück:
- the data field of type
SummaryFieldornullif this field was not initialized. - Siehe auch:
-
setCloseField
Sets the data field which provides the close value. This property is for chart styleStockStyle.STOCK_HIGH_LOW_OPEN_CLOSEonly. Creates a newSummaryFieldwith this field, operation and parameters.
For more information on the supported value types of fields and using parameters 'field2nd' and 'nth' seeSummaryField.- Angegeben von:
setCloseFieldin SchnittstelleStockDataset- Parameter:
summaryOperation- the summary operation. This only supports operations with number results.field- the data fieldfield2nd- the second data field, used for example for weights in weighted averageSummaryField.WEIGHTED_AVERAGE.nth- the nth parameter, used for example by summary operationSummaryField.NTH_LARGEST- Siehe auch:
-
getDataField
Returns the summary field at the specified position in the list.- Parameter:
index- index of summary field to return- Gibt zurück:
- the summary field at the specified position in the list.
- Löst aus:
IndexOutOfBoundsException- if index is out of range.- Seit:
- 8.0
-
verify
Verifies the group and sum properties of current dataset.- Angegeben von:
verifyin SchnittstelleBaseDataset- Parameter:
style- the chart style- Gibt zurück:
- the error message or empty string if all properties are correct.
-
updateReferences
public void updateReferences()FOR INTERNAL USE ONLY- Angegeben von:
updateReferencesin SchnittstelleBaseDataset
-
getName
-
getLabelProvider
public com.inet.report.chart.dataset.LabelProvider getLabelProvider()Returns the LabelProvider responsible for providing the title, footnote, and axis labels- Angegeben von:
getLabelProviderin SchnittstelleBaseDataset- Gibt zurück:
- the LabelProvider responsible for providing the title, footnote, and axis labels
-