|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectDefaultContext
org.eclipse.graphiti.features.context.impl.LocationContext
org.eclipse.graphiti.features.context.impl.AreaContext
org.eclipse.graphiti.features.context.impl.AreaAnchorContext
public class AreaAnchorContext
The Class AreaAnchorContext.
Field Summary | |
---|---|
private Anchor |
anchor
|
private AnchorContainer |
sourceContainer
|
private AnchorContainer |
targetContainer
|
Constructor Summary | |
---|---|
AreaAnchorContext(Anchor anchor)
Creates a new AreaAnchorContext . |
Method Summary | |
---|---|
Anchor |
getAnchor()
Gets the anchor. |
AnchorContainer |
getSourceContainer()
Gets the source container. |
AnchorContainer |
getTargetContainer()
Gets the target container. |
private void |
setAnchor(Anchor anchor)
|
void |
setSourceContainer(AnchorContainer sourceContainer)
Sets the source container. |
void |
setTargetContainer(AnchorContainer targetContainer)
Sets the target container. |
String |
toString()
|
Methods inherited from class org.eclipse.graphiti.features.context.impl.AreaContext |
---|
getHeight, getWidth, setHeight, setSize, setWidth |
Methods inherited from class org.eclipse.graphiti.features.context.impl.LocationContext |
---|
getX, getY, setLocation, setX, setY |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.eclipse.graphiti.features.context.ILocationContext |
---|
getX, getY |
Methods inherited from interface org.eclipse.graphiti.IPropertyBag |
---|
getProperty, putProperty |
Field Detail |
---|
private Anchor anchor
private AnchorContainer sourceContainer
private AnchorContainer targetContainer
Constructor Detail |
---|
public AreaAnchorContext(Anchor anchor)
AreaAnchorContext
.
anchor
- the anchorMethod Detail |
---|
public Anchor getAnchor()
getAnchor
in interface IMoveAnchorContext
public AnchorContainer getSourceContainer()
IMoveAnchorContext
getSourceContainer
in interface IMoveAnchorContext
public AnchorContainer getTargetContainer()
IMoveAnchorContext
getTargetContainer
in interface IMoveAnchorContext
public void setSourceContainer(AnchorContainer sourceContainer)
sourceContainer
- The sourceContainer to set.public void setTargetContainer(AnchorContainer targetContainer)
targetContainer
- The targetContainer to set.private void setAnchor(Anchor anchor)
anchor
- The anchor to set.public String toString()
toString
in class AreaContext
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |