コード例 #1
0
  public UIEventHandler() {

    eventBus = new EventBus();

    eventBus.register(SimCardReader.getInstance());
    eventBus.register(SimCashDispenser.getInstance());
    eventBus.register(SimDisplay.getInstance());
    eventBus.register(SimEnvelopeAcceptor.getInstance());
    eventBus.register(SimKeyboard.getInstance());
    eventBus.register(SimOperatorPanel.getInstance());
    eventBus.register(SimReceiptPrinter.getInstance());

    eventBus.register(BillsPanel.getInstance());
    eventBus.register(CardPanel.getInstance());
    eventBus.register(LogPanel.getInstance());

    eventBus.register(GUI.getInstance());
    eventBus.register(ATMPanel.getInstance());
  }
コード例 #2
0
ファイル: ATMPanel.java プロジェクト: OnEdgePat/LOG430-Lab2
/*