com.exponto.jstock.indicators
Interface IndicatorParametersInterface

All Known Implementing Classes:
IndicatorParameters

public interface IndicatorParametersInterface

Author:
kaare

Method Summary
 boolean drawThis()
          Checks if the parameters settings of this indicator indicates that the Indicator is activated (e.g.
 javax.swing.JComponent[][] getUserInterface()
          Provides the Options menu with components to use for this indicator.
 void updateParameters()
          Used to update the parameters value within the IndicatorParameter class.
 

Method Detail

drawThis

public boolean drawThis()
Checks if the parameters settings of this indicator indicates that the Indicator is activated (e.g. number of days used in RSI calcultaion set to a value larger than 0).

Returns:
true this indicator shall be drawn (based on the parameters setting). False otherwise

getUserInterface

public javax.swing.JComponent[][] getUserInterface()
Provides the Options menu with components to use for this indicator. The JComponents are responsible for notifying "their" indicator when values are changed, and also update the properties files. Note that the receiving class makes a few assumptions on the content of the array.

Returns:
an JComponent array with the components that shall be displayed

updateParameters

public void updateParameters()
Used to update the parameters value within the IndicatorParameter class.



Copyright © 2004 Kaare Ranum