public abstract class IlvLinkAttachmentLocation extends IlvAttachmentLocation
IlvAttachable
IlvAttachable| Modifier and Type | Field and Description | 
|---|---|
| static IlvAttachmentLocation | FromLinkThis is the point on the first segment of the link, at a distance of 17
 from the origin. | 
| static IlvAttachmentLocation | MiddleLinkThis is the "midpoint" of the polyline, that is, the midpoint of
 the segment which is closest to the midpoint of the segment
 lengths. | 
| static IlvLinkAttachmentLocation | NearFromLinkThis location is used together with  FromLinkto attach anIlvGraphicto the origin of a link. | 
| static IlvLinkAttachmentLocation | NearToLinkThis location is used together with  ToLinkto attach anIlvGraphicto the destination of a link. | 
| static IlvAttachmentLocation | ToLinkThis is the point on the last segment of the link, at a distance of 17
 from the destination. | 
BottomCenter, BottomLeft, BottomRight, Center, CenterPostOrderFirst, HotSpot, LeftCenter, LeftHotSpot, RightCenter, TopCenter, TopLeft, TopRight| Modifier | Constructor and Description | 
|---|---|
| protected  | IlvLinkAttachmentLocation(String description)Creates a new link attachment location with the given name. | 
| Modifier and Type | Method and Description | 
|---|---|
| static IlvAttachmentLocation | atFromLink(float distance)This is the point on the first segment of the link, at a given
 distance from the origin. | 
| static IlvAttachmentLocation | atToLink(float distance)This is the point on the last segment of the link, at a given
 distance from the destination. | 
| boolean | setValue(IlvAttachable graphic,
        IlvPoint value)Sets the value of the location. | 
getName, getValue, setNameclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitwritepublic static IlvLinkAttachmentLocation NearFromLink
FromLink to attach an IlvGraphic to the origin of a link.
 Its value, depending on the shape of the link, can be: public static IlvLinkAttachmentLocation NearToLink
ToLink to attach an IlvGraphic to the destination of a link.
 Its value, depending on the shape of the link, can be: public static IlvAttachmentLocation FromLink
public static IlvAttachmentLocation ToLink
public static IlvAttachmentLocation MiddleLink
protected IlvLinkAttachmentLocation(String description)
public boolean setValue(IlvAttachable graphic, IlvPoint value)
Error exception.setValue in class IlvAttachmentLocationtrue if the element's position has changed.public static IlvAttachmentLocation atFromLink(float distance)
distance - The distance on the first segment.public static IlvAttachmentLocation atToLink(float distance)
distance - The distance on the last segment.© Copyright Rogue Wave Software, Inc. 1997, 2018. All Rights Reserved.