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());
  }
Beispiel #2
0
/*