code: public void add(final WComponent component, final Serializable... constraints) {
  		add(component);
  
  		if (constraints != null && constraints.length > 0) {
  			PanelModel model = getOrCreateComponentModel();
  
  			if (model.layoutConstraints == null) {
  				model.layoutConstraints = new HashMap<>();
  			}
  
  			model.layoutConstraints.put(component, constraints);
  		}
  	}
docs: <p>
  Adds the given component as a child of this component. The constraints are made available to the
  {@link LayoutManager} if it requires them.</p>
  
  @param component the component to add.
  @param constraints the layout constraints