src/main/java/com/spinyowl/legui/listener/processor/EventProcessorImpl.java
@Override
  public void processEvents() {
    swap();

    for (Event event = second.poll(); event != null; event = second.poll()) {
      Component targetComponent = event.getTargetComponent();
      if (targetComponent == null) {
        return;
      }
      List<? extends EventListener> listeners = targetComponent.getListenerMap()
          .getListeners(event.getClass());
      for (EventListener listener : listeners) {
        listener.process(event);
      }
    }
  }
/**
   * Should be called to process events.
   */
Should be called to process events.
Should be called to process events .
@Override
  public void processEvents() {
    swap();
    for (Event event = second.poll(); event != null; event = second.poll()) {
      Component targetComponent = event.getTargetComponent();
      if (targetComponent == null) {
        return;
      }
      List<? extends EventListener> listeners = targetComponent.getListenerMap()
          .getListeners(event.getClass());
      for (EventListener listener : listeners) {
        listener.process(event);
      }
    }
  }
@ Override public void processEvents ( ) { swap ( ) ; for ( Event event = second . poll ( ) ; event != null ; event = second . poll ( ) ) { Component targetComponent = event . getTargetComponent ( ) ; if ( targetComponent == null ) { return ; } List < ? extends EventListener > listeners = targetComponent . getListenerMap ( ) . getListeners ( event . getClass ( ) ) ; for ( EventListener listener : listeners ) { listener . process ( event ) ; } } }
Should be called to process events.
Should be called to process events .