public class LabelAnchor extends ChopboxAnchor
Label. The LabelAnchor
behaves like ChopboxAnchor but Connections will
point to the center of its owner's icon as opposed to the center of the
entire owning Label.AncestorListener.Stublisteners| Modifier | Constructor and Description |
|---|---|
protected |
LabelAnchor()
Constructs a LabelAnchor with no owner.
|
|
LabelAnchor(Label label)
Constructs a LabelAnchor with owner label.
|
| Modifier and Type | Method and Description |
|---|---|
protected Rectangle |
getBox()
Returns the bounds of this LabelAnchor's owning Label icon.
|
equals, getLocation, getReferencePoint, hashCodeaddAnchorListener, ancestorAdded, ancestorMoved, ancestorRemoved, getOwner, removeAnchorListener, setOwnerfireAnchorMovedprotected LabelAnchor()
public LabelAnchor(Label label)
label - This LabelAnchor's ownerprotected Rectangle getBox()
getBox in class ChopboxAnchorCopyright (c) IBM Corp. and others 2000, 2011. All Rights Reserved.