Exemplo n.º 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());
  }
Exemplo n.º 2
0
/*