|
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.CustomGraphUI
public class CustomGraphUI
The custom graph user interface.
CustomGraph
Constructor Summary | |
---|---|
CustomGraphUI(java.util.HashMap settings,
Graphable source,
EODQuoteBundle quoteBundle,
Symbol symbol)
Create a new Custom user interface with the initial settings. |
Method Summary | |
---|---|
java.lang.String |
checkSettings()
Check the current settings displayed in the user interface. |
static Graphable |
createCustom(Expression indicator,
Graphable source,
EODQuoteBundle quoteBundle,
Symbol symbol)
Create a new custom graph based on the given graph source and quote bundle. |
static java.lang.String |
getIndicatorText(java.util.HashMap settings)
Return the custom indicator expression text. |
javax.swing.JPanel |
getPanel()
Return the user interface. |
java.util.HashMap |
getSettings()
Return the current settings displayed in the user interface. |
static boolean |
isPrimary(java.util.HashMap settings)
Return whether the graph should appear in the primary graph or not. |
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 CustomGraphUI(java.util.HashMap settings, Graphable source, EODQuoteBundle quoteBundle, Symbol symbol)
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 java.lang.String getIndicatorText(java.util.HashMap settings)
settings
- the settings
public static Graphable createCustom(Expression indicator, Graphable source, EODQuoteBundle quoteBundle, Symbol symbol) throws EvaluationException
indicator
- the custom indicator expressionsource
- the source containing the dates to work withsymbol
- the symbol to apply the expressionquoteBundle
- the quote bundle containing the quotes
EvaluationException
- if there was an error evaluating the expressionpublic static boolean isPrimary(java.util.HashMap settings)
settings
- the settings
true
if the graph is primary; false
otherwise
|
Venice 0.7beta | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |