public class IltNetworkElement extends IltObject
Modifier and Type | Class and Description |
---|---|
static class |
IltNetworkElement.Family
This enumeration lists the families of a network element.
|
static class |
IltNetworkElement.Function
This enumeration lists the functions of a network element.
|
static class |
IltNetworkElement.Type
Here is a list of the types of network elements.
|
IltObject.ListPrimaryStateStyleValueProvider, IltObject.LogicalType, IltObject.TinyType
Modifier and Type | Field and Description |
---|---|
static IlpEnumKey |
AlarmLossOfConnectivityPosition |
static IlpIntegerKey |
BSCActiveBorderThickness
Deprecated.
Please use property
bscActiveBorderWidth instead. |
static IlpIntegerKey |
BTSActiveBorderThickness
Deprecated.
Please use property
btsActiveBorderWidth instead. |
static IlpBooleanKey |
DisplayAlarmCountWhenCollapsed
Deprecated.
Please use the property
alarmCountVisible with
attribute selectors.
The following CSS extract illustrates how you should proceed:
object."ilog.tgo.model.IltNetworkElement" { collapsed: true; alarmCountVisible: false; alarmCountAbbreviated: true; } object."ilog.tgo.model.IltNetworkElement"[newAlarmHighestSeverity] { collapsed: false; alarmCountVisible: true; alarmCountAbbreviated: false; } |
static IlpBooleanKey |
ExpandOnNewAlarms
Deprecated.
Please use property
collapsed with the attribute
selectors, as illustrated in the following example:
object."ilog.tgo.model.IltNetworkElement" { collapsed: true; } object."ilog.tgo.model.IltNetworkElement"[newAlarmHighestSeverity] { collapsed: false; } |
static IlpBooleanKey |
FamilyAntialiasing
Deprecated.
Please use property
familyAntialiasing instead. |
static IltAttribute |
FamilyAttribute
Attribute used to define the family of the network element.
|
static IlpColorKey |
FamilyBackgroundColor
Deprecated.
Please use property
familyBackground instead. |
static IlpFontKey |
FamilyFont
Deprecated.
Please use property
familyFont instead. |
static IlpColorKey |
FamilyForegroundColor
Deprecated.
Please use property
familyForeground instead. |
static IlpStringKey |
FamilyLabel |
static IlpBooleanKey |
FamilyVisible
Deprecated.
Please use property
familyVisible instead. |
static IltAttribute |
FunctionAttribute
Attribute used to define the function of the network element.
|
static IlpImageKey |
FunctionIcon |
static IlpBooleanKey |
FunctionVisible
Deprecated.
Please use property
functionVisible instead. |
static IlpBooleanKey |
IsCollapsed
Deprecated.
Please use property
collapsed instead. |
static IlpColorKey |
MDGreenButtonColor
Deprecated.
Please use property
mdGreenButtonColor instead. |
static IlpColorKey |
MDRedButtonColor
Deprecated.
Please use property
mdRedButtonColor instead. |
static IlpColorKey |
MDShadowColor
Deprecated.
Please use property
mdShadowColor instead. |
static IltObjectInfo |
metainfo
Contains metainformation about this
IltObject class. |
static IlpIntegerKey |
MSCActiveBorderThickness
Deprecated.
Please use property
mscActiveBorderWidth instead. |
static IlpColorKey |
NMWButtonColor
Deprecated.
Please use property
nmwButtonColor instead. |
static IlpColorKey |
NMWScreenColor
Deprecated.
Please use property
nmwScreenColor instead. |
static IltAttribute |
PartialAttribute
An attribute that is used to define whether the network element is a
partial network element or not.
|
static IlpImageKey |
PartialIcon |
static IlpBooleanKey |
PartialIconVisible |
static IlpColorKey |
ServerButtonColor
Deprecated.
Please use property
serverButtonColor instead. |
static IlpColorKey |
ServerGridColor
Deprecated.
Please use property
serverGridColor instead. |
static IltAttribute |
ShortcutAttribute
An attribute that is used to define whether the network element is a
shortcut network element or not.
|
static IlpKey |
SizeRatio
Deprecated.
Please use property
sizeRatio instead. |
static IltAttribute |
TypeAttribute
Attribute used to define the type of the network element.
|
_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 |
---|
IltNetworkElement(IlpClass ilpClass,
Object identifier)
Creates a new network element with a given identifier and a given
IlpClass . |
IltNetworkElement(Object identifier)
Creates a new network element with a given identifier.
|
IltNetworkElement(String label,
IltNetworkElement.Type type,
IltNetworkElement.Function function,
IltNetworkElement.Family family,
IltObjectState state)
Creates a new node.
|
IltNetworkElement(String label,
IltNetworkElement.Type type,
IltObjectState state)
Creates a new node.
|
Modifier and Type | Method and Description |
---|---|
void |
applyTransform(IltGraphicManager manager,
IltGraphic graphic,
IlvTransformer t,
IlpPositionSource reason)
Deprecated.
|
void |
computeGraphic(IltGraphicManager manager,
IlvPoint position)
Deprecated.
To make this object visible at a given position, please use
the method
setPosition and add this object to a
datasource. |
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 (GRS).
|
ilog.tgo.graphic.internal.IltGraphicUpdate |
createPositionUpdate(Object position,
Object positionInManager)
Creates the graphic update responsible for setting the position/shape to
a graphical representation.
|
ilog.tgo.graphic.internal.base.IltBaseElement |
createTinyBase(IltcGraphicElementAggregate root)
Creates a base element, suitable for this particular kind of object, for
us with the Tiny Graphic Representation Style (GRS).
|
Object |
defaultShape()
Returns the default shape, used when an object is made visible without
having been assigned a shape.
|
static void |
ForceInit(ilog.tgo.util.internal.IltForceClassInit object) |
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 shape graphic setting.
|
IlvPoint |
getCenterPointInManager(IltGraphicManager manager,
IltGraphic graphic)
Returns the position of the graphic representation in a given
IltGraphicManager.
|
static IltLegend |
GetClassLegend()
Deprecated.
The style API has been replaced by the cascading style
sheet mechanism. Refer to the User's Manual for further information.
|
IltNetworkElement.Family |
getFamily()
Returns the family of this object.
|
IltNetworkElement.Function |
getFunction()
Returns the function of this object.
|
static IltObjectInfo |
GetIlpClass()
Returns the
IlpClass corresponding to this Java class. |
ilog.util.internal.IlAVector |
getMappedForUserList() |
IltShortcutAttributeType |
getShortcut()
Returns if the network element is a shortcut or not.
|
IlvTransformer |
getSizeRatio(IltGraphicManager manager)
Deprecated.
Please use CSS property
sizeRatio instead. |
IltNetworkElement.Type |
getType()
Returns the type of this object.
|
protected void |
initializeObject(IltObjectState state,
String name)
This method is only called by the constructor.
|
boolean |
isCollapsed(IltGraphicManager manager)
Deprecated.
Please use CSS property
collapsed instead. |
boolean |
isPartial()
Returns if the network element is a partial element or not.
|
boolean |
isValidPosition(Object position)
Determines whether the argument is a valid position/shape for this type
of object.
|
void |
setAttributeValue(IlpAttribute attribute,
Object value)
Sets the value of an attribute of this object.
|
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 shape graphic setting.
|
void |
setCollapsed(IltGraphicManager manager,
boolean collapsed)
Deprecated.
Use CSS property
collapsed instead. |
void |
setFamily(IltNetworkElement.Family family)
Sets the family of this object.
|
void |
setFunction(IltNetworkElement.Function function)
Sets the function of this object.
|
void |
setPartial(boolean value)
Sets the network element as a partial element.
|
void |
setProperty(Object name,
Object value)
Sets the named property.
|
void |
setShortcut(IltShortcutAttributeType value)
Sets the network element as a shortcut.
|
void |
setSizeRatio(IltGraphicManager manager,
IlvTransformer mag)
Deprecated.
Please use CSS property
sizeRatio instead. |
void |
setType(IltNetworkElement.Type type)
Sets the type of this object.
|
String |
toString()
Returns the String representation of this IltNetworkElement's values.
|
Object |
transformPosition(IltGraphicManager manager,
Object position)
Applies the manager transformer to the position parameter.
|
void |
updateShapeGraphicSettingInManager(IltGraphicManager manager,
IltGraphic graphic,
Object newShape,
IlpPositionSource reason)
If the graphic representation is visible, updates the shape graphic
setting in manager coordinates.
|
__getIlpObject, addGraphicChangedListener, addStateChangedListener, applyTransform, applyTransform, applyTransform, applyTransformInManager, clearState, cloneForRendering, computeGraphic, computeGraphic, computeGraphic, computeGraphic, computeGraphic, computeGraphicAtPosition, copyFrom, createGraphic, debug, endDelayingComputeGraphic, EndDelayingComputeGraphic, fireAllGraphicChanged, fireGraphicChanged, forgetShapeGraphicSettingInManager, FromGraphic, getAlarmState, getAttacherInfo, getAttacherInfoController, getAutomaticDecorationsDirection, getBaseRectangleInManager, GetBaseStyleMapping, getCenterPoint, getChildren, getDefaultLabelPosition, getGraphic, getGraphic, getGraphicInHierarchy, getGraphicInteractions, getGraphicNotNull, getGraphicNotNullInHierarchy, getGraphicRepresentationStyle, 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, initializeCreatedGraphic, initializeDefaultValues, initializeVisibleGraphic, InitStyle, isEditable, isNearlyVisible, IsPropertyTransient, isSelected, isSelected, isVisible, mapDirection, mappedForUser, objectStateChanged, objectStateCleared, objectStateSet, postCreateGraphic, preCreateGraphic, removeGraphic, removeGraphic, removeGraphic, removeGraphicChangedListener, removeGraphicSetting, removeGraphicSetting, removeProperty, removeStateChangedListener, resetLabelOffset, resetLabelOffset, resetLabelPosition, resetLabelPosition, resetState, restoreVisibility, setAutomaticDecorationsDirection, setAutomaticDecorationsDirection, setBaseRectangleInManager, setCenterPoint, setCenterPoint, setCenterPointInManager, setEditable, setGraphic, setGraphicSetting, setGraphicSetting, setGraphicSetting, setGraphicSettings, setIlpClass, setLabel, setLabelOffset, setLabelOffset, setLabelPosition, setLabelPosition, setLegend, setLogicalType, setName, setObjectState, setPosition, SetPropertyTransient, setSelected, setSelectedInternal, setShapeGraphicSetting, setShapeInManagerGraphicSetting, setState, setState, setTinyType, setVisible, startDelayingComputeGraphic, StartDelayingComputeGraphic, startVisibility, updateFrom, usingDefaultShape
addAttributeValueListener, fireEvent, getAttributeGroup, getAttributeValue, getAttributeValue, getAttributeValueByName, getIdentifier, getIlpClass, getLocalAttributeValues, getObjectSupport, hasAttributeValue, removeAttributeValueListener, setAttributeValue, setAttributeValueByName, setLocalAttributeValues, setObjectSupport
public static IltObjectInfo metainfo
IltObject
class.public static IltAttribute TypeAttribute
Attribute name: type
.
Value type: IltNetworkElement.Type
.
getType()
,
setType(ilog.tgo.model.IltNetworkElement.Type)
public static IltAttribute FunctionAttribute
Attribute name: function
.
Value type: IltNetworkElement.Function
.
getFunction()
,
setFunction(ilog.tgo.model.IltNetworkElement.Function)
public static IltAttribute FamilyAttribute
IltNetworkElement.Type.NE
.
Attribute name: family
.
Value type: IltNetworkElement.Family
.
getFunction()
,
setFunction(ilog.tgo.model.IltNetworkElement.Function)
public static IltAttribute PartialAttribute
A partial network element is an abstraction that represents that this network element is only part of the network element currently present in the back-end. Partial network elements can be used in several situations:
Partial network elements are graphically represented by an icon that is placed at the bottom left side of the network element base.
Attribute name: partial
.
Value type: Boolean
.
isPartial()
,
setPartial(boolean)
public static IltAttribute ShortcutAttribute
A shortcut network element is an abstraction that represents that this network element is only a reference to an existing network element. The possible values for this attribute are:
IltShortcutAttributeType.STANDARD
: this network element
is a normal shortcut.
IltShortcutAttributeType.DANGLING
: this network element
is a shortcut to an object that is no longer available.
null
: the network element is not a shortcut.
Shortcut network elements are graphically represented by an icon that is placed at the bottom left side of the network element base.
Attribute name: shortcut
.
Value type: IltShortcutAttributeType
.
getShortcut()
,
setShortcut(ilog.tgo.model.attribute.IltShortcutAttributeType)
@Deprecated public static IlpBooleanKey ExpandOnNewAlarms
collapsed
with the attribute
selectors, as illustrated in the following example:
object."ilog.tgo.model.IltNetworkElement" { collapsed: true; } object."ilog.tgo.model.IltNetworkElement"[newAlarmHighestSeverity] { collapsed: false; }
IltObjectCustomization.getExpandOnNewAlarms()
@Deprecated public static IlpColorKey FamilyForegroundColor
familyForeground
instead.IltObjectCustomization.getFamilyForeground()
@Deprecated public static IlpColorKey FamilyBackgroundColor
familyBackground
instead.null
, no background rectangle will be drawn.IltObjectCustomization.getFamilyBackground()
@Deprecated public static IlpFontKey FamilyFont
familyFont
instead.IltObjectCustomization.getFamilyFont()
@Deprecated public static IlpBooleanKey FamilyAntialiasing
familyAntialiasing
instead.IltObjectCustomization.isFamilyAntialiasing()
@Deprecated public static IlpBooleanKey FamilyVisible
familyVisible
instead.IltObjectCustomization.isFamilyVisible()
@Deprecated public static IlpBooleanKey FunctionVisible
functionVisible
instead.IltObjectCustomization.isFunctionVisible()
@Deprecated public static IlpBooleanKey DisplayAlarmCountWhenCollapsed
alarmCountVisible
with
attribute selectors.
The following CSS extract illustrates how you should proceed:
object."ilog.tgo.model.IltNetworkElement" { collapsed: true; alarmCountVisible: false; alarmCountAbbreviated: true; } object."ilog.tgo.model.IltNetworkElement"[newAlarmHighestSeverity] { collapsed: false; alarmCountVisible: true; alarmCountAbbreviated: false; }
IltObjectCustomization.getDisplayAlarmCountWhenCollapsed()
@Deprecated public static IlpKey SizeRatio
sizeRatio
instead.IlvTransformer
.IltObjectCustomization.getSizeRatio()
@Deprecated public static IlpBooleanKey IsCollapsed
collapsed
instead.IltObjectCustomization.isCollapsed()
public static IlpImageKey PartialIcon
public static IlpBooleanKey PartialIconVisible
public static IlpImageKey FunctionIcon
public static IlpStringKey FamilyLabel
public static IlpEnumKey AlarmLossOfConnectivityPosition
@Deprecated public static IlpColorKey MDShadowColor
mdShadowColor
instead.IltrColor.MDBorderDark
,
IltObjectCustomization.getMdShadowColor()
@Deprecated public static IlpColorKey MDRedButtonColor
mdRedButtonColor
instead.IltObjectCustomization.getMdRedButtonColor()
,
IltrColor.MDButtonRed
@Deprecated public static IlpColorKey MDGreenButtonColor
mdGreenButtonColor
instead.IltObjectCustomization.getMdGreenButtonColor()
,
IltrColor.MDButtonGreen
@Deprecated public static IlpColorKey ServerGridColor
serverGridColor
instead.IltObjectCustomization.getServerGridColor()
@Deprecated public static IlpColorKey ServerButtonColor
serverButtonColor
instead.IltObjectCustomization.getServerButtonColor()
@Deprecated public static IlpColorKey NMWScreenColor
nmwScreenColor
instead.IltObjectCustomization.getNmwScreenColor()
,
IltrColor.NMWScreen
@Deprecated public static IlpColorKey NMWButtonColor
nmwButtonColor
instead.IltObjectCustomization.getNmwButtonColor()
,
IltrColor.NMWButton
@Deprecated public static IlpIntegerKey BSCActiveBorderThickness
bscActiveBorderWidth
instead.CarryingTraffic
.IltObjectCustomization.getBscActiveBorderWidth()
@Deprecated public static IlpIntegerKey MSCActiveBorderThickness
mscActiveBorderWidth
instead.CarryingTraffic
.IltObjectCustomization.getMscActiveBorderWidth()
@Deprecated public static IlpIntegerKey BTSActiveBorderThickness
btsActiveBorderWidth
instead.CarryingTraffic
.IltObjectCustomization.getBtsActiveBorderWidth()
public IltNetworkElement(Object identifier)
identifier
- The identifier of the new network element instancepublic IltNetworkElement(IlpClass ilpClass, Object identifier)
IlpClass
.ilpClass
- The business class of the new network element instance. It must be a
subclass of IltNetworkElement
.identifier
- The identifier of this new instancepublic IltNetworkElement(String label, IltNetworkElement.Type type, IltObjectState state)
IlpIDGenerator.GetID()
.label
- The label of the node.type
- The type of the node.state
- The semantic state of the node.public IltNetworkElement(String label, IltNetworkElement.Type type, IltNetworkElement.Function function, IltNetworkElement.Family family, IltObjectState state)
IlpIDGenerator.GetID()
.label
- The label of the node.type
- The type of the node.function
- The function of the node (may be null
).family
- The family of the node (may be null
).state
- The semantic state of the node.public static IltObjectInfo GetIlpClass()
IlpClass
corresponding to this Java class.
Here the IlpClass
interface is implemented by
IltObjectInfo
.@Deprecated public static IltLegend GetClassLegend()
public IltNetworkElement.Type getType()
public void setType(IltNetworkElement.Type type)
public IltNetworkElement.Function getFunction()
public void setFunction(IltNetworkElement.Function function)
public IltNetworkElement.Family getFamily()
public void setFamily(IltNetworkElement.Family family)
public boolean isPartial()
public void setPartial(boolean value)
public IltShortcutAttributeType getShortcut()
public void setShortcut(IltShortcutAttributeType value)
protected void initializeObject(IltObjectState state, String name)
initializeObject
in class IltObject
IltObject.initializeObject(ilog.tgo.model.IltObjectState, java.lang.String)
public void setAttributeValue(IlpAttribute attribute, Object value)
VALUE_NOT_SET
for the value
argument.setAttributeValue
in interface IlpAttributeValueHolder
setAttributeValue
in class IltObject
attribute
- The attribute of which the value is set.value
- The new value of the attribute or VALUE_NOT_SET
to remove the value of the attribute.IllegalArgumentException
- if the attribute can not have
its value modified.@Deprecated public void computeGraphic(IltGraphicManager manager, IlvPoint position)
setPosition
and add this object to a
datasource.IltGraphicManager
. The graphic representation is drawn
at the given position.
Note that this method is not supposed to be used when this
IltNetworkElement
is in a DataSource.
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 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 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 IlvPoint getCenterPointInManager(IltGraphicManager manager, IltGraphic graphic)
getCenterPointInManager
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 Object defaultShape()
defaultShape
in class IltObject
@Deprecated public IlvTransformer getSizeRatio(IltGraphicManager manager)
sizeRatio
instead.IltGraphicManager
. This is a scale transformer, and is normally
null
.
Note that this method is not supposed to be used when this
IltNetworkElement
is in a DataSource.
SizeRatio
@Deprecated public void setSizeRatio(IltGraphicManager manager, IlvTransformer mag)
sizeRatio
instead.IltGraphicManager
. The mag
argument is a scale
transform. If it is null
, the default size is used,
which is determined by the type.
Note: The graphic representation in manager
must already exist,
otherwise an exception is thrown. To force the existence of a graphic
representation, use createGraphic(manager)
.
Note that this method is not supposed to be used when this
IltNetworkElement
is in a DataSource.
@Deprecated public boolean isCollapsed(IltGraphicManager manager)
collapsed
instead.IltGraphicManager
.
Note that this method is not supposed to be used when this
IltNetworkElement
is in a DataSource.
@Deprecated public void setCollapsed(IltGraphicManager manager, boolean collapsed)
collapsed
instead.IltGraphicManager
.
Note: The graphic representation in manager
must already exist, otherwise an exception is thrown. To force the existence
of a graphic representation, use createGraphic(manager)
.
manager
- The graphic manager where this object is being displayed.collapsed
- If true
, the size will be 53.5% of the normal size.
Note that this method is not supposed to be used when this
IltNetworkElement
is in a DataSource.
@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 String toString()
toString
in class IlpDefaultObject
public void setProperty(Object name, Object value)
setProperty
in interface IlWithProperties
setProperty
in class IltObject
name
- Property identifiervalue
- Property valuepublic ilog.tgo.graphic.internal.base.IltBaseElement createBase(IltcGraphicElementAggregate root)
createBase
in class IltObject
IltCompositeGraphic.createBase(IltcGraphicElementAggregate, IltObject)
,
IltGraphicRepresentationStyle
,
IltBaseElement
,
createTinyBase(IltcGraphicElementAggregate)
public ilog.tgo.graphic.internal.base.IltBaseElement createTinyBase(IltcGraphicElementAggregate root)
createTinyBase
in class IltObject
IltCompositeGraphic.createBase(IltcGraphicElementAggregate, IltObject)
,
IltGraphicRepresentationStyle
,
IltTinyElementBase
,
createBase(IltcGraphicElementAggregate)
public ilog.util.internal.IlAVector getMappedForUserList()
getMappedForUserList
in class IltObject
public static void ForceInit(ilog.tgo.util.internal.IltForceClassInit object)
© Copyright Rogue Wave Software, Inc. 1997, 2018. All Rights Reserved.