| Advanced Features > Link Shape Policies |
Link Shape Policies |
INDEX
PREVIOUS
NEXT
|
Link shape policies allow you to manipulate and to constrain the shape of a polyline link. For instance, you can use a link shape policy if you want a link to always remain orthogonal. You can set link shape policies to links of type IlvPolicyAwareLinkImage, which is a subclass of IlvPolylineLinkImage.
The class IlvEnhancedPolylineLinkImage uses some predefined link shape policies internally. The class has a simple API that offers you all the benefits of link shape policies while hiding the details of the link shape mechanism. See Link Shape Policies of The Essential JViews Framework.
This section explains the details of the link shape mechanism, which allows you to extend or to implement your own link shape policies. The package ilog.views.graphic.linkpolicy contains two predefined link shape policies:
IlvOrthogonalLinkShapePolicy to keep the shape of a link orthogonal.
IlvCrossingLinkShapePolicy to display a tunnel or bridge crossing shape when links cross.
This section is organized as follows:
| Copyright © 1987-2007 ILOG S.A. All rights reserved. Documentation homepage. Legal terms. | PREVIOUS NEXT |