|
Venice 0.751beta | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnz.org.venice.prefs.settings.AbstractSettings
nz.org.venice.prefs.settings.GraphSettings
This class represents Graph data which can be saved for the purposes of restoring the modules upon restart.
PreferencesManager| Field Summary |
| Fields inherited from interface nz.org.venice.prefs.settings.Settings |
ALERTS, ANALYSER, ANNMODULE, ANNRESULTS, CHART, CHARTMODULE, FRAME, GAMODULE, GARESULTS, GPMODULE, GPRESULTS, GRAPHS, HELP, HELPMODULE, MENUS, MODULE, PAPERTRADEMODULE, PAPERTRADERESULTS, PORTFOLIO, PORTFOLIOMODULE, PORTFOLIOTABLEMODULE, PREFERENCES, PREFERENCESMODULE, PREFS, QUOTEMODULE, ROOTMODULE, TABLE, TRANSACTIONMODULE, WATCHSCREENMODULE |
| Constructor Summary | |
GraphSettings()
Create new GraphSettings. |
|
GraphSettings(java.lang.String key,
java.lang.String parent,
java.lang.String title)
Create new GraphSettings. |
|
| Method Summary | |
Graph |
getGraph(EODQuoteBundle bundle)
This is factory method which returns a graph represented by this object's settings. |
Graph |
getGraph(EODQuoteBundle bundle,
Portfolio portfolio)
|
Module |
getModule(javax.swing.JDesktopPane desktop)
Return a Module based on the settings. |
java.util.HashMap |
getSettings()
Return the internal graph settings |
java.util.List |
getSettingsSymbolList()
Return the symbolList |
int |
getSourceType()
Return the graph source type |
java.lang.String |
getTitle()
Return the graph title |
void |
setSettings(java.util.HashMap settings)
Set the internal graph settings. |
void |
setSettingsSymbolList(java.util.List settingsSymbolList)
Set the symbollist |
void |
setSourceType(int sourceType)
Set the graph source type |
void |
setTitle(java.lang.String title)
Set the graph title |
| Methods inherited from class nz.org.venice.prefs.settings.AbstractSettings |
getGroup, getHBarPolicy, getHBarValue, getKey, getType, getVBarPolicy, getVBarValue, setGroup, setHBarPolicy, setHBarValue, setKey, setScrollBarValues, setType, setVBarPolicy, setVBarValue, toString, updateScrollPane |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public GraphSettings(java.lang.String key,
java.lang.String parent,
java.lang.String title)
key - The graph Settings Identifierparent - The chart settings identifiertitle - The title of the graph.public GraphSettings()
| Method Detail |
public java.util.HashMap getSettings()
public void setSettings(java.util.HashMap settings)
settings - A hashmap representing the settings datapublic java.lang.String getTitle()
getTitle in interface SettingsgetTitle in class AbstractSettingspublic void setTitle(java.lang.String title)
setTitle in interface SettingssetTitle in class AbstractSettingstitle - The graph titlepublic void setSourceType(int sourceType)
sourceType - The graph source typepublic int getSourceType()
public java.util.List getSettingsSymbolList()
public void setSettingsSymbolList(java.util.List settingsSymbolList)
settingsSymbolList - A list of symbols for this graphpublic Module getModule(javax.swing.JDesktopPane desktop)
Settings
getModule in interface SettingsgetModule in class AbstractSettingspublic Graph getGraph(EODQuoteBundle bundle)
public Graph getGraph(EODQuoteBundle bundle,
Portfolio portfolio)
|
Venice 0.751beta | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||