ilog.tgo.model
Class IltLinkBundle

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.IltLinkBundle
All Implemented Interfaces:
IlpAttributeValueHolder, IlpObject, IltContainer, IltStateHolder, ilog.tgo.model.internal.IltExpandableContainer, ilog.tgo.model.internal.IltOutsideExpandableContainer, ilog.tgo.model.state.event.IltObjectStateListener, IltWithProperties, IlWithProperties, EventListener

public class IltLinkBundle
extends IltAbstractLink
implements IltContainer, ilog.tgo.model.internal.IltExpandableContainer, ilog.tgo.model.internal.IltOutsideExpandableContainer

An IltLinkBundle is a container which can display at any time either an overview object (a link) or a set of detail objects (links having the same start and end nodes as the overview link).

XML format

In the XML format of the link bundle, you have to specify the extremities.


Nested Class Summary
 
Nested classes/interfaces inherited from class ilog.tgo.model.IltObject
IltObject.ListPrimaryStateStyleValueProvider, IltObject.LogicalType, IltObject.TinyType
 
Field Summary
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
IltLinkBundle()
          Creates a new container.
IltLinkBundle(IlpClass ilpClass, Object identifier)
          Creates a new container with the given class and identifier.
IltLinkBundle(IltAbstractLink overview, Enumeration detail)
          Deprecated. Please use the constructor that takes an object identifier and define the link bundle relationships in the datasource.
IltLinkBundle(IltAbstractLink overview, IltChildrenModel detail)
          Deprecated. Please use the constructor that takes an object identifier and define the link bundle relationships in the datasource.
IltLinkBundle(IltAbstractLink overview, IltStateHolder[] detail)
          Deprecated. Please use the constructor that takes an object identifier and define the link bundle relationships in the datasource.
IltLinkBundle(Object identifier)
          Creates a new container with the given identifier.
 
Method Summary
 void addLink(IltAbstractLink link)
          Deprecated. Please use the datasource to define the containment relationship.
 IltObject cloneForRendering(boolean displayChildren)
          Creates a clone of this object for IltGraphicRenderer purposes only.
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.
 IlpAttributeGroup getAttributeGroup()
          Returns the model that defines which attributes are allowed in this instance.
 Object getAttributeValue(IlpAttribute attribute)
          Retrieves the value of an attribute of this object.
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.
 IltChildrenModel getDetailObjects()
          Deprecated. Please use datasources to store the containment relationship of your link bundle objects.
 IltDetailExpansionRenderer getDetailRenderer()
          Deprecated. Link bundle rendering is automatically accomplished by the Network component. Only in-place expansion is currently supported.
static IltObjectInfo GetIlpClass()
          Returns the IlpClass corresponding to this Java class.
 ilog.tgo.model.internal.IltLinkBundleModifier getLinkBundleModifier()
           
 float getLinkDistance()
          Deprecated. Please use CSS property linkDistance instead.
 float getLinkDistance(IltGraphicManager manager)
          Deprecated. Please use CSS property linkDistance instead.
 IltStateHolder getOverviewObject()
          Deprecated. This method shall not be used when the object is in a datasource.
 IltStatePropagator getStatePropagator()
          Deprecated. State propagation at the graphic level is not supported in the Network Component.
 float getWidth(IltGraphicManager manager, IltGraphic graphic)
          Returns the width of the graphic representation.
 boolean hasAttributeValue(IlpAttribute attribute)
          Returns true if the requested attribute is part of the attribute group of this instance and if a value has been set for this attribute.
 void initializeCreatedGraphic(IltGraphicManager manager, IltGraphic graphic)
          This method must be called just after preCreateGraphic to initialize any needed property or graphic setting.
protected  void initializeLinkBundle(IltAbstractLink overview, IltChildrenModel detail)
           
 boolean isExpanded(IltGraphicManager manager)
          Deprecated. Please use the Network component and its services to manage subnetworks and link bundles instead.
 boolean isOutsideExpanded()
          Deprecated. Outside expandable containers are not supported by the Network component.
 void removeGraphic(IltGraphicManager manager)
          Deprecated. Removing an object from the datasource containing it is enough to make its graphic representation disappear.
 void removeLink(IltAbstractLink link)
          Deprecated. Please use the datasource to define the containment relationship.
 void setAttributeValue(IlpAttribute attribute, Object value)
          Sets the value of an attribute of this object.
 void setDetailObjects(IltChildrenModel details)
          Deprecated. Containment relationships should be stored in a Datasource. Please use the DataSource API to declare the structure of your objects.
 void setDetailRenderer(IltDetailExpansionRenderer renderer)
          Deprecated. Link bundle rendering is automatically accomplished by the Network component. Only in-place expansion is currently supported.
 void setExpanded(IltGraphicManager manager, boolean expansionVisible)
          Deprecated. Please use the Network component and its services to manage subnetworks and link bundles instead.
 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 setLinkLayoutProxyPresent(IltGraphicManager manager, boolean layoutable)
          Sets the layoutability of the link in the given manager.
 void setOutsideExpanded(boolean expansionVisible)
          Deprecated. Outside expandable containers are not supported by the Network component.
 void setOverviewObject(IltAbstractLink overview)
          Deprecated. This method shall not be used when the object is in a datasource.
 void setOverviewObject(IltStateHolder overview)
          Sets or replaces the overview object.
 void setShape(IltGraphicManager manager, IltGraphic graphic, IlpPolyline shape, IlpPositionSource reason)
          Changes the shape graphic setting.
 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.
 void setStatePropagator(IltStatePropagator propagator)
          Deprecated. State propagation at the graphic level is not supported in the Network Component.
 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, getDelegateFromTo, getFrom, getFrom, getFrom, getGraphicRepresentationStyle, getLinkSet, getLogicalFrom, getLogicalTo, getNextFrom, getNextTo, getOutermostParentGraphic, getRepresentation, getShape, getShape, getShapeInManager, getShapeInManager, getTo, getTo, getTo, getWidth, initializeVisibleGraphic, isValidPosition, postCreateGraphic, removePropertyChangeListener, restoreVisibility, setBaseRectangle, setCenterPoint, setFrom, setFromOverride, setLogicalFrom, setLogicalTo, setNextFrom, setNextTo, setShape, setShape, setShape, setShapeGraphicSetting, 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, computeGraphic, computeGraphic, computeGraphic, computeGraphic, computeGraphic, computeGraphicAtPosition, 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, 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, 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, getAttributeValue, getAttributeValueByName, getIdentifier, getIlpClass, getLocalAttributeValues, getObjectSupport, removeAttributeValueListener, setAttributeValue, setAttributeValueByName, setLocalAttributeValues, setObjectSupport
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface ilog.tgo.model.IltContainer
setObjectState
 
Methods inherited from interface ilog.tgo.model.IltStateHolder
addStateChangedListener, getObjectState, removeStateChangedListener
 
Methods inherited from interface ilog.tgo.model.IltContainer
setObjectState
 
Methods inherited from interface ilog.tgo.model.IltStateHolder
addStateChangedListener, getObjectState, removeStateChangedListener
 
Methods inherited from interface ilog.tgo.model.IltContainer
setObjectState
 
Methods inherited from interface ilog.tgo.model.IltStateHolder
addStateChangedListener, getObjectState, removeStateChangedListener
 

Field Detail

metainfo

public static IltObjectInfo metainfo
Contains metainformation about this IltObject class.

Internal method or field: do not use!
Constructor Detail

IltLinkBundle

public IltLinkBundle()
Creates a new container.

The set of detail objects must be specified afterwards. The overview object will be a link.


IltLinkBundle

public IltLinkBundle(Object identifier)
Creates a new container with the given identifier.

The set of detail objects must be specified afterwards. The overview object will be a link.

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

IltLinkBundle

public IltLinkBundle(IlpClass ilpClass,
                     Object identifier)
Creates a new container with the given class and identifier.

The set of detail objects must be specified afterwards. The overview object will be a link.

Parameters:
ilpClass - the business class of this new instance. It must be a subclass of IltLinkBundle
identifier - the identifier of this new instance
Since:
JTGO 3.0

IltLinkBundle

public IltLinkBundle(IltAbstractLink overview,
                     IltChildrenModel detail)
Deprecated. Please use the constructor that takes an object identifier and define the link bundle relationships in the datasource.

Creates a new container with a given overview object and a given set of detail objects.

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

See Also:
IltDefaultDataSource, IltDefaultDataSource.setParent(java.lang.Object, java.lang.Object), IltDefaultDataSource.setChildren(java.lang.Object, java.util.List)
Deprecated Since:
JTGO 4.0

