|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.exponto.jstock.indicators.IndicatorParameters
com.exponto.jstock.obsolete.RsiParameters
Contains RSI specific parameters used in computation of an indicator series
Constructor Summary | |
RsiParameters(int days)
|
|
RsiParameters(java.lang.String s)
|
Method Summary | |
int[] |
fromParameterString(java.lang.String s)
Generates new parameter(s) from a string. |
int |
getNumberOfDays()
|
java.lang.String[] |
getParameterNames()
|
int[] |
getParameters()
|
javax.swing.JComponent[][] |
getUserInterface()
Provides the Options menu with components to use for this indicator. |
boolean |
indicatorEnabled()
Checks if the parameters settings of this indicator indicates that the Indicator is activated (e.g. |
void |
setNumberOfDays(int i)
|
void |
setParameters(int[] parameters)
|
void |
setParameters(int index,
int value)
|
java.lang.String |
toParameterString()
Used to generate a string of the parameter(s) of this instance. |
void |
updateParameters()
Used to update the parameters value within the IndicatorParameter class. |
Methods inherited from class com.exponto.jstock.indicators.IndicatorParameters |
equals, getValidFrom, getValidTo, hashCode, setValidFrom, setValidTo, toString |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public RsiParameters(int days)
public RsiParameters(java.lang.String s)
Method Detail |
public javax.swing.JComponent[][] getUserInterface()
IndicatorParameters
getUserInterface
in interface IndicatorParametersInterface
getUserInterface
in class IndicatorParameters
public void updateParameters()
IndicatorParametersInterface
updateParameters
in interface IndicatorParametersInterface
updateParameters
in class IndicatorParameters
public int[] getParameters()
getParameters
in class IndicatorParameters
public void setParameters(int index, int value)
setParameters
in class IndicatorParameters
index
- value
- public void setParameters(int[] parameters)
setParameters
in class IndicatorParameters
parameters
- public java.lang.String[] getParameterNames()
getParameterNames
in class IndicatorParameters
public int getNumberOfDays()
public void setNumberOfDays(int i)
i
- the number of days used in the RSI calculationpublic boolean indicatorEnabled()
IndicatorParametersInterface
indicatorEnabled
in interface IndicatorParametersInterface
indicatorEnabled
in class IndicatorParameters
public java.lang.String toParameterString()
IndicatorParametersInterface
public int[] fromParameterString(java.lang.String s)
IndicatorParametersInterface
s
- the parameters of the class encoded as a string
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |