ilog.tgo.model
Class IltAbstractLink

java.lang.Object
  extended by ilog.cpl.model.IlpDefaultObject
      extended by ilog.tgo.model.IltObject
          extended by ilog.tgo.model.IltAbstractLink
All Implemented Interfaces:
IlpAttributeValueHolder, IlpObject, IltStateHolder, ilog.tgo.model.state.event.IltObjectStateListener, IltWithProperties, IlWithProperties, EventListener
Direct Known Subclasses:
IltLink, IltLinkBundle, IltLinkSet

public abstract class IltAbstractLink
extends IltObject

This class models any kind of link, either with or without a graphic rendering.


Nested Class Summary
 
Nested classes/interfaces inherited from class ilog.tgo.model.IltObject
IltObject.ListPrimaryStateStyleValueProvider, IltObject.LogicalType, IltObject.TinyType
 
Field Summary
static float DefaultLinkDistance
          This class variable stores the default distance between two parallel links.
static IlpEnumKey FromPort
          Deprecated. Please use CSS property fromPort instead.
static IltAttribute FromPortAttribute
          fromPort attribute.
static IlpColorKey InnerBackgroundColor
          Deprecated.  
static IlpFloatKey InnerBorderWidth
          Deprecated.  
static IlpFloatKey InnerCenterWidth
          Deprecated.  
static IlpColorKey InnerForegroundColor
          Deprecated.  
static IlpLineStyleKey InnerLineStyle
          Deprecated.  
static IltObjectInfo metainfo
          Contains metainformation about this IltObject class.
protected  PropertyChangeSupport propSupport
           
static IlpEnumKey ToPort
          Deprecated. Please use CSS property toPort instead.
static IltAttribute ToPortAttribute
          toPort attribute.
 
