Schnittstelle StockDataset
- Alle Superschnittstellen:
BaseDataset, Serializable
- Alle bekannten Implementierungsklassen:
StockForAllRecordsDataset, StockForEachRecordDataset, StockOneGroupDataset
An interface that is implemented by data set that have open, close, high, and low fields.
For more information see the implementors of this interface.
- Seit:
- 8.0
- Siehe auch:
-
Feldübersicht
Von Schnittstelle geerbte Felder BaseDataset
TOKEN_DATASET -
Methodenübersicht
Modifikator und TypMethodeBeschreibungReturns the data field which provides the close value.Returns the data field which provides the high value.Returns the data field which provides the low value.Returns 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.Von Schnittstelle geerbte Methoden BaseDataset
getChart, getDataField, getDataFields, getLabelProvider, getReferencedObject, updateReferences, verify
-
Methodendetails
-
getCloseField
SummaryField getCloseField()Returns the data field which provides the close value. This property is for chart styleStockStyle.STOCK_HIGH_LOW_OPEN_CLOSEonly.- Gibt zurück:
- the data field of type
SummaryFieldornullif this field was not initialized. - Seit:
- 8.0
- Siehe auch:
-
getHighField
SummaryField getHighField()Returns the data field which provides the high value.- Gibt zurück:
- the data field of type
SummaryFieldornullif this field was not initialized. - Seit:
- 8.0
- Siehe auch:
-
getOpenField
SummaryField getOpenField()Returns the data field which provides the open value. This property is for chart styleStockStyle.STOCK_HIGH_LOW_OPEN_CLOSEonly.- Gibt zurück:
- the data field of type
SummaryFieldornullif this field was not initialized. - Seit:
- 8.0
- Siehe auch:
-
getLowField
SummaryField getLowField()Returns the data field which provides the low value.- Gibt zurück:
- the data field of type
SummaryFieldornullif this field was not initialized. - Seit:
- 8.0
- 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.- 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- Löst aus:
IllegalArgumentException- if the required first or second field arenullor have an unsupported value type.IllegalArgumentException- if nth is less than zero.- Seit:
- 8.0
- 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.- 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- Löst aus:
IllegalArgumentException- if the required first or second field arenullor have an unsupported value type.IllegalArgumentException- if nth is less than zero.- Seit:
- 8.0
- 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.- 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- Löst aus:
IllegalArgumentException- if the required first or second field arenullor have an unsupported value type.IllegalArgumentException- if nth is less than zero.- Seit:
- 8.0
- 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.- 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- Löst aus:
IllegalArgumentException- if the required first or second field arenullor have an unsupported value type.IllegalArgumentException- if nth is less than zero.- Seit:
- 8.0
- Siehe auch:
-