Interface
caplin.chart.study

StudyListener

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'fs calculations, then your study class must implement this interface as it will become the listener for study data of its "inner" study.

Constructor Summary

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

Method Summary

Attributes Name and Description
void onStudyData(Object study, Array data)

Called whenever new study data is available.

Constructor Detail

caplin.chart.study.StudyListener()

Method Detail

void onStudyData(Object study, Array data)

Called whenever new study data is available.

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