Fields inherited from class ilog.tgo.model.IltObject
_automaticDecorationsDirection, _cloneConstructor, AbbreviateBalloonAlarmCount, AbbreviateBaseAlarmCount, AckAlarmHighestSeverityAttribute, AckImpactAlarmHighestSeverityAttribute, AlarmBalloonColor, AlarmBalloonContentsCollapsed, AlarmBalloonCountIcon, AlarmBalloonCountLabel, AlarmBalloonPosition, AlarmBalloonShadowColor, AlarmBalloonTextAntialiasing, AlarmBalloonTextBackgroundColor, AlarmBalloonTextFont, AlarmBalloonTextForegroundColor, AlarmBalloonVisible, AlarmBorderColor, AlarmBorderThickness, AlarmBorderVisible, AlarmBrightColor, AlarmColor, AlarmColorLevel, AlarmColorVisible, AlarmCountAntialiasing, AlarmCountAttribute, AlarmCountBackgroundColor, AlarmCountFont, AlarmCountForegroundColor, AlarmCountIcon, AlarmCountIconPosition, AlarmCountIconVisible, AlarmCountLabel, AlarmCountNumberAttribute, AlarmCountVisible, AlarmCriticalAbbreviation, AlarmCriticalBrightColor, AlarmCriticalColor, AlarmCriticalDarkColor, AlarmCriticalDescription, AlarmDarkColor, AlarmHighestSeverityAttribute, AlarmLossOfConnectivityAbbreviation, AlarmLossOfConnectivityBrightColor, AlarmLossOfConnectivityColor, AlarmLossOfConnectivityDarkColor, AlarmLossOfConnectivityOverride, AlarmMajorAbbreviation, AlarmMajorBrightColor, AlarmMajorColor, AlarmMajorDarkColor, AlarmMajorDescription, AlarmMinorAbbreviation, AlarmMinorBrightColor, AlarmMinorColor, AlarmMinorDarkColor, AlarmMinorDescription, AlarmNotReportingAbbreviation, AlarmsAsMarks, AlarmSeverityColorMap, AlarmSeverityDescriptionMap, AlarmUnknownAbbreviation, AlarmUnknownBrightColor, AlarmUnknownColor, AlarmUnknownDarkColor, AlarmUnknownDescription, AlarmWarningAbbreviation, AlarmWarningBrightColor, AlarmWarningColor, AlarmWarningDarkColor, AlarmWarningDescription, Alpha, BackgroundColor, BaseSelectionBorderVisible, BaseStyleEnabled, BlinkingBackgroundColor, BlinkingBorderColor, BlinkingBorderColor2, BlinkingForegroundColor, BorderColor, BorderColor2, BorderLineStyle, BorderPattern, BorderWidth, BUSINESS_OBJECT_PROPERTY, CanBeLogical, CenterWidth, ChildrenDecorationConstraints, ChildrenDecorations, ContainerCollapseIconVisible, ContainerExpansionIconVisible, ContainerOutsideExpansionIconVisible, ContainerStatusVisible, DetailLevel, Direction, DottedBorderBackgroundColor, DottedBorderForegroundColor, DottedBorderLineStyle, ForcedWidth, ForegroundColor, GraphicRepresentationAttribute, HasAlarmColor, IconsVisible, ImpactAlarmCountAttribute, ImpactAlarmCountNumberAttribute, ImpactAlarmHighestSeverityAttribute, InfoIconInteractor, InfoIconThreshold, InfoWindowAlwaysVisible, InfoWindowBorderColor, InfoWindowColor, InfoWindowShadowColor, InfoWindowTextAntialiasing, InfoWindowTextBackgroundColor, InfoWindowTextFont, InfoWindowTextForegroundColor, InfoWindowVisible, IsEditable, IsLogical, IsSelectable, IsTiny, IsVisible, LabelAntialiasing, LabelBackgroundColor, LabelBorderColor, LabelDirection, LabelFont, LabelForegroundColor, LabelOffset, LabelPosition, LabelVisible, LabelZoomable, LineStyle, LinkPorts, ListAlarmStateAbbreviated, ListPrimaryAlarmState, ListPrimaryState, ListSecondaryAlarmState, LogicalBorderThickness, LogicalHeight, LogicalLabelAntialiasing, LogicalLabelFont, LogicalTypeAttribute, LogicalWidth, MappedBorderColor, MappedBorderColor2, MappedBrightColor, MappedColor, MappedColor2, MappedDarkColor, MultilineBaseAlarmCount, NameAttribute, NewAlarmCountAttribute, NewAlarmCountNumberAttribute, NewAlarmHighestSeverityAttribute, NewImpactAlarmCountAttribute, NewImpactAlarmCountNumberAttribute, NewImpactAlarmHighestSeverityAttribute, ObjectStateAttribute, PassiveIcon, PassiveIconVisible, Pattern, PlinthBrightColor, PlinthColor, PlinthDarkColor, PlinthHorizontalMargin, PlinthVerticalMargin, PlinthVisible, PositionAttribute, PrimaryAlarmState, PrimaryStateAttribute, ReliefBorders, SecondaryStatesAttribute, SecondaryStateStackerPosition, SelectionBorderBackgroundColor, SelectionBorderForegroundColor, SelectionBorderLineStyle, SelectionBorderThickness, ShortcutIcon, ShortcutIconMap, ShortcutIconVisible, ShortcutToolTipMap, SNMPSystemContact, SNMPSystemDescription, SNMPSystemLocation, SourceImage, TinyAlarmBorderThickness, TinyBorderThickness, TinyLabelAntialiasing, TinyLabelFont, TinyTypeAttribute, TrapAuthenticationFailureAbbreviation, TrapAuthenticationFailureBrightColor, TrapAuthenticationFailureColor, TrapAuthenticationFailureDarkColor, TrapAuthenticationFailureDescription, TrapColdStartAbbreviation, TrapColdStartBrightColor, TrapColdStartColor, TrapColdStartDarkColor, TrapColdStartDescription, TrapEGPNeighborLossAbbreviation, TrapEGPNeighborLossBrightColor, TrapEGPNeighborLossColor, TrapEGPNeighborLossDarkColor, TrapEGPNeighborLossDescription, TrapLinkFailureAbbreviation, TrapLinkFailureBrightColor, TrapLinkFailureColor, TrapLinkFailureDarkColor, TrapLinkFailureDescription, TrapWarmStartAbbreviation, TrapWarmStartBrightColor, TrapWarmStartColor, TrapWarmStartDarkColor, TrapWarmStartDescription
 
Fields inherited from interface ilog.cpl.model.IlpAttributeValueHolder
VALUE_NOT_SET
 
Constructor Summary
IltAbstractLink(IlpClass ilpClass, Object identifier)
          Initializes the IltAbstractLink part of a link instance.
IltAbstractLink(IltObjectState state, String label)
          Initializes the IltAbstractLink part of a link instance.
IltAbstractLink(Object identifier)
          Initializes the IltAbstractLink part of a link instance.
 
Method Summary
 IltLinkSet _getLinkSet()
          If the link has been added to a link set, this method returns the instance of IltLinkSet that implements the link set, regardless of whether the link set implements a bundle or not.
 void _setLinkSet(IltLinkSet linkSet)
          Sets the link set the link is in.
 void addPropertyChangeListener(PropertyChangeListener listener)
          Add a PropertyChangeListener to the listener list.
 void applyTransform(IltGraphicManager manager, IltGraphic graphic, IlvTransformer t, IlpPositionSource reason)
          Deprecated.  
protected  void copyFrom(IltAbstractLink other)
          Support for renderer.
 ilog.tgo.graphic.internal.IltGraphicUpdate createPositionUpdate(Object position, Object positionInManager)
          Creates the graphic update responsible for setting the position/shape to a graphical representation.
static void ForceInit(ilog.tgo.util.internal.IltForceClassInit object)
          To deserialize IltClassLegend instances.
protected  void forgetShapeGraphicSettingInManager(IltGraphicManager manager, IltGraphic graphic)
          Removes the shape graphic setting in manager coordinates.
 IlvRect getBaseRectangle(IltGraphicManager manager)
          Returns the base rectangle of the graphic representation in a given IltGraphicManager.
protected  IlvPoint getCenterPoint(IltGraphicManager manager, IltGraphic graphic)
          Returns the position of the graphic representation in a given IltcObjectContainer.
static IltLegend GetClassLegend()
          Deprecated. The Style API has been replaced by the Cascading Style Sheet mechanism. Please refer to the User's Manual for further information.
 IltAbstractLink getDelegateFromTo()
           
 IltObject getFrom()
          Returns the object that is used as the logical first extremity of the link.
 IltObject getFrom(IltGraphic graphic)
          Returns the object used as the first extremity of the given graphic representation of the link.
 IltObject getFrom(IltGraphicManager manager)
          Returns the first extremity of the link in the given manager, or getLogicalFrom if the link is not in the manager.
 ilog.tgo.graphic.internal.IltGraphicRepresentationStyle getGraphicRepresentationStyle(IltCompositeGraphic graphic)
          Returns the graphic representation type that should be used to the given composite graphic in this moment.
static IltObjectInfo GetIlpClass()
          Returns the IlpClass corresponding to this Java class.
 IltLinkSet getLinkSet()
          If the link has been added to a link set, this method returns the instance of IltLinkSet that implements the link set.
 IltObject getLogicalFrom()
          This method is identical to getFrom.
 IltObject getLogicalTo()
          This method is identical to getTo.
 IltObject getNextFrom(IltGraphicManager manager)
          Returns the object that will be used as the first extremity of the link, the next time the link is added to a manager.
 IltObject getNextTo(IltGraphicManager manager)
          Returns the object that will be used as the second extremity of the link, the next time the link is added to a manager.
 IltGraphic getOutermostParentGraphic(IltGraphicManager manager)
          This method is overridden by the subclasses which can be contained in other IltObjects.
 IltLineSpec getRepresentation()
          Returns the graphic representation of the link, if fixed.
 IlpPolyline getShape(IltGraphicManager manager)
          Deprecated. Adding a object to a datasource, connected to a graphic component such as an IlpNetwork, is enough to make its graphic representation visible. When working with datasource, please use getPosition instead.
protected  IlpPolyline getShape(IltGraphicManager manager, IltGraphic graphic)
          Returns the shape graphic setting.
 IlpPolyline getShapeInManager(IltGraphic graphic)
          For convenience, since the above does not really depend on the manager.
protected  IlpPolyline getShapeInManager(IltGraphicManager manager, IltGraphic graphic)
          Returns the position of the graphic representation in a given IltGraphicManager.
 IltObject getTo()
          Returns the object that is used as the logical second extremity of the link.
 IltObject getTo(IltGraphic graphic)
          Returns the object used as the second extremity of the given graphic representation of the link.
 IltObject getTo(IltGraphicManager manager)
          Returns the second extremity of the link in the given manager, or getLogicalTo if the link is not in the manager.
 float getWidth(IltGraphicManager manager)
          Deprecated.  
