ilog.tgo.model
Class IltLinkSet

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

public class IltLinkSet
extends IltAbstractLink

This link class is used to force the layout algorithms to display a collection of links between two nodes in a fixed order and with a specific distance between them. A link set groups a number of links that are laid out in the order in which they are added to the set. The spacing between the links is known as the link distance; this value is specific to the link set and can thus differ from the corresponding value in the layout optimizer.

A link set has no graphical representation and is not displayed in the network component. Therefore, setting an object state to a link set has no meaning or at least no visual effect.

Link Extremities

The extremities of a link set and of the links it gathers must match in the sense that, for each link in the set, the from and to ends of the link must either:

When a link is added to a link set, its ends are forced to those of the set if they do not match. A link can also give its ends to a set if the set has no ends when the link is added to it. Finally, when the end of a link set is changed, the ends of the links it contains are changed accordingly.

XML Format

A link set that you create with the API can get its extremities from the link that is inserted into it. In XML format, you have to specify the extremities of a link set.

Managers

Note: This section does not apply when you use the link set in a data source.

When a link set is in a manager, all the links it contains are also in this manager. Conversely, a link can be in a manager even though the link set it belongs to is not. As a consequence:


Nested Class Summary
static class IltLinkSet.LinkSetEvent
          Deprecated. Please use the datasource methods instead.
static interface IltLinkSet.LinkSetListener
          Deprecated. Please use the datasource methods instead.
 
Nested classes/interfaces inherited from class ilog.tgo.model.IltObject
IltObject.ListPrimaryStateStyleValueProvider, IltObject.LogicalType, IltObject.TinyType
 
Field Summary
static IlpFloatKey LinkDistance
          Deprecated. Please use CSS property linkDistance instead.
static IlpFloatKey MappedLinkDistance
           
static IltObjectInfo metainfo
          Contains metainformation about this IltObject class.
 
Fields inherited from class ilog.tgo.model.IltAbstractLink
DefaultLinkDistance, FromPort, FromPortAttribute, InnerBackgroundColor, InnerBorderWidth, InnerCenterWidth, InnerForegroundColor, InnerLineStyle, propSupport, ToPort, ToPortAttribute
 
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
IltLinkSet()
          Creates a new empty link set.
IltLinkSet(IlpClass ilpClass, Object identifier)
          Creates a new empty link set of the specified IlpClass and with the specified identifier.
IltLinkSet(Object identifier)
          Creates a new empty link set.
 
Method Summary
 void addLink(IltAbstractLink link)
          Deprecated. Please use the datasource methods instead.
 void addLinkSetListener(IltLinkSet.LinkSetListener listener)
           
