}
@Override
public void updateFromUIDL(UIDL uidl, ApplicationConnection client) {
VGridLayout layout = getWidget();
if (!isRealUpdate(uidl)) {
return;
}
initSize();
for (Entry<Connector, ChildComponentData> entry : getState().childData
.entrySet()) {
ComponentConnector child = (ComponentConnector) entry.getKey();
Cell cell = getCell(child);
ChildComponentData childComponentData = entry.getValue();
cell.updateCell(childComponentData);
}
layout.colExpandRatioArray = uidl.getIntArrayAttribute("colExpand");
layout.rowExpandRatioArray = uidl.getIntArrayAttribute("rowExpand");
layout.updateMarginStyleNames(new MarginInfo(getState().marginsBitmask));
layout.updateSpacingStyleName(getState().spacing);
getLayoutManager().setNeedsLayout(this);
}