abstract  float getWidth(IltGraphicManager manager, IltGraphic graphic)
          Returns the width of the graphic representation.
 void initializeVisibleGraphic(IltGraphicManager manager, IltGraphic graphic)
          This is called before adding a graphic representation to a given view.
 boolean isValidPosition(Object position)
          Determines whether the argument is a valid position/shape for this type of object.
 void postCreateGraphic(IltGraphicManager manager, IltGraphic graphic)
          This is called at the end of adding a graphic representation to a given view.
 void removeGraphic(IltGraphicManager manager)
          Removes the graphic representation of this link from the given manager.
 void removePropertyChangeListener(PropertyChangeListener listener)
          Remove a PropertyChangeListener from the listener list.
 void restoreVisibility(IltGraphicManager manager, IltGraphicSettings settings)
          Deprecated. Adding a object to a datasource, connected to a graphic component such as an IlpNetwork, is enough to make its graphic representation visible. Once visible, it is updated automatically when needed.
 void setBaseRectangle(IltGraphicManager manager, IlvRect newBaseRectangle)
          Applies a transformation to the graphic representation in a given IltGraphicManager, attempting to make the base rectangle resemble the given rectangle.
 void setCenterPoint(IltGraphicManager manager, IltGraphic graphic, IlvPoint position, IlpPositionSource reason)
          Changes the position of the graphic representation in a given IltcObjectContainer.
 void setFrom(IltGraphicManager manager, IltObject from)
          Sets the object that is to use as the first extremity of the link in the given manager.
 void setFrom(IltObject from)
          Sets the object that is used as the logical first extremity of the link.
 void setFromOverride(IltGraphicManager manager, IltObject newEnd)
          Changes the override setting for the "from" end of a (yet nonexistent) graphic representation.
 void setLinkLayoutProxyPresent(IltGraphicManager manager, boolean layoutable)
          Sets the layoutability of the link in the given manager.
 void setLogicalFrom(IltObject from)
          Sets the object that is used as the logical first extremity of the link.
 void setLogicalTo(IltObject to)
          Sets the object that is used as the logical second extremity of the link.
 void setNextFrom(IltObject nextFrom)
          Sets the object that will be used as the first extremity of the link the next time the link is added to a manager.
 void setNextTo(IltObject nextTo)
          Sets the object that will be used as the second extremity of the link the next time the link is added to a manager.
 void setShape(IltGraphicManager manager, IlpPolyline shape)
          Deprecated. Adding a object to a datasource, connected to a graphic component such as an IlpNetwork, is enough to make its graphic representation visible. When working with datasources, please use setPosition instead.
 void setShape(IltGraphicManager manager, IlpPolyline shape, IlpPositionSource reason)
          Deprecated. Adding a object to a datasource, connected to a graphic component such as an IlpNetwork, is enough to make its graphic representation visible. When working with datasources, please use setPosition instead.
 void setShape(IltGraphicManager manager, IltGraphic graphic, IlpPolyline shape, IlpPositionSource reason)
          Changes the shape graphic setting.
 void setShape(IltGraphicManager manager, IltLogicalPolyline shape)
          Deprecated. Please use IlpPolyline instead of IltLogicalPolyline.
 void setShapeGraphicSetting(IltGraphic graphic, Object newShape)
          Sets the graphic settings responsible for the shape of the object.
 void setShapeInManager(IltGraphicManager manager, IltGraphic graphic, IlpPolyline shape, IlpPositionSource reason, boolean assumeVisible)
          Changes the shape of the link in the given manager, using the provided composite graphic.
protected  void setShapeInManagerAux(IltGraphicManager manager, IltGraphic graphic, IlpPolyline shape, IlpPositionSource reason, boolean assumeVisible)
          Changes the position of the graphic representation in a given IltGraphicManager.
 void setShapeInManagerGraphicSetting(IltGraphic graphic, Object newShape, IlpPositionSource reason)
          Sets the graphic settings responsible for the shape of the object in a given manager
 void setTo(IltGraphicManager manager, IltObject to)
          Sets the object that is to use as the second extremity of the link in the given manager.
 void setTo(IltObject to)
          Sets the object that is used as the logical second extremity of the link.
 void setToOverride(IltGraphicManager manager, IltObject newEnd)
          Changes the override setting for the "to" end of a (yet nonexistent) graphic representation.
 String toString()
          Returns the String representation of this IltAbstractLink's values.
 Object transformPosition(IltGraphicManager manager, Object position)
          Applies the manager transformer to the position parameter.
 void updateFrom(IltObject other)
          Updates the local cache of attributes stored in getObjectAttribute().
 void updateShapeGraphicSettingInManager(IltGraphicManager manager, IltGraphic graphic, Object newShape, IlpPositionSource reason)
          If the graphic representation is visible, updates the shape graphic setting in manager coordinates.
 boolean usingDefaultShape(IltGraphicManager manager)
          Computes the graphic representation of the object in the given manager.
 
Methods inherited from class ilog.tgo.model.IltObject
__getIlpObject, addGraphicChangedListener, addStateChangedListener, applyTransform, applyTransform, applyTransform, applyTransformInManager, clearState, cloneForRendering, computeGraphic, computeGraphic, computeGraphic, computeGraphic, computeGraphic, computeGraphicAtPosition, copyFrom, createBase, createGraphic, createTinyBase, debug, defaultShape, endDelayingComputeGraphic, EndDelayingComputeGraphic, fireAllGraphicChanged, fireGraphicChanged, FromGraphic, getAlarmState, getAttacherInfo, getAttacherInfoController, getAutomaticDecorationsDirection, getBaseRectangleInManager, GetBaseStyleMapping, getCenterPoint, getCenterPointInManager, getChildren, getDefaultLabelPosition, getGraphic, getGraphic, getGraphicInHierarchy, getGraphicInteractions, getGraphicNotNull, getGraphicNotNullInHierarchy, getGraphicSetting, getGraphicSetting, getGraphicSettings, GetIltObject, getLabel, getLabelOffset, getLabelOffset, getLabelOffset, getLabelPosition, getLabelPosition, getLabelPosition, getLayoutProxy, getLegend, getLegend, getLocalStyle, getLocalStyle, getLogicalType, getMappedForUserList, getName, getObjectInfo, getObjectMapper, getObjectState, getObjectSystemMapper, getPosition, getProperty, getState, getTinyType, getTrapState, hasState, initializeCreatedGraphic, initializeDefaultValues, initializeObject, InitStyle, isEditable, isNearlyVisible, IsPropertyTransient, isSelected, isSelected, isVisible, mapDirection, mappedForUser, objectStateChanged, objectStateCleared, objectStateSet, preCreateGraphic, removeGraphic, removeGraphic, removeGraphicChangedListener, removeGraphicSetting, removeGraphicSetting, removeProperty, removeStateChangedListener, resetLabelOffset, resetLabelOffset, resetLabelPosition, resetLabelPosition, resetState, setAttributeValue, setAutomaticDecorationsDirection, setAutomaticDecorationsDirection, setBaseRectangleInManager, setCenterPoint, setCenterPoint, setCenterPointInManager, setEditable, setGraphic, setGraphicSetting, setGraphicSetting, setGraphicSetting, setGraphicSettings, setIlpClass, setLabel, setLabelOffset, setLabelOffset, setLabelPosition, setLabelPosition, setLegend, setLogicalType, setName, setObjectState, setPosition, setProperty, SetPropertyTransient, setSelected, setSelectedInternal, setState, setState, setTinyType, setVisible, startDelayingComputeGraphic, StartDelayingComputeGraphic, startVisibility
 
Methods inherited from class ilog.cpl.model.IlpDefaultObject
addAttributeValueListener, fireEvent, getAttributeGroup, getAttributeValue, getAttributeValue, getAttributeValueByName, getIdentifier, getIlpClass, getLocalAttributeValues, getObjectSupport, hasAttributeValue, removeAttributeValueListener, setAttributeValue, setAttributeValueByName, setLocalAttributeValues, setObjectSupport
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

metainfo

public static IltObjectInfo metainfo
Contains metainformation about this IltObject class.

Internal method or field: do not use!

propSupport

protected transient PropertyChangeSupport propSupport
Internal method or field: do not use!

DefaultLinkDistance

public static float DefaultLinkDistance
This class variable stores the default distance between two parallel links. It is used by the link layout optimizers and the link sets. The initial value of this variable is 2 pixels.

Internal method or field: do not use!

FromPortAttribute

public static IltAttribute FromPortAttribute
fromPort attribute. This attribute allows you to specify the preferred link port at the from end. Only effective when an IltShortLinkLayout is used.

Attribute name: fromPort.

Value type: IltLinkPort.

Since:
JTGO 3.0
See Also:
IltLinkPort, IltShortLinkLayout

ToPortAttribute

public static IltAttribute ToPortAttribute
toPort attribute. This attribute allows you to specify the preferred link port at its to end. Only effective when an IltShortLinkLayout is used. Attribute name: toPort.

Value type: IltLinkPort.

Since:
JTGO 3.0
See Also:
IltLinkPort, IltShortLinkLayout

FromPort

public static IlpEnumKey FromPort
Deprecated. Please use CSS property fromPort instead.
The legend property specifying the preferred link port at the from end. Only effective when an IltShortLinkLayout is used. Its value is an instance of IltLinkPort. By default, the value is an attribute style value provider pointing to the attribute FromPortAttribute.

See Also:
IltObjectCustomization.getFromPort(), IltLinkPort, IltShortLinkLayout
Deprecated Since:
JTGO 3.5

ToPort

public static IlpEnumKey ToPort
Deprecated. Please use CSS property toPort instead.
The legend property specifying the preferred link port at the to end. Only effective when an IltShortLinkLayout is used. Its value is an instance of IltLinkPort. By default, the value is an attribute style value provider pointing to the attribute ToPortAttribute.

See Also:
IltObjectCustomization.getToPort(), IltLinkPort, IltShortLinkLayout
Deprecated Since:
JTGO 3.5

InnerCenterWidth

public static IlpFloatKey InnerCenterWidth
Deprecated. 
Internal method or field: do not use!

InnerBorderWidth

public static IlpFloatKey InnerBorderWidth
Deprecated. 
Internal method or field: do not use!

InnerLineStyle

public static IlpLineStyleKey InnerLineStyle
Deprecated. 
Internal method or field: do not use!

InnerForegroundColor

public static IlpColorKey InnerForegroundColor
Deprecated. 
Internal method or field: do not use!

InnerBackgroundColor

public static IlpColorKey InnerBackgroundColor
Deprecated. 
Internal method or field: do not use!
Constructor Detail

IltAbstractLink

public IltAbstractLink(Object identifier)
Initializes the IltAbstractLink part of a link instance. This constructor is only here to be called by subclasses.

Parameters:
identifier - the identifier of this new instance
Since:
JTGO 3.0

IltAbstractLink

public IltAbstractLink(IlpClass ilpClass,
                       Object identifier)
Initializes the IltAbstractLink part of a link instance. This constructor is only here to be called by subclasses.

Since:
JTGO 3.0

IltAbstractLink

public IltAbstractLink(IltObjectState state,
                       String label)
Initializes the IltAbstractLink part of a link instance. This constructor is only here to be called by subclasses.

Parameters:
state - its semantic state
label - its label
Method Detail

GetIlpClass

public static IltObjectInfo GetIlpClass()
Returns the IlpClass corresponding to this Java class. Here the IlpClass interface is implemented by IltObjectInfo.
This method is used by the class manager to retrieve predefined business object classes.

Since:
JTGO 3.0

GetClassLegend

public static IltLegend GetClassLegend()
Deprecated. The Style API has been replaced by the Cascading Style Sheet mechanism. Please refer to the User's Manual for further information.

Returns the business class style as defined in the default application context style manager.

Deprecated Since:
JTGO 3.0

getLinkSet

public IltLinkSet getLinkSet()
If the link has been added to a link set, this method returns the instance of IltLinkSet that implements the link set. If the link is not in a link set this method returns null.


_getLinkSet

public IltLinkSet _getLinkSet()
If the link has been added to a link set, this method returns the instance of IltLinkSet that implements the link set, regardless of whether the link set implements a bundle or not.

Internal method or field: do not use!

_setLinkSet

