StocksMonitor 1.5.0

hirondelle.stocks.portfolio
Class StockEditor

Object
  extended by StockEditor

final class StockEditor
extends Object

Dialog allows user to either add new a Stock to the CurrentPortfolio, or to change the parameters of a Stock which is already in the CurrentPortfolio.


Constructor Summary
StockEditor(JFrame aFrame)
          Constructor.
 
Method Summary
(package private)  Stock addStock()
          Return the Stock representing a new item which the user has input, or null if the user cancels the dialog.
(package private)  Stock changeStock(Stock aOldStock)
          Return the possibly-edited version of aOldStock, representing the desired changes, or null if the user cancels the dialog.
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StockEditor

StockEditor(JFrame aFrame)
Constructor.

Parameters:
aFrame - parent to which dialogs of this class are attached.
Method Detail

addStock

Stock addStock()
Return the Stock representing a new item which the user has input, or null if the user cancels the dialog.


changeStock

Stock changeStock(Stock aOldStock)
Return the possibly-edited version of aOldStock, representing the desired changes, or null if the user cancels the dialog.

Parameters:
aOldStock - Stock which the end user wishes to change.

StocksMonitor 1.5.0

Copyright Hirondelle Systems - License - Generated 2008Jul12.10.53