public GridField getWidthMatrixPartner() {
return layout.getWidthMatrixPartner();
}
public GridField cloneComponent(CompoundField newParent) {
TextData caption = this.getCaption();
int frameWeight = FrameWeight.get(this);
String name = getName() + "_clone";
GridField clone = CompoundFieldFactory.newGridField(name,
frameWeight,
(caption == null) ? "" : caption.toString(),
(Color)null);
BeanUtils.copyProperties(this, clone, new String[]{"parent"});
// Set the parent prior to setting the array part information so the
// binding can map across properly