Пример #1
0
 @Override
 public void preserveValues(ExpandItem item) {
   WidgetLCAUtil.preserveBounds(item, getBounds(item));
   ItemLCAUtil.preserve(item);
   preserveProperty(item, PROP_EXPANDED, item.getExpanded());
   preserveProperty(item, PROP_HEADER_HEIGHT, item.getHeaderHeight());
 }
Пример #2
0
 @Override
 public void renderChanges(ExpandItem item) throws IOException {
   WidgetLCAUtil.renderCustomVariant(item);
   WidgetLCAUtil.renderBounds(item, getBounds(item));
   ItemLCAUtil.renderChanges(item);
   renderProperty(item, PROP_EXPANDED, item.getExpanded(), false);
   renderProperty(item, PROP_HEADER_HEIGHT, item.getHeaderHeight(), DEFAULT_HEADER_HEIGHT);
 }