brokerview.java

来自「this is a trade sale system realized by 」· Java 代码 · 共 36 行

JAVA
36
字号
package trader;
public interface BrokerView {
//user gesture listener registration methods
  /* ---------------------------------------------------------------
   * adds requester to the list of objects to be notified of user 
   * gestures entered through a user interface such as a GUI.
   * User gestures for the customer segment are add, delete, update
   * get and getAll customers. There are similar user gestures for 
   * portfolio and stock segments
   */
  void addUserGestureListener(BrokerController b)
    throws BrokerException;
    
//display selection request service methods  
  /* ---------------------------------------------------------------
   * shows the display page specified by the broker controller
   */
  void showDisplay(Object display) throws BrokerException;
  
// iteration 1 Customer segment broker view methods
  /* ---------------------------------------------------------------
   * callback method to handle customer state change notification
   * from the broker model
   */
  void handleCustomerChange(Customer cust)
    throws BrokerException;


// Portfolio segment - TBD in future iteration
// Add method to handle portfolio change notification from the 
// broker model

// Stock segment - TBD in future iteration
// Add method to handle stock change notification from broker model
}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?