From: Erik V. <eri...@hc...> - 2007-06-17 22:15:43
|
I have committed the following changes: - The StockRounds now also use PossibleAction objects as an interface between UI and back-end. New PossibleAction subclasses are BuyCertificate and SellShares. These allow selling or (if in the brown zone) buying multiple shares by one action (this also was an outstanding feature request). - The StockRound UI has changed somewhat. The choice of the number of shares to sell/buy can be indicated in a selection popup. If there is no choice, this popup is replaced by a confirmation popup. The Sell and Buy buttons, now being redundant, have been removed. - Buttons now use ActionButton, a new subclass of JButton. ActionButton allows attaching a PossibleAction object, that will be sent to the back-end (representing the action to be executed). This is similar to what we already had in ClickField (a subclass of JToggleButton). - The now much more loose coupling between front- and back-end should allow for easier changes to the UI or new versions of the UI. Erik Vos eri...@hc... fax: 084 716 7187 |