public abstract class LayoutStrategy extends Object
| Modifier | Constructor and Description |
|---|---|
protected |
LayoutStrategy() |
| Modifier and Type | Method and Description |
|---|---|
protected ShapeImpl |
addPrimitiveExtensionArray(ShapeImpl shape) |
protected ShapeImpl |
addProperty(ShapeImpl shape,
Property property) |
protected ShapeImpl |
addProperty(ShapeImpl shape,
Property property,
boolean ensureValid) |
protected ShapeImpl |
applyTransition(ShapeImpl shape,
Transition transition,
boolean append) |
abstract ShapeImpl.BaseAllocator |
createAllocator(LayoutImpl shape) |
abstract ShapeImpl.BaseAllocator |
createAllocator(ShapeImpl shape) |
protected ShapeImpl |
defineProperty(ShapeImpl shape,
Object key,
Object value,
int flags,
LocationFactory locationFactory) |
protected ShapeImpl |
defineProperty(ShapeImpl oldShape,
Object key,
Object value,
int flags,
LocationFactory locationFactory,
Property existing) |
protected ShapeImpl |
definePropertyChangeFlags(ShapeImpl oldShape,
Property oldProperty,
Object value,
int flags) |
protected ShapeImpl |
definePropertyGeneralize(ShapeImpl oldShape,
Property oldProperty,
Object value,
LocationFactory locationFactory) |
protected ShapeImpl |
directReplaceProperty(ShapeImpl shape,
Property oldProperty,
Property newProperty) |
protected abstract ShapeImpl |
ensureSpace(ShapeImpl shape,
Location location) |
protected abstract ShapeImpl |
ensureValid(ShapeImpl newShape) |
protected ShapeImpl |
generalizeProperty(Property oldProperty,
Object value,
ShapeImpl currentShape,
ShapeImpl nextShape) |
protected LocationFactory |
getDefaultLocationFactory() |
protected static ShapeImpl |
getShapeFromProperty(ShapeImpl shape,
Object propertyName)
Get the (parent) shape that holds the given property.
|
protected static ShapeImpl |
getShapeFromProperty(ShapeImpl shape,
Property prop)
Get the (parent) shape that holds the given property.
|
protected void |
objectDefineProperty(DynamicObjectImpl object,
Object key,
Object value,
int flags,
LocationFactory locationFactory,
ShapeImpl currentShape) |
protected void |
objectRemoveProperty(DynamicObjectImpl object,
Property property,
ShapeImpl currentShape) |
protected void |
propertySetFallback(Property property,
DynamicObject store,
Object value,
ShapeImpl currentShape) |
protected void |
propertySetWithShapeFallback(Property property,
DynamicObject store,
Object value,
ShapeImpl currentShape,
ShapeImpl nextShape) |
protected ShapeImpl |
removeProperty(ShapeImpl shape,
Property property) |
protected ShapeImpl |
replaceProperty(ShapeImpl shape,
Property oldProperty,
Property newProperty) |
protected void |
reshapeAfterDelete(DynamicObjectImpl object,
ShapeImpl oldShape,
ShapeImpl newShape,
ShapeImpl deletedParentShape) |
protected abstract boolean |
updateShape(DynamicObject object) |
protected LocationFactory getDefaultLocationFactory()
protected abstract boolean updateShape(DynamicObject object)
protected abstract ShapeImpl ensureSpace(ShapeImpl shape, Location location)
public abstract ShapeImpl.BaseAllocator createAllocator(LayoutImpl shape)
public abstract ShapeImpl.BaseAllocator createAllocator(ShapeImpl shape)
protected ShapeImpl defineProperty(ShapeImpl shape, Object key, Object value, int flags, LocationFactory locationFactory)
protected ShapeImpl defineProperty(ShapeImpl oldShape, Object key, Object value, int flags, LocationFactory locationFactory, Property existing)
protected ShapeImpl definePropertyGeneralize(ShapeImpl oldShape, Property oldProperty, Object value, LocationFactory locationFactory)
protected ShapeImpl definePropertyChangeFlags(ShapeImpl oldShape, Property oldProperty, Object value, int flags)
protected ShapeImpl generalizeProperty(Property oldProperty, Object value, ShapeImpl currentShape, ShapeImpl nextShape)
protected void propertySetFallback(Property property, DynamicObject store, Object value, ShapeImpl currentShape)
protected void propertySetWithShapeFallback(Property property, DynamicObject store, Object value, ShapeImpl currentShape, ShapeImpl nextShape)
protected void objectDefineProperty(DynamicObjectImpl object, Object key, Object value, int flags, LocationFactory locationFactory, ShapeImpl currentShape)
protected void objectRemoveProperty(DynamicObjectImpl object, Property property, ShapeImpl currentShape)
protected void reshapeAfterDelete(DynamicObjectImpl object, ShapeImpl oldShape, ShapeImpl newShape, ShapeImpl deletedParentShape)
protected ShapeImpl replaceProperty(ShapeImpl shape, Property oldProperty, Property newProperty)
protected ShapeImpl removeProperty(ShapeImpl shape, Property property)
protected ShapeImpl directReplaceProperty(ShapeImpl shape, Property oldProperty, Property newProperty)
protected ShapeImpl addProperty(ShapeImpl shape, Property property)
protected ShapeImpl addProperty(ShapeImpl shape, Property property, boolean ensureValid)
protected ShapeImpl applyTransition(ShapeImpl shape, Transition transition, boolean append)
protected ShapeImpl addPrimitiveExtensionArray(ShapeImpl shape)
protected static ShapeImpl getShapeFromProperty(ShapeImpl shape, Object propertyName)