Venice 0.751beta

nz.org.venice.analyser
Interface AnalyserPage

All Known Implementing Classes:
ANNNetworkTypePage, ANNPage, ANNTrainingPage, GAPage, GARulesPage, GPGondolaSelection, GPPage, GPPageInitialPopulation, PortfolioPage, QuoteRangePage, RulesPage, TradeValuePage

public interface AnalyserPage

An analysis tool configuration page. Each analysis tool consists of a series of configuration pages. Each page is represented by a tab pane. The pages group various parameters, such as buy/sell rules, portfolio information, trade costs, etc. together. By separating these pages into different classes, they can be shared between tools.

Author:
Andrew Leppard
See Also:
PaperTradeModule, GPModule

Method Summary
 javax.swing.JComponent getComponent()
          Return the page's graphical user interface.
 java.lang.String getTitle()
          Return the title of this page.
 void load(java.lang.String key)
          Load the user interface values from preferences.
 boolean parse()
          Parse the values the user has entered into the GUI.
 void save(java.lang.String key)
          Save the user interface values to preferences.
 

Method Detail

save

public void save(java.lang.String key)
Save the user interface values to preferences.

Parameters:
key - a key which uniquely identifies the analysis tool using this page

load

public void load(java.lang.String key)
Load the user interface values from preferences.

Parameters:
key - a key which uniquely identifies the analysis tool using this page

parse

public boolean parse()
Parse the values the user has entered into the GUI. If any of the values are invalid, the page will display an option pane describing the error, and the function will return false.

Returns:
true if the user's values are valid, false otherwise.

getComponent

public javax.swing.JComponent getComponent()
Return the page's graphical user interface.

Returns:
the GUI

getTitle

public java.lang.String getTitle()
Return the title of this page.

Returns:
the page's title

Venice 0.751beta