/** @since 0.17 or earlier */ public final void setShapeAndResize(Shape newShape) { setShapeAndResize(getShape(), newShape); }
/** @since 0.17 or earlier */ public final void setShapeAndResize(Shape newShape) { setShapeAndResize(getShape(), newShape); }
public final void setShapeAndResize(Shape newShape) { setShapeAndResize(getShape(), newShape); }
/** @since 0.17 or earlier */ protected void reshapeAfterDelete(DynamicObjectImpl object, ShapeImpl oldShape, ShapeImpl newShape, ShapeImpl deletedParentShape) { DynamicObject original = object.cloneWithShape(oldShape); object.setShapeAndResize(newShape); object.copyProperties(original, deletedParentShape); }
/** @since 0.17 or earlier */ protected void reshapeAfterDelete(DynamicObjectImpl object, ShapeImpl oldShape, ShapeImpl newShape, ShapeImpl deletedParentShape) { DynamicObject original = object.cloneWithShape(oldShape); object.setShapeAndResize(newShape); object.copyProperties(original, deletedParentShape); }
void reshapeAfterDelete(final Shape newShape, final Shape deletedParentShape) { DynamicObject original = this.cloneWithShape(getShape()); setShapeAndResize(newShape); copyProperties(original, deletedParentShape); }
private void defineExisting(Object id, Object value, int flags, Property existing, ShapeImpl oldShape) { if (existing.getFlags() == flags) { existing.setGeneric(this, value, null); } else { Property newProperty = Property.create(id, oldShape.getLayout().existingLocationForValue(value, existing.getLocation(), oldShape), flags); Shape newShape = oldShape.replaceProperty(existing, newProperty); this.setShapeAndResize(newShape); newProperty.setInternal(this, value); } }