public void populate(FormItemRepresentation rep) throws FormBuilderException {
if (!(rep instanceof SummaryRepresentation)) {
throw new FormBuilderException(i18n.RepNotOfType(rep.getClass().getName(), "SummaryRepresentation"));
}
super.populate(rep);
SummaryRepresentation srep = (SummaryRepresentation) rep;
this.cssClassName = srep.getCssClassName();
this.dir = srep.getDir();
if (srep.getWidth() != null && !"".equals(srep.getWidth())) {
setWidth(srep.getWidth());
}
if (srep.getHeight() != null && !"".equals(srep.getHeight())) {
setHeight(srep.getHeight());
}
this.utils.saveI18nMap(srep.getI18n());
this.id = srep.getId();
this.scrollLeft = srep.getScrollLeft();
this.scrollTop = srep.getScrollTop();
populate(this.listWidget);
}