public void _setLinkSet(IltLinkSet linkSet)
Sets the link set the link is in. This is not the good way of adding a link to a link set. The proper way is to use the IltLinkSet.addLink method. Note that, as opposed to TGO C++, this method does not adjust the link's layoutability; this is because the layoutability is manager-dependent.

Parameters:
linkSet - the new link set
See Also:
IltLinkSet.addLink(ilog.tgo.model.IltAbstractLink)
Internal method or field: do not use!

getGraphicRepresentationStyle

public ilog.tgo.graphic.internal.IltGraphicRepresentationStyle getGraphicRepresentationStyle(IltCompositeGraphic graphic)
Returns the graphic representation type that should be used to the given composite graphic in this moment. This method is called by IltCompositeGraphic when the graphical representation of this object is being computed.

Overrides:
getGraphicRepresentationStyle in class IltObject
Internal method or field: do not use!

getDelegateFromTo

public IltAbstractLink getDelegateFromTo()
Internal method or field: do not use!

addPropertyChangeListener

public void addPropertyChangeListener(PropertyChangeListener listener)
Add a PropertyChangeListener to the listener list. The listener is registered for all properties.

Parameters:
listener - The PropertyChangeListener to be added
Since:
JTGO 3.0
Internal method or field: do not use!

removePropertyChangeListener

public void removePropertyChangeListener(PropertyChangeListener listener)
Remove a PropertyChangeListener from the listener list. This removes a PropertyChangeListener that was registered for all properties.

Parameters:
listener - The PropertyChangeListener to be removed
Since:
JTGO 3.0
Internal method or field: do not use!

getLogicalFrom

public IltObject getLogicalFrom()
This method is identical to getFrom.

See Also:
getFrom()
Internal method or field: do not use!

getFrom

public IltObject getFrom()
Returns the object that is used as the logical first extremity of the link.


getLogicalTo

public IltObject getLogicalTo()
This method is identical to getTo.

See Also:
getTo()
Internal method or field: do not use!

getTo

public IltObject getTo()
Returns the object that is used as the logical second extremity of the link.


setLogicalFrom

public void setLogicalFrom(IltObject from)
Sets the object that is used as the logical first extremity of the link. This object will be used as the first extremity of new graphic representations of the links, unless setNextFrom is used to set a specific first extremity for the link in the corresponding manager.

Internal method or field: do not use!

setFrom

public void setFrom(IltObject from)
Sets the object that is used as the logical first extremity of the link.


setLogicalTo

public void setLogicalTo(IltObject to)
Sets the object that is used as the logical second extremity of the link. This object will be used as the second extremity of new graphic representations of the links, unless setNextTo is used to set a specific second extremity for the link in the corresponding manager.

Internal method or field: do not use!

setTo

public void setTo(IltObject to)
Sets the object that is used as the logical second extremity of the link.


setFromOverride

public void setFromOverride(IltGraphicManager manager,
                            IltObject newEnd)
Changes the override setting for the "from" end of a (yet nonexistent) graphic representation.

Parameters:
newEnd - a telecom object or null
Internal method or field: do not use!

setToOverride

public void setToOverride(IltGraphicManager manager,
                          IltObject newEnd)
Changes the override setting for the "to" end of a (yet nonexistent) graphic representation.

Parameters:
newEnd - a telecom object or null
Internal method or field: do not use!

getFrom

public IltObject getFrom(IltGraphic graphic)
Returns the object used as the first extremity of the given graphic representation of the link.

Parameters:
graphic - the graphic whose from end is queried
Internal method or field: do not use!

getTo

public IltObject getTo(IltGraphic graphic)
Returns the object used as the second extremity of the given graphic representation of the link.

Parameters:
graphic - the graphic whose to end is queried
Internal method or field: do not use!

getFrom

public IltObject getFrom(IltGraphicManager manager)
Returns the first extremity of the link in the given manager, or getLogicalFrom if the link is not in the manager.

Parameters:
manager - the manager where to look for the link's from end
Internal method or field: do not use!

getTo

public IltObject getTo(IltGraphicManager manager)
Returns the second extremity of the link in the given manager, or getLogicalTo if the link is not in the manager.

Parameters:
manager - the manager where to look for the link's to end
Internal method or field: do not use!

setFrom

public void setFrom(IltGraphicManager manager,
                    IltObject from)
Sets the object that