Interface
caplin.chart.study

StudyListener

The class is still in Beta and is subject to API changes.
This interface must be implemented by any classes which listen to updates originating from a caplin.chart.Study.

caplin.chart.Series implements this interface as it's the primary "manager" for studies. If you will write a new study class that uses another study as the base for it's calculations, then your study class must implement this interface as it will become the listener for study data of it's "inner" study.

Constructor Summary

Attributes Name and Description
caplin.chart.study.StudyListener()

Method Summary

Attributes Name and Description
void onStudyData(Object oStudy, Array pData)

Called whenever new study data is available.

Constructor Detail

caplin.chart.study.StudyListener()

Method Detail

void onStudyData(Object oStudy, Array pData)

Called whenever new study data is available.

Parameters
Object oStudy The caplin.chart.Study object that provided the data.
Array pData Study data in the Caplin format. How this looks will depend on each individual study.