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, setWidthgetX, getY, setLocation, setX, setYgetProperty, getPropertyKeys, putPropertyequals, getClass, hashCode, notify, notifyAll, wait, wait, waitgetX, getYgetProperty, getPropertyKeys, putPropertypublic AreaAnchorContext(Anchor anchor)
AreaAnchorContext.anchor - the anchorpublic Anchor getAnchor()
getAnchor in interface IMoveAnchorContextpublic AnchorContainer getSourceContainer()
IMoveAnchorContextgetSourceContainer in interface IMoveAnchorContextpublic AnchorContainer getTargetContainer()
IMoveAnchorContextgetTargetContainer in interface IMoveAnchorContextpublic 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