|
||||||||||
| PREV CLASS Documentation homepage NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectilog.views.IlvLinkConnector
ilog.views.linkconnector.IlvFreeLinkConnector
ilog.views.linkconnector.IlvClippingLinkConnector
ilog.views.graphlayout.IlvClipLinkConnector
IlvClippingLinkConnector instead, which has the same functionality.
public class IlvClipLinkConnector
A link connector that clips the link at the border of a node.
| Constructor Summary | |
|---|---|
IlvClipLinkConnector()
Deprecated. Creates an empty IlvClipLinkConnector. |
|
IlvClipLinkConnector(IlvGraphic node)
Deprecated. Creates an IlvClipLinkConnector attached to the node
node. |
|
IlvClipLinkConnector(IlvInputStream stream)
Deprecated. Reads the object from an IlvInputStream. |
|
IlvClipLinkConnector(IlvLinkImage link,
boolean origin)
Deprecated. Creates an IlvClipLinkConnector attached to the
origin or destination of the link link. |
|
| Method Summary | |
|---|---|
IlvPoint |
getClippedPoint(IlvGraphic node,
IlvTransformer t,
Object link,
IlvPoint attachPoint,
IlvPoint controlPoint,
boolean origin)
Deprecated. Returns the clipped connection point of a link that starts at the proposed connection point inside the node and goes through the auxiliary control point. |
| Methods inherited from class ilog.views.linkconnector.IlvClippingLinkConnector |
|---|
detach, detach, disconnectAllLinks, disconnectLink, getConnectionPoint, getUnclippedConnectionPoint, linkChanged, LinkChanged, linkRemoved, zoomable |
| Methods inherited from class ilog.views.linkconnector.IlvFreeLinkConnector |
|---|
allLinksRemoved, allowsConnectionPointMove, connectionPointMoveAllowed, connectLink, getClosestConnectionPoint, getGhostBoundingBox, getNodeBoundingBox, isConnectionPointMoveAllowed, isPersistent, read, setConnectionPointMoveAllowed, write, write |
| Methods inherited from class ilog.views.IlvLinkConnector |
|---|
attach, attach, drawGhost, Get, Get, GetAttached, GetAttached, getNode, supportsDrawGhost |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public IlvClipLinkConnector()
IlvClipLinkConnector. It can be
attached either to a node (using
IlvLinkConnector.attach(ilog.views.IlvGraphic,boolean)) or to an extremity
of a link (using
IlvLinkConnector.attach(ilog.views.IlvLinkImage,boolean,boolean)).
public IlvClipLinkConnector(IlvGraphic node)
IlvClipLinkConnector attached to the node
node.
IlvLinkConnector.attach(ilog.views.IlvGraphic,boolean),
IlvClippingLinkConnector.detach(boolean)
public IlvClipLinkConnector(IlvLinkImage link,
boolean origin)
IlvClipLinkConnector attached to the
origin or destination of the link link.
If the argument origin is true,
this creates a link connector for the origin of link.
If the argument origin is false,
this creates a link connector for the destination of link.
IlvLinkConnector.attach(ilog.views.IlvLinkImage, boolean, boolean),
IlvClippingLinkConnector.detach(IlvLinkImage, boolean, boolean)
public IlvClipLinkConnector(IlvInputStream stream)
throws IlvReadFileException
IlvInputStream.
Note that any subclass (except one that overrides the method
IlvFreeLinkConnector.isPersistent() to return false) must provide a
constructor with an IlvInputStream argument.
The first line of the constructor must be super(stream).
stream - The input stream.
IlvReadFileException - if the format is not correct.IlvFreeLinkConnector.write(ilog.views.io.IlvOutputStream),
IlvFreeLinkConnector.isPersistent(),
IlvLinkConnector.attach(IlvGraphic, boolean),
IlvClippingLinkConnector.detach(boolean)| Method Detail |
|---|
public IlvPoint getClippedPoint(IlvGraphic node,
IlvTransformer t,
Object link,
IlvPoint attachPoint,
IlvPoint controlPoint,
boolean origin)
getClippedPoint in class IlvClippingLinkConnectornode - The source or target node of the link.t - The transformer that is used to draw the node.link - The link to be clipped.attachPoint - The point to which the unclipped link is attached.controlPoint - The auxiliary control point. For the purpose of
clipping, the link can be considered as a ray that starts at
the attach point and goes through the control point.origin - true if the node is the source of the link,
false if it is the target of the link.
|
||||||||||
| PREV CLASS Documentation homepage NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||