code: public void setName(String value) {
          layoutName = value;
          
          if (root != null) {
              root.getAttributes().put("name", value);
          }
      }
docs: Sets the name of the current layout.
  
  @param value New name for the layout.