Stock Browser is a viewer for stock share histories that are displayed in sharp 2-D graphics. It allows users to browse an entire year's stock market information. For example, a user could examine the daily price swings of a particular stock during a specific week of trading.
Stock Browser uses CommonPoint frameworks and class libraries including:
The next section introduces you to the program's high-level architecture.
What can users do? | Commands, keys, and controls | |
Create a Stock Picker or Stock Viewer document from stationery, and run it. |
StandardStockPickerApp or EmptyStockPickerApp StockViewerApp |
|
Run an existing document. |
RunDocument <StorageFilename> |
|
Select a stock by clicking on it with a pointer. | In the Stock Picker, position arrow pointer over a stock name and click once to select. | |
Drag a stock to a viewer. |
After selecting a stock name, drag it to the Stock Viewer and release mouse button to see a graphical display of the stock data. | |
View stock information in multiple formats. |
Stock data can be viewed in a daily, weekly, or monthly format to show price or volume information. Use the View menu. | |
End the program, storing the state of the current document. |
Close box |
Where's the code? | .h files | .C files | Other files |
You'll find the source files online under $TaligentRoot/ TaligentSamples/ Supported/Apps/ StockBrowser . (This directory includes the files for the Stock Server program.)
Class and member function descriptions are there too, in the Docs subdirectory. Be sure to read the description (.d) files using the SNiFF+ browser.
|
AxisDrawer.h BarDrawer.h GraphDrawer.h GraphRange.h LabelDrawer.h LocalStockData.h MarkDrawer.h PickerModel.h PickerPresenter.h PickerView.h RemoteStockData.h SetGraphConstructorCommand.h StandardGraph.h StockCaller.h StockData.h StockDatabase.h StockDay.h StockGraphConstructor.h StockServer.h StockTypes.h TitleDrawer.h ViewerConstructors.h ViewerDrawers.h ViewerPresenter.h ViewerPresenterState.h ViewerStationery.h ViewerViews.h |
AxisDrawer.C BarDrawer.C CommonInstantiations.C GraphDrawer.C GraphingFWInstantiations.C GraphRange.C LabelDrawer.C LocalStockData.C MarkDrawer.C PickerModel.C PickerPresenter.C PickerStationery.C PickerView.C RemoteStockData.C SetGraphConstructorCommand.C SetupMain.C StandardGraph.C StockCaller.C StockData.C StockDatabase.C StockDay.C StockGraphConstructor.C StockPickerLibInstantiations.C StockServer.C StockServerLibInstantiations.C StockServerMain.C StockTypes.C StockViewerLibInstantiations.C TitleDrawer.C ViewerConstructors.C ViewerDrawers.C ViewerPresenter.C ViewerPresenterState.C ViewerStationery.C ViewerViews.C |
Common.PinkMake GraphingFW.PinkMake Picker.PinkMake StockBrowser.PinkMake StockServer.PinkMake Viewer.PinkMake StockBrowserCommon.arc Company_A Company_B Company_C Company_D |