public abstract class IltAbstractLink extends IltObject
IltObject.ListPrimaryStateStyleValueProvider, IltObject.LogicalType, IltObject.TinyType
Modifier and Type | Field and Description |
---|---|
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. |
_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
VALUE_NOT_SET
Constructor and Description |
---|
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. |
Modifier and Type | Method and Description |
---|---|
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. |
double |
getWidth(IltGraphicManager manager)
Deprecated.
|
abstract double |
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.
|
__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
addAttributeValueListener, fireEvent, getAttributeGroup, getAttributeValue, getAttributeValue, getAttributeValueByName, getIdentifier, getIlpClass, getLocalAttributeValues, getObjectSupport, hasAttributeValue, removeAttributeValueListener, setAttributeValue, setAttributeValueByName, setLocalAttributeValues, setObjectSupport
public static IltObjectInfo metainfo
IltObject
class.protected transient PropertyChangeSupport propSupport
public static float DefaultLinkDistance
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
.
IltLinkPort
,
IltShortLinkLayout
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
.
IltLinkPort
,
IltShortLinkLayout
@Deprecated public static IlpEnumKey FromPort
fromPort
instead.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
.IltObjectCustomization.getFromPort()
,
IltLinkPort
,
IltShortLinkLayout
@Deprecated public static IlpEnumKey ToPort
toPort
instead.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
.IltObjectCustomization.getToPort()
,
IltLinkPort
,
IltShortLinkLayout
@Deprecated public static IlpFloatKey InnerCenterWidth
@Deprecated public static IlpFloatKey InnerBorderWidth
@Deprecated public static IlpLineStyleKey InnerLineStyle
@Deprecated public static IlpColorKey InnerForegroundColor
@Deprecated public static IlpColorKey InnerBackgroundColor
public IltAbstractLink(Object identifier)
IltAbstractLink
part of a link instance.
This constructor is only here to be called by subclasses.identifier
- the identifier of this new instancepublic IltAbstractLink(IlpClass ilpClass, Object identifier)
IltAbstractLink
part of a link instance.
This constructor is only here to be called by subclasses.public IltAbstractLink(IltObjectState state, String label)
IltAbstractLink
part of a link instance.
This constructor is only here to be called by subclasses.state
- its semantic statelabel
- its labelpublic static IltObjectInfo GetIlpClass()
@Deprecated public static IltLegend GetClassLegend()
public IltLinkSet getLinkSet()
IltLinkSet
that implements the link set. If the
link is not in a link set
this method returns null
.public IltLinkSet _getLinkSet()
IltLinkSet
that implements the link set,
regardless of whether the link set implements a bundle or not.public void _setLinkSet(IltLinkSet linkSet)
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.linkSet
- the new link setIltLinkSet.addLink(ilog.tgo.model.IltAbstractLink)
public ilog.tgo.graphic.internal.IltGraphicRepresentationStyle getGraphicRepresentationStyle(IltCompositeGraphic graphic)
IltCompositeGraphic
when the graphical representation of this object is being computed.getGraphicRepresentationStyle
in class IltObject
public IltAbstractLink getDelegateFromTo()
public void addPropertyChangeListener(PropertyChangeListener listener)
listener
- The PropertyChangeListener to be addedpublic void removePropertyChangeListener(PropertyChangeListener listener)
listener
- The PropertyChangeListener to be removedpublic IltObject getLogicalFrom()
getFrom
.getFrom()
public IltObject getFrom()
public IltObject getLogicalTo()
getTo
.getTo()
public IltObject getTo()
public void setLogicalFrom(IltObject from)
setNextFrom
is used
to set a specific first extremity for the link in the corresponding
manager.public void setFrom(IltObject from)
public void setLogicalTo(IltObject to)
setNextTo
is used
to set a specific second extremity for the link in the corresponding
manager.public void setTo(IltObject to)
public void setFromOverride(IltGraphicManager manager, IltObject newEnd)
newEnd
- a telecom object or null
public void setToOverride(IltGraphicManager manager, IltObject newEnd)
newEnd
- a telecom object or null
public IltObject getFrom(IltGraphic graphic)
graphic
- the graphic whose from end is queriedpublic IltObject getTo(IltGraphic graphic)
graphic
- the graphic whose to end is queriedpublic IltObject getFrom(IltGraphicManager manager)
getLogicalFrom
if the link is not in the manager.manager
- the manager where to look for the link's from endpublic IltObject getTo(IltGraphicManager manager)
getLogicalTo
if the link is not in the manager.manager
- the manager where to look for the link's to endpublic void setFrom(IltGraphicManager manager, IltObject from)
manager
- the manager where to change the link's from endfrom
- the new from end of the linkpublic void setTo(IltGraphicManager manager, IltObject to)
manager
- the manager where to change the link's to endto
- the new to end of the linkpublic void setNextFrom(IltObject nextFrom)
setLogicalFrom
; it is reset by the
addition of the link to the manager.setFrom(ilog.tgo.model.IltObject)
public void setNextTo(IltObject nextTo)
setLogicalTo
; it is reset by the
addition of the link to the manager.setTo(ilog.tgo.model.IltObject)
public IltObject getNextFrom(IltGraphicManager manager)
setLogicalFrom
; it is overridden by calling
setNextFrom
, and reset by the addition of the link to a
manager.public IltObject getNextTo(IltGraphicManager manager)
setLogicalTo
; it is overridden by calling
setNextTo
, and reset by the addition of the link to a
manager.public Object transformPosition(IltGraphicManager manager, Object position)
computeGraphic (mgr, position)
transformPosition
in class IltObject
public boolean isValidPosition(Object position)
IltObject
This function overridden in subclasses. Accepted positions are:
IlvPoint
for IltNetworkElement
,
IltOffPageConnector
, IltShelf
,
IlvRect
for IltRectGroup
,
IltShelfItem
,
IlpPolyline
for IltAbstractLink
,
IltLinearGroup
,
IlpPolygon
for IltPolyGroup
.
isValidPosition
in class IltObject
public ilog.tgo.graphic.internal.IltGraphicUpdate createPositionUpdate(Object position, Object positionInManager)
null
, the position/shape set will be
the default value.createPositionUpdate
in class IltObject
position
- the shape in stationary coordinatespositionInManager
- the shape in manager coordinates (takes into
account the logical zoom transformer)public boolean usingDefaultShape(IltGraphicManager manager)
usingDefaultShape
in class IltObject
public void updateShapeGraphicSettingInManager(IltGraphicManager manager, IltGraphic graphic, Object newShape, IlpPositionSource reason)
updateShapeGraphicSettingInManager
in class IltObject
newShape
- the new shape in stationary coordinates; null
means the current value of the shape graphic settingreason
- the reason for the shape change, or null
if
unknownprotected void forgetShapeGraphicSettingInManager(IltGraphicManager manager, IltGraphic graphic)
forgetShapeGraphicSettingInManager
in class IltObject
@Deprecated public IlpPolyline getShape(IltGraphicManager manager)
IlpNetwork
, is enough to make its graphic representation
visible. When working with datasource, please use getPosition
instead.IlpPolyline
the current shape of the
link in the given manager. The result must be cloned to be modified.manager
- the manager in which the shape is queried
Note that this method is not supposed to be used when this
IltAbstractLink
is in a DataSource.
protected IlpPolyline getShape(IltGraphicManager manager, IltGraphic graphic)
@Deprecated public void setShape(IltGraphicManager manager, IlpPolyline shape)
IlpNetwork
, is enough to make its graphic representation
visible. When working with datasources, please use setPosition
instead.IltCompositeGrapher.setLinkSkeleton
.manager
- the manager where to set the shapeshape
- the open polyline to use for the shape
Note that this method is not supposed to be used when this
IltAbstractLink
is in a DataSource.
@Deprecated public void setShape(IltGraphicManager manager, IlpPolyline shape, IlpPositionSource reason)
IlpNetwork
, is enough to make its graphic representation
visible. When working with datasources, please use setPosition
instead.IltCompositeGrapher.setLinkSkeleton
.manager
- the manager where to set the shapeshape
- the open polyline to use for the shapereason
- the reason for the shape change, or null
if unknown
Note that this method is not supposed to be used when this
IltAbstractLink
is in a DataSource.
@Deprecated public void setShape(IltGraphicManager manager, IltLogicalPolyline shape)
IlpPolyline
instead of IltLogicalPolyline
.IltCompositeGrapher.setLinkSkeleton
.manager
- the manager where to set the shapeshape
- the open polyline to use for the shapepublic void setShape(IltGraphicManager manager, IltGraphic graphic, IlpPolyline shape, IlpPositionSource reason)
protected IlpPolyline getShapeInManager(IltGraphicManager manager, IltGraphic graphic)
public IlpPolyline getShapeInManager(IltGraphic graphic)
protected void setShapeInManagerAux(IltGraphicManager manager, IltGraphic graphic, IlpPolyline shape, IlpPositionSource reason, boolean assumeVisible)
public void setShapeInManager(IltGraphicManager manager, IltGraphic graphic, IlpPolyline shape, IlpPositionSource reason, boolean assumeVisible)
manager
- the manager where to set the shapegraphic
- the composite graphic representing the link in the managershape
- the open polyline to use for the shape, in manager coordinatesreason
- the reason for the shape change, or null
if unknownassumeVisible
- true if the graphic object is known become visible soonprotected IlvPoint getCenterPoint(IltGraphicManager manager, IltGraphic graphic)
getCenterPoint
in class IltObject
public void setCenterPoint(IltGraphicManager manager, IltGraphic graphic, IlvPoint position, IlpPositionSource reason)
setCenterPoint
in class IltObject
public IlvRect getBaseRectangle(IltGraphicManager manager)
getBaseRectangle
in class IltObject
null
if the base has no extent at allpublic void setBaseRectangle(IltGraphicManager manager, IlvRect newBaseRectangle)
setBaseRectangle
in class IltObject
public void setShapeGraphicSetting(IltGraphic graphic, Object newShape)
setShapeGraphicSetting
in class IltObject
public void setShapeInManagerGraphicSetting(IltGraphic graphic, Object newShape, IlpPositionSource reason)
setShapeInManagerGraphicSetting
in class IltObject
@Deprecated public double getWidth(IltGraphicManager manager)
manager
- the manager in which the shape is queried
Note that this method is not supposed to be used when this
IltAbstractLink
is in a DataSource.
public abstract double getWidth(IltGraphicManager manager, IltGraphic graphic)
public void initializeVisibleGraphic(IltGraphicManager manager, IltGraphic graphic)
initializeVisibleGraphic
in class IltObject
public void postCreateGraphic(IltGraphicManager manager, IltGraphic graphic)
postCreateGraphic
in class IltObject
public void removeGraphic(IltGraphicManager manager)
removeGraphic
in class IltObject
@Deprecated public void restoreVisibility(IltGraphicManager manager, IltGraphicSettings settings)
IlpNetwork
, is enough to make its graphic representation
visible. Once visible, it is updated automatically when needed.super.restoreVisibility
if it is not contained.restoreVisibility
in class IltObject
IltObject.setGraphicSettings(ilog.tgo.graphic.IltGraphicManager, ilog.tgo.graphic.IltGraphicSettings)
@Deprecated public void applyTransform(IltGraphicManager manager, IltGraphic graphic, IlvTransformer t, IlpPositionSource reason)
IltObject
IltGraphicManager
.
Note: t
is given relative to the stationary
coordinate system, which is the coordinate system used by the other
IltObject
subclasses API functions.
Note that this method is not supposed to be used when this
IltObject
is in a DataSource.
applyTransform
in class IltObject
manager
- The graphic manager where the object is displayed.graphic
- The graphic representation in the manager.t
- The transform parameter.reason
- The reason for the shape change, or null
if unknownIltObject.applyTransform(ilog.tgo.graphic.IltGraphicManager, ilog.views.IlvTransformer)
,
IltGraphicManager.getZoomTransformer()
public void setLinkLayoutProxyPresent(IltGraphicManager manager, boolean layoutable)
public IltLineSpec getRepresentation()
null
, the graphic representation
is determined by the semantic state.protected void copyFrom(IltAbstractLink other)
public void updateFrom(IltObject other)
updateFrom
in class IltObject
public String toString()
toString
in class IlpDefaultObject
public IltGraphic getOutermostParentGraphic(IltGraphicManager manager)
public static void ForceInit(ilog.tgo.util.internal.IltForceClassInit object)
© Copyright 2024 Rogue Wave Software, Inc., a Perforce company.. All Rights Reserved.