public abstract class InsertLocation extends Object
CreateObjectFragment
,
MoveObjectFragment
Constructor and Description |
---|
InsertLocation() |
Modifier and Type | Method and Description |
---|---|
static InsertLocation |
after(ObjectRef siblingObject)
Returns the location that is just after the specified object.
|
static InsertLocation |
before(ObjectRef siblingObject)
Returns the location that is just before the specified object.
|
static InsertLocation |
below(ObjectRef parentObject)
Returns the first location below the specified parent object.
|
static InsertLocation |
lastBelow(ObjectRef parentObject)
Returns the last location below the specified parent object.
|
static InsertLocation |
lastTop()
Returns the location that is the last root position in the module.
|
static InsertLocation |
top()
Returns the location that is the beginning of the module.
|
public static InsertLocation top()
public static InsertLocation lastTop()
public static InsertLocation before(ObjectRef siblingObject)
siblingObject
- the reference objectpublic static InsertLocation after(ObjectRef siblingObject)
siblingObject
- the reference objectpublic static InsertLocation below(ObjectRef parentObject)
parentObject
- the reference objectpublic static InsertLocation lastBelow(ObjectRef parentObject)
parentObject
- the reference object