if (update.containsKey(PROPERTY.BORDER_WIDTH)) {
uiObject.setBorderWidth(update.getInt(PROPERTY.BORDER_WIDTH));
} else if (update.containsKey(PROPERTY.SPACING)) {
uiObject.setSpacing(update.getInt(PROPERTY.SPACING));
} else if (update.containsKey(PROPERTY.HORIZONTAL_ALIGNMENT)) {
final PHorizontalAlignment horizontalAlignment = PHorizontalAlignment.values()[update.getInt(PROPERTY.HORIZONTAL_ALIGNMENT)];
switch (horizontalAlignment) {
case ALIGN_LEFT:
uiObject.setHorizontalAlignment(HasHorizontalAlignment.ALIGN_LEFT);
break;
case ALIGN_CENTER: