void function ( ) { returnTo = BUYING ; homeController . tabPane . getSelectionModel ( ) . select ( homeController . acctTab ) ; cashAccountController . selectAcctBttn . setVisible ( true ) ; cashAccountController . removeButton . setVisible ( false ) ; }
this event handler will switch to the appropriate tab when a button is clicked in the buy/sell tab . concode_field_sep Text lowerText concode_elem_sep ToggleGroup buySellToggle concode_elem_sep RadioButton buyRadio concode_elem_sep CashAccount depositing concode_elem_sep Label buyText concode_elem_sep CashAccountController cashAccountController concode_elem_sep HomeController homeController concode_elem_sep UserEquityController userEquityController concode_elem_sep Button buyChooseAcctButton concode_elem_sep UndoRedoCaretaker careTaker concode_elem_sep int SELLING concode_elem_sep Button sellChooseEqButton concode_elem_sep TextField sellNumShares concode_elem_sep EquityInfo adding concode_elem_sep TextField buyLossField concode_elem_sep WatchlistController watchlistController concode_elem_sep Text upperText concode_elem_sep ObservableList<Transaction> transactionData concode_elem_sep int ADD concode_elem_sep TextField buyNumShares concode_elem_sep EquitySearchController equitySearchController concode_elem_sep int BUYING concode_elem_sep Button buyChooseEqButton concode_elem_sep CashAccount withdrawing concode_elem_sep TextField buyGainField concode_elem_sep TextField sellGainField concode_elem_sep Button buyButton concode_elem_sep Button sellChooseAcctButton concode_elem_sep Portfolio currentPortfolio concode_elem_sep Button SellButton concode_elem_sep TextField sellLossField concode_elem_sep int returnTo concode_elem_sep EquityInfo buying concode_elem_sep Equity selling concode_elem_sep RadioButton sellRadio concode_elem_sep Label sellText concode_field_sep void initBuySell concode_elem_sep void changeTabChooseAcctSell concode_elem_sep String getDateString concode_elem_sep void setWatchlistController concode_elem_sep void setCashAccountController concode_elem_sep void changeTabChooseEquitySell concode_elem_sep void setEquityControllers concode_elem_sep void updateTransactions concode_elem_sep void buyEquity concode_elem_sep void buyOrSell concode_elem_sep void setHomeController concode_elem_sep void sellEquity concode_elem_sep void initTransactionTable concode_elem_sep void changeTabChooseEquityBuy