|
Venice 0.751beta | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnz.org.venice.chart.graph.MACDGraphUI
The MACD graph user interface.
MACDGraph| Field Summary | |
static java.lang.String |
EMA
|
static java.lang.String |
SMA
|
| Constructor Summary | |
MACDGraphUI(java.util.HashMap settings)
Create a new MACD user interface with the initial settings. |
|
| Method Summary | |
java.lang.String |
checkSettings()
Check the current settings displayed in the user interface. |
java.lang.String |
checkSettings(java.util.HashMap settings)
Check previously set settings. |
static java.lang.String |
getAverageType(java.util.HashMap settings)
Retrieve the average type (EMA or SMA) from the settings hashmap. |
javax.swing.JPanel |
getPanel()
Return the user interface. |
static int |
getPeriodFirstAverage(java.util.HashMap settings)
Retrieve the period of the first average from the settings hashmap. |
static int |
getPeriodSecondAverage(java.util.HashMap settings)
Retrieve the period of the second average from the settings hashmap. |
java.util.HashMap |
getSettings()
Return the current settings displayed in the user interface. |
static double |
getSmoothingConstantFirstAverage(java.util.HashMap settings)
Retrieve the smoothing constant of the first average from the settings hashmap. |
static double |
getSmoothingConstantSecondAverage(java.util.HashMap settings)
Retrieve the smoothing constant of the second average from the settings hashmap. |
void |
setSettings(java.util.HashMap settings)
Display the given settings in the user interface. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final java.lang.String SMA
public static final java.lang.String EMA
| Constructor Detail |
public MACDGraphUI(java.util.HashMap settings)
settings - the initial settings| Method Detail |
public java.lang.String checkSettings()
GraphUI
checkSettings in interface GraphUInull if the settings are validpublic java.lang.String checkSettings(java.util.HashMap settings)
GraphUI
checkSettings in interface GraphUIsettings - Previously saved settings
null if the settings are validpublic java.util.HashMap getSettings()
GraphUI
getSettings in interface GraphUIpublic void setSettings(java.util.HashMap settings)
GraphUI
setSettings in interface GraphUIsettings - the new settingspublic javax.swing.JPanel getPanel()
GraphUI
getPanel in interface GraphUIpublic static java.lang.String getAverageType(java.util.HashMap settings)
settings - the settings
public static int getPeriodFirstAverage(java.util.HashMap settings)
settings - the settings
public static double getSmoothingConstantFirstAverage(java.util.HashMap settings)
settings - the settings
public static int getPeriodSecondAverage(java.util.HashMap settings)
settings - the settings
public static double getSmoothingConstantSecondAverage(java.util.HashMap settings)
settings - the settings
|
Venice 0.751beta | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||