IltLinkBundle

public IltLinkBundle(IltAbstractLink overview,
                     Enumeration detail)
Deprecated. Please use the constructor that takes an object identifier and define the link bundle relationships in the datasource.

Creates a new container with a given overview object and a given set of detail objects.

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

Parameters:
overview - link that represents this object in its collapsed representation
detail - an enumeration of IltAbstractLink
See Also:
IltDefaultDataSource, IltDefaultDataSource.setParent(java.lang.Object, java.lang.Object), IltDefaultDataSource.setChildren(java.lang.Object, java.util.List)
Deprecated Since:
JTGO 4.0

IltLinkBundle

public IltLinkBundle(IltAbstractLink overview,
                     IltStateHolder[] detail)
Deprecated. Please use the constructor that takes an object identifier and define the link bundle relationships in the datasource.

Creates a new container with a given overview object and a given set of detail objects.

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

Parameters:
overview - link that represents this object in its collapsed representation
detail - an array of IltAbstractLink
See Also:
IltDefaultDataSource, IltDefaultDataSource.setParent(java.lang.Object, java.lang.Object), IltDefaultDataSource.setChildren(java.lang.Object, java.util.List)
Deprecated Since:
JTGO 4.0
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

getDetailObjects

public IltChildrenModel getDetailObjects()
Deprecated. Please use datasources to store the containment relationship of your link bundle objects.

Returns the abstract model describing the set of detail objects.

Specified by:
getDetailObjects in interface IltContainer
See Also:
IltDefaultDataSource, IlpDataSource.getContainerInterface(java.lang.Object), IlpContainer
Deprecated Since:
JTGO 4.0

getStatePropagator

public IltStatePropagator getStatePropagator()
Deprecated. State propagation at the graphic level is not supported in the Network Component.

Returns the state propagation rules for the container's state.

Specified by:
getStatePropagator in interface IltContainer
Deprecated Since:
JTGO 4.0

isExpanded

public boolean isExpanded(IltGraphicManager manager)
Deprecated. Please use the Network component and its services to manage subnetworks and link bundles instead.

Returns true if the detail objects are currently visible instead of the overview object.

See Also:
IlpGraphView.isExpanded(ilog.cpl.model.IlpRepresentationObject)
Deprecated Since:
JTGO 3.5

setExpanded

public void setExpanded(IltGraphicManager manager,
                        boolean expansionVisible)
Deprecated. Please use the Network component and its services to manage subnetworks and link bundles instead.

Changes the visibility of the in-place expansion of the container.

Note that this method is not supposed to be used when this IltLinkBundle is in a DataSource.

Specified by:
setExpanded in interface ilog.tgo.model.internal.IltExpandableContainer
See Also:
IlpGraphView.expandObject(ilog.cpl.model.IlpRepresentationObject), IlpGraphView.collapseObject(ilog.cpl.model.IlpRepresentationObject)
Deprecated Since:
JTGO 3.5

initializeLinkBundle

protected void initializeLinkBundle(IltAbstractLink overview,
                                    IltChildrenModel detail)
Internal method or field: do not use!

getOverviewObject

public IltStateHolder getOverviewObject()
Deprecated. This method shall not be used when the object is in a datasource.

Returns the overview object.

Specified by:
getOverviewObject in interface IltContainer
Returns:
an IltAbstractLink
Deprecated Since:
JTGO 4.0

setOverviewObject

public void setOverviewObject(IltAbstractLink overview)
Deprecated. This method shall not be used when the object is in a datasource.

Sets or replaces the overview object.

Deprecated Since:
JTGO 4.0

setOverviewObject

public void setOverviewObject(IltStateHolder overview)
Description copied from interface: IltContainer
Sets or replaces the overview object.

Specified by:
setOverviewObject in interface IltContainer
Internal method or field: do not use!

setDetailObjects

public void setDetailObjects(IltChildrenModel details)
Deprecated. Containment relationships should be stored in a Datasource. Please use the DataSource API to declare the structure of your objects.

Sets or replaces the set of detail objects.

Note that the set of detail objects can change dynamically, see class IltChildrenModelListener.

