|
||||||||||
| PREV CLASS Documentation homepage NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectilog.views.graphic.composite.layout.IlvAttachmentLocation
ilog.views.graphic.composite.layout.IlvLinkAttachmentLocation
public abstract class IlvLinkAttachmentLocation
This class contains the code to manipulate the (x,y) value of a given
attachment point (for example, upper-right corner) of an IlvAttachable
IlvAttachable| Field Summary | |
|---|---|
static IlvAttachmentLocation |
FromLink
This is the point on the first segement of the link, at a distance of 17 from the origin. |
static IlvAttachmentLocation |
MiddleLink
This 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 |
NearFromLink
This location is used together with FromLink to attach an IlvGraphic to the origin of a link. |
static IlvLinkAttachmentLocation |
NearToLink
This location is used together with ToLink to attach an IlvGraphic to the destination of a link. |
static IlvAttachmentLocation |
ToLink
This is the point on the last segement of the link, at a distance of 17 from the origin. |
| Fields inherited from class ilog.views.graphic.composite.layout.IlvAttachmentLocation |
|---|
BottomCenter, BottomLeft, BottomRight, Center, CenterPostOrderFirst, HotSpot, LeftCenter, LeftHotSpot, RightCenter, TopCenter, TopLeft, TopRight |
| Constructor Summary | |
|---|---|
protected |
IlvLinkAttachmentLocation(String description)
Creates a new link attachment location with the given name. |
| Method Summary | |
|---|---|
boolean |
setValue(IlvAttachable graphic,
IlvPoint value)
Sets the value of the location. |
| Methods inherited from class ilog.views.graphic.composite.layout.IlvAttachmentLocation |
|---|
getName, getValue, setName |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface ilog.views.io.IlvPersistentObject |
|---|
write |
| Field Detail |
|---|
public 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
| Constructor Detail |
|---|
protected IlvLinkAttachmentLocation(String description)
| Method Detail |
|---|
public boolean setValue(IlvAttachable graphic,
IlvPoint value)
Error exception.
setValue in class IlvAttachmentLocationtrue if the element's position has changed.
|
||||||||||
| PREV CLASS Documentation homepage NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||