|
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.PointAndFigureGraphUI
public class PointAndFigureGraphUI
The Point and Figure graph user interface.
PointAndFigureGraph
Constructor Summary | |
---|---|
PointAndFigureGraphUI(java.util.HashMap settings,
double defaultPriceReversalScale,
double defaultBoxPriceScale)
Create a new Point and Figure user interface with the initial settings. |
Method Summary | |
---|---|
java.lang.String |
checkSettings()
Check the current settings displayed in the user interface. |
static double |
getBoxPriceScale(java.util.HashMap settings,
double defaultBoxPrice)
Retrieve the box price from the settings hashmap. |
javax.swing.JPanel |
getPanel()
Return the user interface. |
static double |
getPriceReversalScale(java.util.HashMap settings,
double defaultPriceReversalScale)
Retrieve the price scale from the settings hashmap. |
java.util.HashMap |
getSettings()
Return the current settings displayed in the user interface. |
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 PointAndFigureGraphUI(java.util.HashMap settings, double defaultPriceReversalScale, double defaultBoxPriceScale)
settings
- the initial settingsdefaultPriceReversalScale
- default price scale based on dataMethod 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 double getPriceReversalScale(java.util.HashMap settings, double defaultPriceReversalScale)
settings
- the settingsdefaultPriceReversalScale
- the default price scale
public static double getBoxPriceScale(java.util.HashMap settings, double defaultBoxPrice)
settings
- the settingsdefaultBoxPrice
- the default price scale
|
Venice 0.7beta | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |