public class IlvHyperEdgeFixedConnector extends IlvHyperEdgeConnectorWithCache
IlvHyperEdgeConnector.connect(ilog.views.hypergraph.IlvHyperEdgeEnd, ilog.views.IlvPoint, ilog.views.IlvTransformer).
However, the connection points are interactively not movable.
This connector can be attached to a node or to a hyperedge
(see IlvHyperEdgeConnector.attach(ilog.views.IlvGraphic, boolean)).
This connector does not display any visible part, therefore it does
not act like a graphic object and should never be added to a grapher.
It is purely a computation mechanism.
IlvHyperEdge,
IlvHyperEdgePinConnector,
Serialized FormIlvHyperEdgeConnector.HyperEdgeConnectorPropertyIN_BACK, IN_FIXED_LAYER, IN_FRONT, IN_NODE_LAYER| Constructor and Description |
|---|
IlvHyperEdgeFixedConnector()
Creates an empty
IlvHyperEdgeFixedConnector. |
IlvHyperEdgeFixedConnector(IlvGraphic obj)
Creates an
IlvHyperEdgeFixedConnector attached to the input
object, which can be a node or a hyperedge. |
IlvHyperEdgeFixedConnector(IlvHyperEdgeFixedConnector source)
Creates an
IlvHyperEdgeFixedConnector by copying
an existing one. |
IlvHyperEdgeFixedConnector(IlvInputStream stream)
Reads the object from an
IlvInputStream. |
| Modifier and Type | Method and Description |
|---|---|
protected IlvPoint |
calcConnectionPoint(IlvHyperEdgeEnd end,
IlvTransformer t)
Calculate the connection point of the hyperedge end at the corresponding
node.
|
boolean |
connectionsZoomable()
Returns
true if the connection points of the hyperedge
at zoomable nodes are zoomable. |
IlvGraphic |
copy()
Copies the object.
|
IlvPoint |
getClosestConnectionPoint(IlvHyperEdgeEnd end,
IlvPoint p,
IlvTransformer t)
Returns the closest possible connection point of the hyperedge end
at the corresponding node.
|
boolean |
isGraphic()
Returns whether the connector displays a visible part.
|
actOnOwnerInserted, actOnOwnerRemoved, adjust, adjustAll, detachImpl, disconnect, getConnectionPointactAfterLayerChanged, actAfterOwnerTransform, actOnOwnerRead, actOnRead, actOnWrite, allowRemoval, allowsConnectionPointMove, applyTransform, attach, attachImpl, boundingBox, calcBoundingBox, clearBoundingBoxCache, connect, contains, detach, draw, Get, GetAttached, getFixedLayer, getLayerMode, GetLocal, getOwner, isConnectionPointMoveAllowed, move, moveResize, resize, rotate, scale, setConnectionPointMoveAllowed, setFixedLayer, setLayerMode, translate, write, zoomableaddActionListener, addNamedPropertyListener, allViewsRemoved, baseTextDirectionChanged, blinkingStateOn, boundingBox, callDraw, componentOrientationChanged, getAndAssociateObjectInteractor, getBaseTextDirection, getBlinkingAction, getBlinkingObjectOwner, getBlinkingOffPeriod, getBlinkingOnPeriod, getCenter, getComponentOrientation, getDefaultInteractor, getGraphicBag, GetGraphicObject, getIntersectionWithOutline, getLocale, getName, getNamedProperty, getObjectInteractor, getPopupMenu, getPopupMenu, getPopupMenuName, getProperty, getResolvedBaseTextDirection, getToolTipBaseTextDirection, getToolTipText, getToolTipText, getTopLevelGraphicBag, getTransferData, getTransferDataFlavors, getULocale, getZOrderIndex, hasProperty, inside, intersects, invalidateBBoxCache, invalidateBidiCache, isBaseTextDirectionSensitive, isComponentOrientationSensitive, isDataFlavorSupported, isEditable, isInApplyToObject, isLocaleSensitive, isMovable, isPersistent, isSelectable, isVisible, localeChanged, makeSelection, move, needsViewNotification, notifyObjectInteractorToManager, processActionEvent, reDraw, registerBlinkingResource, removeActionListener, removeNamedProperty, removeNamedPropertyListener, removeProperty, replaceProperty, setBackground, setBaseTextDirection, setBaseTextDirectionDuringConstruction, setBlinkingAction, setBlinkingOffPeriod, setBlinkingOnPeriod, setEditable, setFillOn, setForeground, setGraphicBag, setInApplyToObject, setMovable, setName, setNamedProperty, setNameImpl, setObjectInteractor, setPopupMenu, setPopupMenuName, setProperty, setSelectable, setStrokeOn, setToolTipBaseTextDirection, setToolTipText, setVisible, setZOrderIndex, toString, updateNeedsViewNotification, usesBidiMarkers, viewAddedOrRemovedpublic IlvHyperEdgeFixedConnector()
IlvHyperEdgeFixedConnector.
To attach the connector to a node or hyperedge, call IlvHyperEdgeConnector.attach(ilog.views.IlvGraphic, boolean).public IlvHyperEdgeFixedConnector(IlvGraphic obj)
IlvHyperEdgeFixedConnector attached to the input
object, which can be a node or a hyperedge.public IlvHyperEdgeFixedConnector(IlvHyperEdgeFixedConnector source)
IlvHyperEdgeFixedConnector by copying
an existing one.source - The origin of the copy.public IlvHyperEdgeFixedConnector(IlvInputStream stream) throws IlvReadFileException
IlvInputStream.
stream - The input stream.IlvReadFileException - if the format is not correct.public IlvGraphic copy()
copy in class IlvGraphicIlvGraphicpublic boolean isGraphic()
false.isGraphic in class IlvHyperEdgeConnectorprotected IlvPoint calcConnectionPoint(IlvHyperEdgeEnd end, IlvTransformer t)
calcConnectionPoint in class IlvHyperEdgeConnectorWithCacheend - The hyperedge end.t - The transformer used to draw the hyperedge.public IlvPoint getClosestConnectionPoint(IlvHyperEdgeEnd end, IlvPoint p, IlvTransformer t)
getClosestConnectionPoint in class IlvHyperEdgeConnectorend - The hyperedge end.p - The proposed point in view coordinates.t - The transformer used to draw the hyperedge.public boolean connectionsZoomable()
true if the connection points of the hyperedge
at zoomable nodes are zoomable. A connection point is zoomable if calling
the method IlvHyperEdgeConnectorWithCache.getConnectionPoint(ilog.views.hypergraph.IlvHyperEdgeEnd, ilog.views.IlvTransformer) with a transformer gives
the same result as calling it with a null (identity)
transformer and then applying the transformer to the result.
This is only tested if the hyperedge end is attached to a zoomable node.
Note that an instance of a hyperedge connector must return the same value as long as it is attached to the same object.
Don't confuse this with the method IlvHyperEdgeConnector.zoomable() which indicates
whether the connector as graphic object would be zoomable.
connectionsZoomable in class IlvHyperEdgeConnector© Copyright 2024 Rogue Wave Software, Inc., a Perforce company.. All Rights Reserved.