Specified by:
setDetailObjects in interface IltContainer
See Also:
IltDefaultDataSource, IltDefaultDataSource.setParent(java.lang.Object, java.lang.Object), IltDefaultDataSource.setChildren(java.lang.Object, java.util.List)
Deprecated Since:
JTGO 4.0

addLink

public void addLink(IltAbstractLink link)
Deprecated. Please use the datasource to define the containment relationship.

Adds a link to the set of detail objects.

Note:This function can only be called when the children model is the default one and has not been replaced.

See Also:
IltDefaultDataSource, IltDefaultDataSource.setParent(java.lang.Object, java.lang.Object), IltDefaultDataSource.setChildren(java.lang.Object, java.util.List)
Deprecated Since:
JTGO 4.0

removeLink

public void removeLink(IltAbstractLink link)
Deprecated. Please use the datasource to define the containment relationship.

Removes a link from the set of detail objects.

Note:This function can only be called when the children model is the default one and has not been replaced.

See Also:
IltDefaultDataSource, IltDefaultDataSource.setParent(java.lang.Object, java.lang.Object), IltDefaultDataSource.setChildren(java.lang.Object, java.util.List)
Deprecated Since:
JTGO 4.0

getLinkBundleModifier

public final ilog.tgo.model.internal.IltLinkBundleModifier getLinkBundleModifier()
Since:
JViews 8.0
Internal method or field: do not use!

setStatePropagator

public void setStatePropagator(IltStatePropagator propagator)
Deprecated. State propagation at the graphic level is not supported in the Network Component.

Sets or replaces the state propagation rules for the container's state.

Specified by:
setStatePropagator in interface IltContainer
Deprecated Since:
JTGO 4.0

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!

initializeCreatedGraphic

public void initializeCreatedGraphic(IltGraphicManager manager,
                                     IltGraphic graphic)
Description copied from class: IltObject
This method must be called just after preCreateGraphic to initialize any needed property or graphic setting. This method is the one implemented by sub-classes of IltObject in order to execute their proper initialization.

Overrides:
initializeCreatedGraphic 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 this object has a graphic representation in a given IltGraphicManager. This ensures that the subobjects have a graphic representation in the same IltGraphicManager as well.

Note that this method is not supposed to be used when this IltLinkBundle is in a DataSource.

Overrides:
createGraphic in class IltObject
Deprecated Since:
JTGO 3.5

setShape

public void setShape(IltGraphicManager manager,
                     IltGraphic graphic,
                     IlpPolyline shape,
                     IlpPositionSource reason)
Changes the shape graphic setting.

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

setShapeInManager

public 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. The given shape is not cloned by this method, and has already been adjusted to take into account the manager's zoom transformer. This method is used by the layout optimizers, because they may handle composite graphics that are not yet associated with their links.

Overrides:
setShapeInManager in class IltAbstractLink
Parameters:
manager - the manager where to set the shape
graphic - the composite graphic representing the link in the manager
shape - the open polyline to use for the shape, in manager coordinates
reason - the reason for the shape change, or null if unknown
assumeVisible - true if the graphic object is known become visible soon
Internal method or field: do not use!

removeGraphic

public void removeGraphic(IltGraphicManager manager)
Deprecated. Removing an object from the datasource containing it is enough to make its graphic representation disappear.

Removes the graphic representation of this object from a given IltGraphicManager.

Note that this method is not supposed to be used when this IltLinkBundle is in a DataSource.

Overrides:
removeGraphic in class IltAbstractLink
Deprecated Since:
JTGO 3.5

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 link is redrawn with its new shape.

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 link is redrawn with its new shape.

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!

getWidth

public float getWidth(IltGraphicManager manager,
                      IltGraphic graphic)
Description copied from class: IltAbstractLink
Returns the width of the graphic representation. This function assumes that the graphic representation exists and is visible (or about to become visible).

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

setLinkLayoutProxyPresent

public void setLinkLayoutProxyPresent(IltGraphicManager manager,
                                      boolean layoutable)
Description copied from class: IltAbstractLink
Sets the layoutability of the link in the given manager.

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

getLinkDistance

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

Returns the value used in the given manager for the distance between adjacent links in the expanded link bundle.

Parameters:
manager - the manager where the link bundle's link distance is queried

Note that this method is not supposed to be used when this IltLinkBundle is in a DataSource.

Deprecated Since:
JTGO 4.0