?? brokercontroller.java
字號:
package trader;
public interface BrokerController {
//user gesture call back methods
/* ---------------------------------------------------------------
* get customer user gesture handle method called by the broker
* view in response to the get customer button click on the GUI or
* equivalent user interface.
* action - set customer display on the gui through the
* showDisplay method of the broker view
*/
//modified by ourteam 051228
//begin
void handleGetCustomerGesture(String id,String name,String addr);
//end
/* ---------------------------------------------------------------
* add new customer user gesture handle method called by the
* broker view in response to the add customer button click on the
* GUI or equivalent user interface.
* action - add the (new) customer customer to the model
*/
void handleAddCustomerGesture(Customer c);
/* ---------------------------------------------------------------
* delete customer user gesture handle method called by
* the broker view in response to the delete customer
* button click on the GUI or equivalent user interface
* action - delete the customer from the model
*/
void handleDeleteCustomerGesture(Customer c);
/* ---------------------------------------------------------------
* update customer user gesture callback method called by
* the broker view in response to the update customer
* button click on the GUI or equivalent user interface
* action - update the customer in the model
*/
void handleUpdateCustomerGesture(Customer c);
/* ---------------------------------------------------------------
* get all customers user gesture callback method called
* the broker view in response to the get all customers
* button click on the GUI or equivalent user interface
* action - set all customers display on the gui through the
* showDisplay method of the broker view
*/
void handleGetAllCustomersGesture();
// Portfolio segment - TBD in future iteration
// Add method to handle portfolio related user gesture
// notifications from the broker view
// Stock segment - TBD in future iteration
// Add method to handle stock related user gesture
// notifications from the broker view
void handleGetStockGesture(String symbol,String price);
void handleGetAllStocksGesture();
void handleGetPortfolioGesture(String id,String name,Share[] shares);
void handleAddPortfolioGesture(Portfolio p);
void handleDeletePortfolioGesture(Portfolio p);
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -