public class IlvSDMCompositeLink extends IlvCompositeLink implements ilog.views.sdm.internal.labellayout.IlvSDMLabeledNode
IlvCompositeLink
class.Constructor and Description |
---|
IlvSDMCompositeLink()
Creates an
IlvSDMCompositeLink instance. |
IlvSDMCompositeLink(IlvGraphic from,
IlvGraphic to,
boolean oriented)
Creates a new
IlvSDMCompositeLink instance. |
IlvSDMCompositeLink(IlvGraphic from,
IlvGraphic to,
boolean oriented,
IlvLinkImage link)
Creates a new
IlvSDMCompositeLink instance. |
IlvSDMCompositeLink(IlvInputStream stream)
Reads the object from an
IlvInputStream . |
IlvSDMCompositeLink(IlvSDMCompositeLink source)
Creates an
IlvSDMCompositeLink by copying an existing one. |
Modifier and Type | Method and Description |
---|---|
IlvGraphic |
copy()
Copies the object.
|
protected IlvCompositeGraphic |
createCompositeNode()
Returns the Composite Node instance used to lay out the children.
|
int[] |
getLayers()
Returns the layers of the children of this
IlvCompositeLink instance. |
int |
getLayers(int index)
Returns the layer of the child at the specified position.
|
void |
setGraphicBag(IlvGraphicBag bag)
Changes the bag that contains the object.
|
void |
setLayers(int[] layers)
Sets the layer of the child at the specified position of this object.
|
void |
setLayers(int index,
int layer)
Sets the layer of the child at the specified position of this object.
|
void |
updateLabelingModel(IlvSDMEngine engine,
IlvAnnealingLabelLayout layout,
ilog.views.sdm.internal.labellayout.IlvSDMLabelingModel model,
Object node,
IlvGraphic graphic)
You should not call this method directly.
|
addObject, allowsPointInsertion, allowsPointMove, allowsPointRemoval, applyToObject, applyTransform, baseTextDirectionChanged, boundingBox, componentOrientationChanged, contains, doLayout, draw, drawCore, getAction, getAlpha, getAttachableGraphic, getBaseBoundingBox, getBaseTextDirection, getChildren, getChildren, getCompositeNode, getConnectionPoints, getConnectionReferencePoint, getConstraints, getConstraints, getEndCap, getEventMaps, getForeground, getLabel, getLabelBBox, getLineJoin, getLineStyle, getLineWidth, getLineWidth, getLink, getLinkPoints, getMaximumLineWidth, getObject, getObjects, getParent, getPointAt, getPointsCardinal, getRoot, getToolTipText, getVisibilityThresholds, getVisibilityThresholds, hasActions, insertPoint, invalidate, invalidateBBoxCache, isBaseTextDirectionSensitive, isOriented, isSensitive, isSpline, isValid, localeChanged, moveObject, movePoint, pointsInBBox, reDrawObj, reDrawRegion, removeObject, removePoint, reshapeObject, setAlpha, setBaseTextDirection, setBaseTextDirectionDuringConstruction, setChildren, setChildren, setConstraints, setConstraints, setEndCap, setForeground, setIntermediateLinkPoints, setLabel, setLineJoin, setLineStyle, setLineWidth, setLink, setMaximumLineWidth, setObjectName, setOriented, setSensitive, setToolTipText, setVisibilityThresholds, setVisibilityThresholds, supportMultiline, write
arrowBBox, arrowContains, drawArrow, finalize, getArrowSize, getFrom, getFromBoundingBox, getFromTransformer, getLinkConnectorConnectionPoint, getLinkPoints, getLocalTransformerOf, getOpposite, getTo, getToBoundingBox, getToTransformer, getVisibleFrom, getVisibleTo, isPersistent, makeSelection, setFrom, setLinkPoints, setTo, zoomable
addActionListener, addNamedPropertyListener, allViewsRemoved, blinkingStateOn, boundingBox, callDraw, getAndAssociateObjectInteractor, getBlinkingAction, getBlinkingObjectOwner, getBlinkingOffPeriod, getBlinkingOnPeriod, getCenter, getComponentOrientation, getDefaultInteractor, getGraphicBag, GetGraphicObject, getIntersectionWithOutline, getLocale, getName, getNamedProperty, getObjectInteractor, getPopupMenu, getPopupMenu, getPopupMenuName, getProperty, getResolvedBaseTextDirection, getToolTipBaseTextDirection, getToolTipText, getTopLevelGraphicBag, getTransferData, getTransferDataFlavors, getULocale, getZOrderIndex, hasProperty, inside, intersects, invalidateBidiCache, isComponentOrientationSensitive, isDataFlavorSupported, isEditable, isInApplyToObject, isLocaleSensitive, isMovable, isSelectable, isVisible, move, move, moveResize, needsViewNotification, notifyObjectInteractorToManager, processActionEvent, reDraw, registerBlinkingResource, removeActionListener, removeNamedProperty, removeNamedPropertyListener, removeProperty, replaceProperty, resize, rotate, scale, setBackground, setBlinkingAction, setBlinkingOffPeriod, setBlinkingOnPeriod, setEditable, setFillOn, setInApplyToObject, setMovable, setName, setNamedProperty, setNameImpl, setObjectInteractor, setPopupMenu, setPopupMenuName, setProperty, setSelectable, setStrokeOn, setToolTipBaseTextDirection, setVisible, setZOrderIndex, toString, translate, updateNeedsViewNotification, usesBidiMarkers, viewAddedOrRemoved
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
getGraphicBag
public IlvSDMCompositeLink()
IlvSDMCompositeLink
instance.public IlvSDMCompositeLink(IlvGraphic from, IlvGraphic to, boolean oriented)
IlvSDMCompositeLink
instance.from
- The origin object.to
- The destination object.oriented
- If true
, an arrow is
drawn at the
destination point.public IlvSDMCompositeLink(IlvGraphic from, IlvGraphic to, boolean oriented, IlvLinkImage link)
IlvSDMCompositeLink
instance.from
- The origin object.to
- The destination object.oriented
- If true
, an arrow is
drawn at the
destination point.link
- The link to be used for rendering.public IlvSDMCompositeLink(IlvInputStream stream) throws IlvReadFileException
IlvInputStream
.stream
- The input stream.IlvReadFileException
- if the format is not correct.public IlvSDMCompositeLink(IlvSDMCompositeLink source)
IlvSDMCompositeLink
by copying an existing one.source
- The link to be copied.public IlvGraphic copy()
copy
in class IlvCompositeLink
IlvGraphic
instance.IlvGraphic
public void setLayers(int[] layers)
public void setLayers(int index, int layer)
public int getLayers(int index)
-1
if the child at the specified position is in the same layer as this
IlvCompositeGraphic.
public int[] getLayers()
IlvCompositeLink
instance.-1
if the child is in the same layer as this IlvCompositeGraphic
.public void setGraphicBag(IlvGraphicBag bag)
setGraphicBag
in class IlvCompositeLink
bag
- The graphic bag.IlvGraphic
protected IlvCompositeGraphic createCompositeNode()
createCompositeNode
in class IlvCompositeLink
public void updateLabelingModel(IlvSDMEngine engine, IlvAnnealingLabelLayout layout, ilog.views.sdm.internal.labellayout.IlvSDMLabelingModel model, Object node, IlvGraphic graphic)
updateLabelingModel
in interface ilog.views.sdm.internal.labellayout.IlvSDMLabeledNode
© Copyright 2024 Rogue Wave Software, Inc., a Perforce company.. All Rights Reserved.