protected  void copyFrom(IltObject o)
          Copies the attributes from an original object.
 ilog.tgo.graphic.internal.base.IltBaseElement createBase(IltcGraphicElementAggregate root)
          Creates a base element, suitable for this particular kind of object, for use with the Symbolic Graphic Representation Style.
 void createGraphic(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.
 Enumeration getChildren()
          Returns the list of children objects, contained in this object.
 int getCount()
          Returns the number of links that the link set contains.
static IltObjectInfo GetIlpClass()
          Returns the IlpClass corresponding to this Java class.
 float getLinkDistance()
          Deprecated. Please use CSS property linkDistance instead.
 float getLinkDistance(IltGraphicManager manager)
          Deprecated. Please use CSS property linkDistance instead.
 float getLinkDistance(IltGraphicManager manager, IltGraphic graphic)
          Deprecated. Please use CSS property linkDistance instead.
 Enumeration getLinks()
          Deprecated. Please use the datasource methods instead.
 ilog.util.internal.IlAVector getMappedForUserList()
           
 IltObject getOwner()
          Returns the owner of this link set, either a trail or a link bundle.
 float getWidth(IltGraphicManager manager, IltGraphic graphic)
          Returns the width of the graphic representation.
 boolean hasLink(IltAbstractLink link)
          Deprecated. Please use the datasource methods instead.
 void initializeCreatedGraphic(IltGraphicManager manager, IltGraphic graphic)
          This is called before adding a graphic representation to a given view.
 boolean isEmpty()
          Returns true if the link set gathers no links.
 void postCreateGraphic(IltGraphicManager manager, IltGraphic graphic)
          This method is called to add the link to a manager, for instance at the end of computeGraphic.
 IltGraphic preCreateGraphic(IltGraphicManager manager)
          Creation of an IltGraphic.
 void removeAllLinks()
          Deprecated. Please use the datasource methods instead.
 void removeGraphic(IltGraphicManager manager)
          Removes the graphic representation of this link from the given manager.
 boolean removeLink(IltAbstractLink link)
          Deprecated. Please use the datasource methods instead.
 void removeLinkSetListener(IltLinkSet.LinkSetListener listener)
           
 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 setLinkDistance(float d)
          Deprecated. Please use CSS property linkDistance instead.
 void setLinkDistance(IltGraphicManager manager, float d)
          Deprecated. Please use CSS property linkDistance instead.
 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 setOwner(IltObject o)
          Sets the owner of this link set, which can be a link bundle or a trail.
 void setTo(IltGraphicManager manager, IltObject to)
          Sets the object that is to use as the second extremity of the link in the given manager.
 
Methods inherited from class ilog.tgo.model.IltAbstractLink
_getLinkSet, _setLinkSet, addPropertyChangeListener, applyTransform, copyFrom, createPositionUpdate, ForceInit, forgetShapeGraphicSettingInManager, getBaseRectangle, getCenterPoint, GetClassLegend, getDelegateFromTo, getFrom, getFrom, getFrom, getGraphicRepresentationStyle, getLinkSet, getLogicalFrom, getLogicalTo, getNextFrom, getNextTo, getOutermostParentGraphic, getRepresentation, getShape, getShape, getShapeInManager, getShapeInManager, getTo, getTo, getTo, getWidth, initializeVisibleGraphic, isValidPosition, removePropertyChangeListener, restoreVisibility, setBaseRectangle, setCenterPoint, setFrom, setFromOverride, setLinkLayoutProxyPresent, setLogicalFrom, setLogicalTo, setShape, setShape, setShape, setShape, setShapeGraphicSetting, setShapeInManager, setShapeInManagerAux, setShapeInManagerGraphicSetting, setTo, setToOverride, toString, transformPosition, updateFrom, updateShapeGraphicSettingInManager, usingDefaultShape
 
Methods inherited from class ilog.tgo.model.IltObject
__getIlpObject, addGraphicChangedListener, addStateChangedListener, applyTransform, applyTransform, applyTransform, applyTransformInManager, clearState, cloneForRendering, computeGraphic, computeGraphic, computeGraphic, computeGraphic, computeGraphic, computeGraphicAtPosition, createTinyBase, debug, defaultShape, endDelayingComputeGraphic, EndDelayingComputeGraphic, fireAllGraphicChanged, fireGraphicChanged, FromGraphic, getAlarmState, getAttacherInfo, getAttacherInfoController, getAutomaticDecorationsDirection, getBaseRectangleInManager, GetBaseStyleMapping, getCenterPoint, getCenterPointInManager, getDefaultLabelPosition, getGraphic, getGraphic, getGraphicInHierarchy, getGraphicInteractions, getGraphicNotNull, getGraphicNotNullInHierarchy, getGraphicSetting, getGraphicSetting, getGraphicSettings, GetIltObject, getLabel, getLabelOffset, getLabelOffset, getLabelOffset, getLabelPosition, getLabelPosition, getLabelPosition, getLayoutProxy, getLegend, getLegend, getLocalStyle, getLocalStyle, getLogicalType, getName, getObjectInfo, getObjectMapper, getObjectState, getObjectSystemMapper, getPosition, getProperty, getState, getTinyType, getTrapState, hasState, initializeDefaultValues, initializeObject, InitStyle, isEditable, isNearlyVisible, IsPropertyTransient, isSelected, isSelected, isVisible, mapDirection, mappedForUser, objectStateChanged, objectStateCleared, objectStateSet, 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.


LinkDistance

public static IlpFloatKey LinkDistance
Deprecated. Please use CSS property linkDistance instead.
The legend property determining the distance between adjacent links in the link set.

See Also:
IltObjectCustomization.getLinkDistance()
Deprecated Since:
JTGO 3.5

MappedLinkDistance

public static IlpFloatKey MappedLinkDistance
Internal method or field: do not use!
Constructor Detail

IltLinkSet

public IltLinkSet()
Creates a new empty link set.

Like all types of links, the new link set has no ends. You can set its ends using the setFrom and setTo methods. If you do no set them, these ends will be defined from the first link with ends that is added to the set.

An ID is automatically generated with IlpIDGenerator.GetID().

See Also:
IltAbstractLink.setFrom(ilog.tgo.model.IltObject), IltAbstractLink.setTo(ilog.tgo.model.IltObject)

IltLinkSet

public IltLinkSet(Object identifier)
Creates a new empty link set.

Like all types of links, the new link set has no ends. You can set its ends using the setFrom and setTo methods. If you do not set them, these ends will be defined from the first link with ends that is added to the set.

Parameters:
identifier - The identifier of this new instance.
Since:
JTGO 3.0
See Also:
IltAbstractLink.setFrom(ilog.tgo.model.IltObject), IltAbstractLink.setTo(ilog.tgo.model.IltObject)

IltLinkSet

public IltLinkSet(IlpClass ilpClass,
                  Object identifier)
Creates a new empty link set of the specified IlpClass and with the specified identifier.

Like all types of links, the new link set has no ends.

You can set its ends using the setFrom and setTo methods. If you do not set them, they will be defined from the first link with ends that is added to the set.

Parameters:
ilpClass - The business class of this new instance. It must be a subclass of IltLinkSet.
identifier - The identifier of this new instance.
Since:
JTGO 3.0
See Also:
IltAbstractLink.setFrom(ilog.tgo.model.IltObject), IltAbstractLink.setTo(ilog.tgo.model.IltObject)
Method Detail

addLinkSetListener

public void addLinkSetListener(IltLinkSet.LinkSetListener listener)
Internal method or field: do not use!

removeLinkSetListener

public void removeLinkSetListener(IltLinkSet.LinkSetListener listener)
Internal method or field: do not use!

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

getOwner

public IltObject getOwner()
Returns the owner of this link set, either a trail or a link bundle.

Internal method or field: do not use!

setOwner

public void setOwner(IltObject o)
Sets the owner of this link set, which can be a link bundle or a trail.

Internal method or field: do not use!

isEmpty

public boolean isEmpty()
Returns true if the link set gathers no links.

See Also:
IlpDataSource.getContainerInterface(java.lang.Object), IlpContainer

getCount

public int getCount()
Returns the number of links that the link set contains.

See Also:
IlpDataSource.getContainerInterface(java.lang.Object), IlpContainer

hasLink

public boolean hasLink(IltAbstractLink link)
Deprecated. Please use the datasource methods instead.

Returns true if the specified link is in the link set.

Parameters:
link - The link to be tested.
See Also:
IlpDataSource.getContainerInterface(java.lang.Object), IlpContainer
Deprecated Since:
JTGO 4.0

addLink

public void addLink(IltAbstractLink link)
Deprecated. Please use the datasource methods instead.

Adds the specified link to the link set. The link is given the same ends as the link set, except if its ends already match the link set ones. If the link set is in a manager, the link is added to that manager. If the link set is not in a manager and has no ends, it is assigned the ends of the link, if any.

Parameters:
link - The link to be added to the link set.
See Also:
IlpDataSource.getContainerInterface(java.lang.Object), IlpDefaultDataSource.setParent(java.lang.Object, java.lang.Object), IlpDefaultDataSource.setChildren(java.lang.Object, java.util.List), IlpContainer
Deprecated Since:
JTGO 4.0

removeLink

public boolean removeLink(IltAbstractLink link)
Deprecated. Please use the datasource methods instead.

Tries to remove the specified link from the link set. If the link belongs to the link set, this method removes it from the link set and returns true. Otherwise, this method does nothing and returns false.

Once removed, the link keeps the same ends. It is not removed from the managers it is in. The link removed from the set will be displayed beside the link set.

Parameters:
link - The link to be removed from the link set.
See Also:
IlpDataSource.getContainerInterface(java.lang.Object), IlpDefaultDataSource.setParent(java.lang.Object, java.lang.Object), IlpDefaultDataSource.setChildren(java.lang.Object, java.util.List), IlpContainer
Deprecated Since:
JTGO 4.0

removeAllLinks

public void removeAllLinks()
Deprecated. Please use the datasource methods instead.

Removes all the links from the link set. The links keep their ends and remain in the managers they were in. They will appear beside the link set.

See Also:
IlpDataSource.getContainerInterface(java.lang.Object), IlpDefaultDataSource.setParent(java.lang.Object, java.lang.Object), IlpDefaultDataSource.setChildren(java.lang.Object, java.util.List), IlpContainer
Deprecated Since:
JTGO 4.0

getLinks

public Enumeration getLinks()
Deprecated. Please use the datasource methods instead.

Returns the collection of links in the link set as an Enumeration.

Returns:
An enumeration of IltAbstractLink.
See Also:
IlpDataSource.getContainerInterface(java.lang.Object), IlpContainer
Deprecated Since:
JTGO 4.0

getChildren

public Enumeration getChildren()
Returns the list of children objects, contained in this object. This method is overwritten by the objects which contain elements, such as shelves, card carriers and link sets.

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

createGraphic

public void createGraphic(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.

Ensures that the link set and all its links have a graphic representation in the specified manager.

Note: This method is not supposed to be used when this IltLinkSet is in a data source.

Overrides:
createGraphic in class IltObject
Deprecated Since:
JTGO 3.5

preCreateGraphic

public IltGraphic preCreateGraphic(IltGraphicManager manager)
Creation of an IltGraphic.

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

postCreateGraphic

public void postCreateGraphic(IltGraphicManager manager,
                              IltGraphic graphic)
This method is called to add the link to a manager, for instance at the end of computeGraphic. Here we add or update the links contained in the link set.

Overrides:
postCreateGraphic in class IltAbstractLink
Internal method or field: do not use!

removeGraphic

public void removeGraphic(IltGraphicManager manager)
Removes the graphic representation of this link from the given manager. What is new here is that we also remove from the manager all the links gathered by this link set.

Overrides:
removeGraphic in class IltAbstractLink
Internal method or field: do not use!

getWidth

public float getWidth(IltGraphicManager manager,
                      IltGraphic graphic)
Returns the width of the graphic representation.

Specified by:
getWidth in class IltAbstractLink
Internal method or field: do not use!

setFrom

public void setFrom(IltGraphicManager manager,
                    IltObject from)
Sets the object that is to use as the first extremity of the link in the given manager. The contained links are changed accordingly if one of their end is the current from end of the link set.

Overrides:
setFrom in class IltAbstractLink
Parameters:
manager - the manager where to change the link's from end
from - the new from end of the link
Internal method or field: do not use!

setTo

public void setTo(IltGraphicManager manager,
                  IltObject to)
Sets the object that is to use as the second extremity of the link in the given manager. The contained links are changed accordingly if one of their end is the current to end of the link set.

Overrides:
setTo in class IltAbstractLink
Parameters:
manager - the manager where to change the link's to end
to - the new to end of the link
Internal method or field: do not use!

setNextFrom

public 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. This method is called on all the links in the set, too.

Overrides:
setNextFrom in class IltAbstractLink
See Also:
IltAbstractLink.setFrom(ilog.tgo.model.IltObject)
Internal method or field: do not use!

setNextTo

public 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. This method is called on all the links in the set, too.

Overrides:
setNextTo in class IltAbstractLink
See Also:
IltAbstractLink.setTo(ilog.tgo.model.IltObject)
Internal method or field: do not use!

getLinkDistance

public float getLinkDistance(IltGraphicManager manager)
Deprecated. Please use CSS property linkDistance instead.

Returns the distance between two adjacent links in the link set for the specified manager.

Parameters:
manager - The manager to which the link set belongs.

Note: This method is not supposed to be used when this IltLinkSet is in a data source.

Deprecated Since:
JTGO 3.5

getLinkDistance

public float getLinkDistance(IltGraphicManager manager,
                             IltGraphic graphic)
Deprecated. Please use CSS property linkDistance instead.

Returns the distance between two adjacent links in the link set for the specified manager.

Parameters:
manager - The manager to which the link set belongs.
graphic - The graphic representation in this manager.

Note: This method is not supposed to be used when this IltLinkSet is in a data source.

Deprecated Since:
JTGO 3.5

setLinkDistance

public void setLinkDistance(IltGraphicManager manager,
                            float d)
Deprecated. Please use CSS property linkDistance instead.

Sets the distance between two adjacent links in the link set for the specified manager.

Parameters:
manager - The manager to which the link set belongs.
d - The distance between two links.

Note: This method is not supposed to be used when this IltLinkSet is in a data source.

Deprecated Since:
JTGO 3.5

getLinkDistance

public float getLinkDistance()
Deprecated. Please use CSS property linkDistance instead.

Returns the distance that will separate two adjacent links in the link set the next times the link set will be added to a manager. This value initially equals to IltAbstractLink.DefaultLinkDistance.

See Also:
IltAbstractLink.DefaultLinkDistance
Deprecated Since:
JTGO 3.5

setLinkDistance

public void setLinkDistance(float d)
Deprecated. Please use CSS property linkDistance instead.

Sets the distance between two adjacent links in the link set.

Deprecated Since:
JTGO 3.5

initializeCreatedGraphic

public void initializeCreatedGraphic(IltGraphicManager manager,
                                     IltGraphic graphic)
This is called before adding a graphic representation to a given view. Here we initialize the link distance.

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

createBase

public ilog.tgo.graphic.internal.base.IltBaseElement createBase(IltcGraphicElementAggregate root)
Description copied from class: IltObject
Creates a base element, suitable for this particular kind of object, for use with the Symbolic Graphic Representation Style.

Specified by:
createBase in class IltObject
See Also:
IltCompositeGraphic.createBase(IltcGraphicElementAggregate, IltObject), IltObject.createTinyBase(IltcGraphicElementAggregate)
Internal method or field: do not use!

copyFrom

protected void copyFrom(IltObject o)
Description copied from class: IltObject
Copies the attributes from an original object.

Overrides:
copyFrom in class IltObject
See Also:
IltObject.cloneForRendering(boolean)
Internal method or field: do not use!

getMappedForUserList

public ilog.util.internal.IlAVector getMappedForUserList()
Overrides:
getMappedForUserList in class IltObject
Internal method or field: do not use!


Copyright © 1996-2007 ILOG S.A. All rights reserved.   Documentation homepage.   . All Rights Reserved.