code: @Override
      public void setName(final String name) {
          this.name = name;
  
          if (name == null) {
              return;
          }
  
          for (final Widget w : getChildren()) {
              if (w instanceof HasName) {
                  ((HasName) w).setName(name);
              }
          }
      }
docs: Convenience method that will set the name of all child widgets that can have a name
  
  @param name Name of group
  @see #add(com.google.gwt.user.client.ui.Widget)