|
i-net Clear Reports | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
public interface StockDataset
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.
StockForAllRecordsDataset,
StockForEachRecordDataset,
StockOneGroupDataset| Field Summary |
|---|
| Fields inherited from interface com.inet.report.chart.dataset.BaseDataset |
|---|
TOKEN_DATASET |
| Method Summary | |
|---|---|
SummaryField |
getCloseField()
Returns the data field which provides the close value. |
SummaryField |
getHighField()
Returns the data field which provides the high value. |
SummaryField |
getLowField()
Returns the data field which provides the low value. |
SummaryField |
getOpenField()
Returns the data field which provides the open value. |
void |
setCloseField(int summaryOperation,
Field field,
Field field2nd,
int nth)
Sets the data field which provides the close value. |
void |
setHighField(int summaryOperation,
Field field,
Field field2nd,
int nth)
Sets the data field which provides the high value. |
void |
setLowField(int summaryOperation,
Field field,
Field field2nd,
int nth)
Sets the data field which provides the low value. |
void |
setOpenField(int summaryOperation,
Field field,
Field field2nd,
int nth)
Sets the data field which provides the open value. |
| Methods inherited from interface com.inet.report.chart.dataset.BaseDataset |
|---|
getChart, getDataField, getDataFields, getLabelProvider, verify |
| Method Detail |
|---|
SummaryField getCloseField()
StockStyle.STOCK_HIGH_LOW_OPEN_CLOSE only.
SummaryField or null if this field was not initialized.setCloseField(int, Field, Field, int)SummaryField getHighField()
SummaryField or null if this field was not initialized.setHighField(int, Field, Field, int)SummaryField getOpenField()
StockStyle.STOCK_HIGH_LOW_OPEN_CLOSE only.
SummaryField or null if this field was not initialized.setOpenField(int, Field, Field, int)SummaryField getLowField()
SummaryField or null if this field was not initialized.setLowField(int, Field, Field, int)
void setCloseField(int summaryOperation,
Field field,
Field field2nd,
int nth)
StockStyle.STOCK_HIGH_LOW_OPEN_CLOSE only.
Creates a new SummaryField with this field, operation and parameters.SummaryField.
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 average SummaryField.WEIGHTED_AVERAGE.nth - the nth parameter, used for example by summary operation SummaryField.NTH_LARGEST
java.lang.IllegalArgumentException - if the required first or second field are null or have an unsupported value type.
java.lang.IllegalArgumentException - if nth is less than zero.getCloseField(),
SummaryField.setSummaryOperation(int),
SummaryField.setField(Field),
SummaryField.setField2nd(Field),
SummaryField.setSummaryNth(int)
void setHighField(int summaryOperation,
Field field,
Field field2nd,
int nth)
SummaryField with this field, operation and parameters.SummaryField.
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 average SummaryField.WEIGHTED_AVERAGE.nth - the nth parameter, used for example by summary operation SummaryField.NTH_LARGEST
java.lang.IllegalArgumentException - if the required first or second field are null or have an unsupported value type.
java.lang.IllegalArgumentException - if nth is less than zero.getCloseField(),
SummaryField.setSummaryOperation(int),
SummaryField.setField(Field),
SummaryField.setField2nd(Field),
SummaryField.setSummaryNth(int)
void setOpenField(int summaryOperation,
Field field,
Field field2nd,
int nth)
StockStyle.STOCK_HIGH_LOW_OPEN_CLOSE only.
Creates a new SummaryField with this field, operation and parameters.SummaryField.
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 average SummaryField.WEIGHTED_AVERAGE.nth - the nth parameter, used for example by summary operation SummaryField.NTH_LARGEST
java.lang.IllegalArgumentException - if the required first or second field are null or have an unsupported value type.
java.lang.IllegalArgumentException - if nth is less than zero.getCloseField(),
SummaryField.setSummaryOperation(int),
SummaryField.setField(Field),
SummaryField.setField2nd(Field),
SummaryField.setSummaryNth(int)
void setLowField(int summaryOperation,
Field field,
Field field2nd,
int nth)
SummaryField with this field, operation and parameters.SummaryField.
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 average SummaryField.WEIGHTED_AVERAGE.nth - the nth parameter, used for example by summary operation SummaryField.NTH_LARGEST
java.lang.IllegalArgumentException - if the required first or second field are null or have an unsupported value type.
java.lang.IllegalArgumentException - if nth is less than zero.getCloseField(),
SummaryField.setSummaryOperation(int),
SummaryField.setField(Field),
SummaryField.setField2nd(Field),
SummaryField.setSummaryNth(int)
|
i-net Clear Reports | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||