Class AreaAnchorContext
java.lang.Object
org.eclipse.graphiti.PropertyBag
org.eclipse.graphiti.internal.features.context.impl.base.DefaultContext
org.eclipse.graphiti.features.context.impl.LocationContext
org.eclipse.graphiti.features.context.impl.AreaContext
org.eclipse.graphiti.features.context.impl.AreaAnchorContext
- All Implemented Interfaces:
IAreaContext,IContext,ILocationContext,IMoveAnchorContext,IMoveContext,IPropertyBag
The Class AreaAnchorContext.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the anchor.Gets the source container.Gets the target container.voidsetSourceContainer(AnchorContainer sourceContainer) Sets the source container.voidsetTargetContainer(AnchorContainer targetContainer) Sets the target container.toString()Methods inherited from class org.eclipse.graphiti.features.context.impl.AreaContext
getHeight, getWidth, setHeight, setSize, setWidthMethods inherited from class org.eclipse.graphiti.features.context.impl.LocationContext
getX, getY, setLocation, setX, setYMethods inherited from class org.eclipse.graphiti.PropertyBag
getProperty, getPropertyKeys, putPropertyMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.eclipse.graphiti.features.context.ILocationContext
getX, getYMethods inherited from interface org.eclipse.graphiti.IPropertyBag
getProperty, getPropertyKeys, putProperty
-
Constructor Details
-
AreaAnchorContext
Creates a newAreaAnchorContext.- Parameters:
anchor- the anchor
-
-
Method Details
-
getAnchor
Gets the anchor.- Specified by:
getAnchorin interfaceIMoveAnchorContext- Returns:
- Returns the anchor.
-
getSourceContainer
Description copied from interface:IMoveAnchorContextGets the source container.- Specified by:
getSourceContainerin interfaceIMoveAnchorContext- Returns:
- the source container
-
getTargetContainer
Description copied from interface:IMoveAnchorContextGets the target container.- Specified by:
getTargetContainerin interfaceIMoveAnchorContext- Returns:
- the target container
-
setSourceContainer
Sets the source container.- Parameters:
sourceContainer- The sourceContainer to set.
-
setTargetContainer
Sets the target container.- Parameters:
targetContainer- The targetContainer to set.
-
toString
- Overrides:
toStringin classAreaContext
-