|
Venice 0.7beta | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.mov.chart.graph.ExpMovingAverageGraphUI
public class ExpMovingAverageGraphUI
The exponential smoothed moving average graph user interface.
ExpMovingAverageGraph
Constructor Summary | |
---|---|
ExpMovingAverageGraphUI(java.util.HashMap settings)
Create a new exponential smoothed moving average user interface with the initial settings. |
Method Summary | |
---|---|
java.lang.String |
checkSettings()
Check the current settings displayed in the user interface. |
javax.swing.JPanel |
getPanel()
Return the user interface. |
static int |
getPeriod(java.util.HashMap settings)
Retrieve the period from the settings hashmap. |
java.util.HashMap |
getSettings()
Return the current settings displayed in the user interface. |
static double |
getSmoothingConstant(java.util.HashMap settings)
Retrieve the smoothing constant 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 |
Constructor Detail |
---|
public ExpMovingAverageGraphUI(java.util.HashMap settings)
settings
- the initial settingsMethod Detail |
---|
public java.lang.String checkSettings()
GraphUI
checkSettings
in interface GraphUI
null
if the settings are validpublic java.util.HashMap getSettings()
GraphUI
getSettings
in interface GraphUI
public void setSettings(java.util.HashMap settings)
GraphUI
setSettings
in interface GraphUI
settings
- the new settingspublic javax.swing.JPanel getPanel()
GraphUI
getPanel
in interface GraphUI
public static int getPeriod(java.util.HashMap settings)
settings
- the settings
public static double getSmoothingConstant(java.util.HashMap settings)
settings
- the settings
|
Venice 0.7beta | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |