📄 brokerview.java
字号:
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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -