public class AreaAnchorContext extends AreaContext implements IMoveAnchorContext
Constructor and Description |
---|
AreaAnchorContext(Anchor anchor)
Creates a new
AreaAnchorContext . |
Modifier and Type | Method and Description |
---|---|
Anchor |
getAnchor()
Gets the anchor.
|
AnchorContainer |
getSourceContainer()
Gets the source container.
|
AnchorContainer |
getTargetContainer()
Gets the target container.
|
void |
setSourceContainer(AnchorContainer sourceContainer)
Sets the source container.
|
void |
setTargetContainer(AnchorContainer targetContainer)
Sets the target container.
|
java.lang.String |
toString() |
getHeight, getWidth, setHeight, setSize, setWidth
getX, getY, setLocation, setX, setY
getProperty, getPropertyKeys, putProperty
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
getX, getY
getProperty, getPropertyKeys, putProperty
public AreaAnchorContext(Anchor anchor)
AreaAnchorContext
.anchor
- the anchorpublic 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.public java.lang.String toString()
toString
in class AreaContext