Venice 0.751beta

nz.org.venice.prefs.settings
Class TransactionModuleSettings

java.lang.Object
  extended bynz.org.venice.prefs.settings.AbstractSettings
      extended bynz.org.venice.prefs.settings.TransactionModuleSettings
All Implemented Interfaces:
Settings

public class TransactionModuleSettings
extends AbstractSettings


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
TransactionModuleSettings()
          TransactioModuleSettings default constructor
TransactionModuleSettings(java.lang.String title)
          Construct a TransactionModuleSettings with title as key
 
Method Summary
 Module getModule(javax.swing.JDesktopPane desktop)
          Return a TransactionModule based on these settings
 java.lang.String getPortfolioName()
          Get the name of the portfolio that the TransactionModule is attached to
 void setPortfolioName(java.lang.String portfolioName)
          Set the name of the Portfolio that the Transactions operated on
 
Methods inherited from class nz.org.venice.prefs.settings.AbstractSettings
getGroup, getHBarPolicy, getHBarValue, getKey, getTitle, getType, getVBarPolicy, getVBarValue, setGroup, setHBarPolicy, setHBarValue, setKey, setScrollBarValues, setTitle, setType, setVBarPolicy, setVBarValue, toString, updateScrollPane
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TransactionModuleSettings

public TransactionModuleSettings()
TransactioModuleSettings default constructor


TransactionModuleSettings

public TransactionModuleSettings(java.lang.String title)
Construct a TransactionModuleSettings with title as key

Parameters:
title - The title of a TransactionModule
Method Detail

setPortfolioName

public void setPortfolioName(java.lang.String portfolioName)
Set the name of the Portfolio that the Transactions operated on

Parameters:
portfolioName - The name of the portfolio

getPortfolioName

public java.lang.String getPortfolioName()
Get the name of the portfolio that the TransactionModule is attached to

Returns:
The name of the portfolio

getModule

public Module getModule(javax.swing.JDesktopPane desktop)
Return a TransactionModule based on these settings

Specified by:
getModule in interface Settings
Overrides:
getModule in class AbstractSettings
Parameters:
desktop - The Venice desktop
Returns:
A TransactionModule

Venice 0.751beta