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.Stub
listeners
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, hashCode
addAnchorListener, ancestorAdded, ancestorMoved, ancestorRemoved, getOwner, removeAnchorListener, setOwner
fireAnchorMoved
protected LabelAnchor()
public LabelAnchor(Label label)
label
- This LabelAnchor's ownerprotected Rectangle getBox()
getBox
in class ChopboxAnchor
Copyright (c) IBM Corp. and others 2000, 2011. All Rights Reserved.