Shape.Builder
instead.@Deprecated(since="21.1") public abstract class Layout extends Object
DynamicObject
subclass and is used to create shapes.
An object may change its shape but only to shapes of the same layout.
NB: Instances of this class should be created only in static initializers.Modifier and Type | Class and Description |
---|---|
protected static class |
Layout.Access
Deprecated.
Internal package access helper.
|
Modifier and Type | Field and Description |
---|---|
static String |
OPTION_PREFIX
Deprecated.
|
Modifier | Constructor and Description |
---|---|
protected |
Layout()
Deprecated.
Constructor for subclasses.
|
Modifier and Type | Method and Description |
---|---|
protected Shape |
buildShape(Object dynamicType,
Object sharedData,
int flags,
Assumption singleContextAssumption)
Deprecated.
Create a root shape.
|
protected static LayoutFactory |
getFactory()
Deprecated.
|
abstract Class<? extends DynamicObject> |
getType()
Deprecated.
|
public static final String OPTION_PREFIX
protected Layout()
public abstract Class<? extends DynamicObject> getType()
protected Shape buildShape(Object dynamicType, Object sharedData, int flags, Assumption singleContextAssumption)
protected static LayoutFactory getFactory()