|
Venice 0.7beta | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.mov.main.CommandManager
public class CommandManager
This class manages the tasks that can be initiated from menus and toolbars. Each task is launched in a separate thread.
Method Summary | |
---|---|
void |
ann()
Open up a new artificial neural network module. |
void |
exportPreferences()
Displays an import file dialog that allows the user to export preferences from the application into an XML file. |
void |
exportQuotes()
Displays the export quotes modules that allows the user to export quotes from the application. |
void |
ga()
Open up a new genetic algorithm module. |
DesktopManager |
getDesktopManager()
|
static CommandManager |
getInstance()
Return the static CommandManager for this application |
void |
gp()
Open up a new genetic programming module. |
void |
graphAdvanceDecline()
Graph the advance/decline market indicator |
void |
graphIndexBySymbol(java.util.List symbols)
Displays a graph of closing prices for an index, based on a list of symbols. |
void |
graphPortfolio(Portfolio portfolio)
Graph the given portfolio. |
void |
graphPortfolio(Portfolio portfolio,
EODQuoteBundle quoteBundle)
Graph the given portfolio. |
void |
graphPortfolio(Portfolio portfolio,
EODQuoteBundle quoteBundle,
TradingDate startDate,
TradingDate endDate)
Graph the given portfolio inbetween the given dates. |
void |
graphPortfolio(java.lang.String portfolioName)
Graph the given portfolio. |
void |
graphStockBySymbol(java.util.List symbols)
Displays a graph closing prices for stock(s), based on their code. |
void |
importPreferences()
Displays an import file dialog that allows the user to import preferences into the application from an XML file. |
void |
importQuotes()
Displays the import quotes modules that allows the user to import quotes into the application. |
ModuleFrame |
newANNResultTable()
Open up a result table that will display a summary of results from artificial neural network. |
ModuleFrame |
newGAResultTable()
Open up a result table that will display a summary of results from genetic algorithm. |
ModuleFrame |
newGPResultTable(GPPageInitialPopulation GPPageInitialPopulation)
Open up a result table that will display a summary of results from genetic programming. |
ModuleFrame |
newPaperTradeResultTable()
Open up a result table that will display a summary of results from paper trading. |
void |
newPortfolio()
Open up a dialog to create and then display a new portfolio. |
void |
newWatchScreen()
Open up a dialog to create and then display a new watch screen. |
void |
openAboutDialog()
Opens the about dialog box. |
void |
openHelp()
Opens the help module at the default page. |
void |
openLicenseDialog()
Display a dialog to the user showing Venice's license. |
void |
openPortfolio(Portfolio portfolio)
Display the portfolio to the user |
void |
openPortfolio(Portfolio portfolio,
EODQuoteBundle quoteBundle)
Display the portfolio to the user |
void |
openPortfolio(java.lang.String portfolioName)
Display the portfolio with the given name to the user. |
void |
openPreferences()
Opens up an instance of the preferences module at the last visited page. |
void |
openPreferences(int page)
Opens up an instance of the preferences module at the given page. |
void |
openWatchScreen(java.lang.String watchScreenName)
Display the watch screen to the user |
void |
openWatchScreen(WatchScreen watchScreen)
Display the watch screen to the user |
void |
paperTrade()
Open up a new paper trade module. |
void |
setDesktopManager(DesktopManager desktopManager)
|
void |
syncIDQuotes()
Displays the intra-day quote quote sync module that allows the user to automatically download new intra-day quotes into the application. |
void |
tablePortfolio(Portfolio portfolio)
|
void |
tablePortfolio(Portfolio portfolio,
EODQuoteBundle quoteBundle)
|
void |
tablePortfolio(Portfolio portfolio,
EODQuoteBundle quoteBundle,
TradingDate startDate,
TradingDate endDate)
|
void |
tablePortfolio(java.lang.String portfolioName)
|
void |
tableStocks(int type)
|
void |
tableStocks(java.util.List symbols)
|
void |
tableStocksByDate(int type)
|
void |
tableStocksByRule(int type)
|
void |
tableTransactions(Portfolio portfolio,
EODQuoteBundle quoteBundle)
Display the transactions to the user, opening portfolio window |
void |
tileFramesArrange()
Allocate as square a shape as possible to open infternal frames |
void |
tileFramesCascade()
Arrange all open internal frames in a cascading fashion |
void |
tileFramesHorizontal()
Tile all the open internal frames horizontally |
void |
tileFramesVertical()
Tile all the open internal frames vertically |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static CommandManager getInstance()
public DesktopManager getDesktopManager()
public void setDesktopManager(DesktopManager desktopManager)
public void tileFramesHorizontal()
public void tileFramesVertical()
public void tileFramesCascade()
public void tileFramesArrange()
public void tableTransactions(Portfolio portfolio, EODQuoteBundle quoteBundle)
portfolio
- the portfolioquoteBundle
- fully loaded quote bundlepublic void tableStocks(int type)
public void tableStocks(java.util.List symbols)
public void tableStocksByDate(int type)
public void tableStocksByRule(int type)
public void openPortfolio(java.lang.String portfolioName)
portfolioName
- name of portfolio to displaypublic void openPortfolio(Portfolio portfolio)
portfolio
- the portfoliopublic void openPortfolio(Portfolio portfolio, EODQuoteBundle quoteBundle)
portfolio
- the portfolioquoteBundle
- fully loaded quote bundlepublic void paperTrade()
public void gp()
public void ga()
public void ann()
public ModuleFrame newPaperTradeResultTable()
public ModuleFrame newGPResultTable(GPPageInitialPopulation GPPageInitialPopulation)
public ModuleFrame newGAResultTable()
public ModuleFrame newANNResultTable()
public void newWatchScreen()
public void openWatchScreen(java.lang.String watchScreenName)
watchScreenName
- the name of the watch screenpublic void openWatchScreen(WatchScreen watchScreen)
watchScreen
- the watch screenpublic void openPreferences()
public void openPreferences(int page)
page
- the preference page to view.public void newPortfolio()
public void graphPortfolio(java.lang.String portfolioName)
portfolioName
- the name of the portfolio to graphpublic void graphPortfolio(Portfolio portfolio)
portfolio
- the portfolio to graphpublic void graphPortfolio(Portfolio portfolio, EODQuoteBundle quoteBundle)
portfolio
- the portfolioquoteBundle
- fully loaded quote bundlepublic void graphPortfolio(Portfolio portfolio, EODQuoteBundle quoteBundle, TradingDate startDate, TradingDate endDate)
portfolio
- the portfolio to graphquoteBundle
- quote bundlestartDate
- date to graph fromendDate
- date to graph topublic void tablePortfolio(java.lang.String portfolioName)
public void tablePortfolio(Portfolio portfolio)
public void tablePortfolio(Portfolio portfolio, EODQuoteBundle quoteBundle)
public void tablePortfolio(Portfolio portfolio, EODQuoteBundle quoteBundle, TradingDate startDate, TradingDate endDate)
public void graphAdvanceDecline()
public void graphStockBySymbol(java.util.List symbols)
symbols
- Optional. Set of symbols to graph.public void graphIndexBySymbol(java.util.List symbols)
symbols
- Optional. Set of symbols to graph.public void openAboutDialog()
public void openLicenseDialog()
public void openHelp()
public void importPreferences()
public void exportPreferences()
public void importQuotes()
public void syncIDQuotes()
public void exportQuotes()
|
Venice 0.7beta | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |