code: public static ActionListener addAction(BaseComponent component, IAction action) {
          return addAction(component, action, ClickEvent.TYPE);
      }
docs: Adds/removes an action listener to/from a component using the default click trigger event.
  
  @param component Component to be associated with the action.
  @param action Action to invoke when listener event is triggered. If null, dissociates the
  event listener from the component.
  @return The newly created action listener.