code: public static ActionListener getListener(BaseComponent component, String eventName) {
          return (ActionListener) component.getAttribute(ActionListener.getAttrName(eventName));
      }
docs: Returns the listener associated with the given component and event.
  
  @param component The component.
  @param eventName The event name.
  @return A DeferredEventListener, or null if not found.