code: public static void associateCommand(String commandName, BaseUIComponent component, BaseUIComponent commandTarget) {
          getCommand(commandName, true).bind(component, commandTarget);
      }
docs: Associates a UI component with a command.
  
  @param commandName Name of the command.
  @param component Component to be associated.
  @param commandTarget The target of the command event. A null value indicates that the
  component itself will be the target.