public abstract class IltObject extends IlpDefaultObject implements ilog.tgo.model.state.event.IltObjectStateListener, IltWithProperties, IltStateHolder
This is the base class for all the predefined telecom managed objects. Its subclasses model telecommunication equipment (for example, network nodes, links, groups, cards).
A telecom object has attributes describing the characteristics of the equipment, such as the type, the model, the site. A telecom object also has a state with a value that can vary over time.
Instances of IltObject
are supposed to be inserted in an
instance of IltDefaultDataSource
and can be
represented in all graphic components. Note that it is mandatory to use
IltDefaultDataSource
and IltSystem.Init
instead of
their CPL Ilp
equivalent when using IltObject
instances.
Default styling properties are positioned and provide a predefined look-and-feel, also called the JTGO look-and-feel.
Note: In JTGO 2.6 and earlier,
IltObject
instances were directly inserted in the grapher
using methods like computeGraphic
and setVisible
.
Starting with JTGO 3.0, IltObject
instances are now
CPL business objects and are not supposed to be directly inserted in the
graphic components. For compatibility reasons, the old API is still supplied
but you are not supposed to use it if you insert your IltObject
instances in a data source.
The following text corresponds to the old IltObject
usage.
A telecom object can have multiple graphic representations in different
IltGraphicManager
objects. Each of these graphic representations
has independent graphic attributes: visibility, shape or center point,
selected state, etc.
Note that an invisible graphic representation still holds graphic attributes. The differences between existing invisible and visible graphic representations are the following:
nonexistent | invisible | visible | |
---|---|---|---|
getGraphic(manager) |
returns null |
returns the graphic object | returns the graphic object |
isVisible(manager) |
returns false |
returns false |
returns true |
createGraphic(manager) |
creates an invisible graphic object | does nothing | does nothing |
computeGraphic(manager) |
creates a visible graphic object | does nothing | updates the graphic object |
removeGraphic(manager) |
does nothing | removes the graphic object | hides and removes the graphic object |
setVisible(manager,false) |
creates an invisible graphic object | does nothing | hides a graphic object |
setVisible(manager,true) |
creates a visible graphic object | shows and updates a graphic object | does nothing |
When you create a subclass of IltObject
, you have to
statically allocate a new IltObjectInfo
instance to it;
by convention, this is assigned to a variable called metainfo
.
As long as it has a graphic representation, an IltObject
instance cannot be garbage collected. To remove all the graphic
representations of an IltObject
instance, use the method
IltObject.removeGraphic()
. To clean up an entire
IltCompositeGrapher
, use
IltCompositeGrapher.removeAllGraphics()
.
Modifier and Type | Class and Description |
---|---|
static class |
IltObject.ListPrimaryStateStyleValueProvider
Deprecated.
Styles have been replaced by CSS support.
|
static class |
IltObject.LogicalType
The class that is used to manage the logical types of the
subclasses of
IltObject . |
static class |
IltObject.TinyType
The class that is used to manage the tiny types for predefined
telecom business objects.
|
Modifier and Type | Field and Description |
---|---|
protected boolean |
_automaticDecorationsDirection |
protected Constructor |
_cloneConstructor |
static IlpBooleanKey |
AbbreviateBalloonAlarmCount
Deprecated.
Use CSS property
alarmBalloonCountAbbreviated instead. |
static IlpBooleanKey |
AbbreviateBaseAlarmCount
Deprecated.
Use CSS property
alarmCountAbbreviated instead. |
static IlpAttribute |
AckAlarmHighestSeverityAttribute
Attribute used to retrieve the highest severity of acknowledged alarms of
the
IltObject . |
static IlpAttribute |
AckImpactAlarmHighestSeverityAttribute
Attribute used to retrieve the highest severity of acknowledged impact
alarms of the
IltObject . |
static IlpColorKey |
AlarmBalloonColor
Deprecated.
Use CSS property
alarmBalloonColor instead. |
static IlpBooleanKey |
AlarmBalloonContentsCollapsed
Deprecated.
Use CSS property
alarmBalloonCollapsed instead. |
static IlpImageKey |
AlarmBalloonCountIcon |
static IlpStringKey |
AlarmBalloonCountLabel |
static IlpIntegerKey |
AlarmBalloonPosition
Deprecated.
Use CSS property
alarmBalloonPosition instead. |
static IlpColorKey |
AlarmBalloonShadowColor
Deprecated.
Use CSS property
alarmBalloonShadowColor instead. |
static IlpBooleanKey |
AlarmBalloonTextAntialiasing
Deprecated.
Use CSS property
alarmBalloonTextAntialiasing instead. |
static IlpColorKey |
AlarmBalloonTextBackgroundColor
Deprecated.
Use CSS property
alarmBalloonTextBackground instead. |
static IlpFontKey |
AlarmBalloonTextFont
Deprecated.
Use CSS property
alarmBalloonTextFont instead. |
static IlpColorKey |
AlarmBalloonTextForegroundColor
Deprecated.
Use CSS property
alarmBalloonTextForeground instead. |
static IlpBooleanKey |
AlarmBalloonVisible
Deprecated.
Use CSS property
alarmBalloonVisible instead. |
static IlpColorKey |
AlarmBorderColor
Deprecated.
Use CSS property
alarmBorderColor instead. |
static IlpIntegerKey |
AlarmBorderThickness
Deprecated.
Use CSS property
alarmBorderWidth instead. |
static IlpBooleanKey |
AlarmBorderVisible
Deprecated.
Use CSS property
alarmBorderVisible instead. |
static IlpColorKey |
AlarmBrightColor |
static IlpColorKey |
AlarmColor |
static IlpIntegerKey |
AlarmColorLevel |
static IlpBooleanKey |
AlarmColorVisible
Deprecated.
Use CSS property
alarmColorVisible instead. |
static IlpBooleanKey |
AlarmCountAntialiasing
Deprecated.
Use CSS property
alarmCountAntialiasing instead. |
static IlpAttribute |
AlarmCountAttribute
Attribute used to retrieve the number of outstanding alarms of the
IltObject . |
static IlpColorKey |
AlarmCountBackgroundColor
Deprecated.
Use CSS property
alarmCountBackground instead. |
static IlpFontKey |
AlarmCountFont
Deprecated.
Use CSS property
alarmCountFont instead. |
static IlpColorKey |
AlarmCountForegroundColor
Deprecated.
Use CSS property
alarmCountForeground instead. |
static IlpImageKey |
AlarmCountIcon |
static IlpIntegerKey |
AlarmCountIconPosition |
static IlpBooleanKey |
AlarmCountIconVisible |
static IlpStringKey |
AlarmCountLabel |
static IlpAttribute |
AlarmCountNumberAttribute
Attribute used to retrieve the number of outstanding alarms of the
IltObject . |
static IlpBooleanKey |
AlarmCountVisible
Deprecated.
Use CSS property
alarmCountVisible instead. |
static IlpStringKey |
AlarmCriticalAbbreviation
Deprecated.
Use CSS property
alarmCriticalAbbreviation instead. |
static IlpColorKey |
AlarmCriticalBrightColor
Deprecated.
Use CSS property
alarmCriticalBrightColor instead. |
static IlpColorKey |
AlarmCriticalColor
Deprecated.
Use CSS property
alarmCriticalColor instead. |
static IlpColorKey |
AlarmCriticalDarkColor
Deprecated.
Use CSS property
alarmCriticalDarkColor instead. |
static IlpStringKey |
AlarmCriticalDescription
Deprecated.
Use CSS property
alarmCriticalDescription instead. |
static IlpColorKey |
AlarmDarkColor |
static IlpAttribute |
AlarmHighestSeverityAttribute
Attribute used to retrieve the highest severity of outstanding alarms of
the
IltObject . |
static IlpStringKey |
AlarmLossOfConnectivityAbbreviation
Deprecated.
Use CSS property
alarmLossOfConnectivityAbbreviation instead. |
static IlpColorKey |
AlarmLossOfConnectivityBrightColor
Deprecated.
Use CSS property
alarmLossOfConnectivityBrightColor instead. |
static IlpColorKey |
AlarmLossOfConnectivityColor
Deprecated.
Use CSS property
alarmLossOfConnectivityColor instead. |
static IlpColorKey |
AlarmLossOfConnectivityDarkColor
Deprecated.
Use CSS property
alarmLossOfConnectivityDarkColor instead. |
static IlpBooleanKey |
AlarmLossOfConnectivityOverride |
static IlpStringKey |
AlarmMajorAbbreviation
Deprecated.
Use CSS property
alarmMajorAbbreviation instead. |
static IlpColorKey |
AlarmMajorBrightColor
Deprecated.
Use CSS property
alarmMajorBrightColor instead. |
static IlpColorKey |
AlarmMajorColor
Deprecated.
Use CSS property
alarmMajorColor instead. |
static IlpColorKey |
AlarmMajorDarkColor
Deprecated.
Use CSS property
alarmMajorDarkColor instead. |
static IlpStringKey |
AlarmMajorDescription
Deprecated.
Use CSS property
alarmMajorDescription instead. |
static IlpStringKey |
AlarmMinorAbbreviation
Deprecated.
Use CSS property
alarmMinorAbbreviation instead. |
static IlpColorKey |
AlarmMinorBrightColor
Deprecated.
Use CSS property
alarmMinorBrightColor instead. |
static IlpColorKey |
AlarmMinorColor
Deprecated.
Use CSS property
alarmMinorColor instead. |
static IlpColorKey |
AlarmMinorDarkColor
Deprecated.
Use CSS property
alarmMinorDarkColor instead. |
static IlpStringKey |
AlarmMinorDescription
Deprecated.
Use CSS property
alarmMinorDescription instead. |
static IlpStringKey |
AlarmNotReportingAbbreviation
Deprecated.
Use CSS property
alarmNotReportingAbbreviation instead. |
static IlpBooleanKey |
AlarmsAsMarks
Deprecated.
Use CSS property
alarmAsMark instead. |
static IlpValueMapKey |
AlarmSeverityColorMap
Deprecated.
Use the
IltAlarm.SetSeverityMapping method instead. |
static IlpValueMapKey |
AlarmSeverityDescriptionMap
Deprecated.
Use the
IltAlarm.SetSeverityMapping method instead. |
static IlpStringKey |
AlarmUnknownAbbreviation
The style property denoting the string used to represent unknown alarms.
|
static IlpColorKey |
AlarmUnknownBrightColor
The style property denoting the brighter color of unknown alarms.
|
static IlpColorKey |
AlarmUnknownColor
The style property denoting the color of unknown alarms.
|
static IlpColorKey |
AlarmUnknownDarkColor
The style property denoting the darker color of unknown alarms.
|
static IlpStringKey |
AlarmUnknownDescription
The style property denoting the string used to represent unknown alarms when
the alarm balloon is set to display the list of all the alarms in the expanded
representation.
|
static IlpStringKey |
AlarmWarningAbbreviation
Deprecated.
Use CSS property
alarmWarningAbbreviation instead. |
static IlpColorKey |
AlarmWarningBrightColor
Deprecated.
Use CSS property
alarmWarningBrightColor instead. |
static IlpColorKey |
AlarmWarningColor
Deprecated.
Use CSS property
alarmWarningColor instead. |
static IlpColorKey |
AlarmWarningDarkColor
Deprecated.
Use CSS property
alarmWarningDarkColor instead. |
static IlpStringKey |
AlarmWarningDescription
Deprecated.
Use CSS property
alarmWarningDescription instead. |
static IlpFloatKey |
Alpha
Deprecated.
Use CSS property
alpha instead. |
static IlpColorKey |
BackgroundColor
Deprecated.
Use CSS property
background instead. |
static IlpBooleanKey |
BaseSelectionBorderVisible
Deprecated.
|
static IlpBooleanKey |
BaseStyleEnabled |
static IlpColorKey |
BlinkingBackgroundColor |
static IlpColorKey |
BlinkingBorderColor |
static IlpColorKey |
BlinkingBorderColor2 |
static IlpColorKey |
BlinkingForegroundColor |
static IlpColorKey |
BorderColor
Deprecated.
Use CSS property
borderColor instead. |
static IlpColorKey |
BorderColor2
Deprecated.
Use CSS property
borderColor2 instead. |
static IlpLineStyleKey |
BorderLineStyle
Deprecated.
Use CSS property
borderLineStyle instead. |
static IlpPatternKey |
BorderPattern
Deprecated.
Use CSS property
borderPattern instead. |
static IlpFloatKey |
BorderWidth
Deprecated.
Use CSS property
borderWidth instead. |
static String |
BUSINESS_OBJECT_PROPERTY |
static IlpBooleanKey |
CanBeLogical
Deprecated.
|
static IlpFloatKey |
CenterWidth
Deprecated.
Use CSS property
centerWidth instead. |
static IlpKey |
ChildrenDecorationConstraints |
static IlpKey |
ChildrenDecorations |
static IlpBooleanKey |
ContainerCollapseIconVisible
Deprecated.
Use CSS property
containerCollapseIconVisible instead. |
static IlpBooleanKey |
ContainerExpansionIconVisible
Deprecated.
Use CSS property
containerExpansionIconVisible instead. |
static IlpBooleanKey |
ContainerOutsideExpansionIconVisible
Deprecated.
Outside expansion is no longer supported.
|
static IlpBooleanKey |
ContainerStatusVisible
Deprecated.
Use CSS property
containerStatusVisible instead. |
static IlpEnumKey |
DetailLevel
Deprecated.
Use CSS property
detailLevel instead. |
static IlpIntegerKey |
Direction
Deprecated.
Use CSS property
direction instead. |
static IlpColorKey |
DottedBorderBackgroundColor
Deprecated.
Use CSS property
dottedBorderBackground instead. |
static IlpColorKey |
DottedBorderForegroundColor
Deprecated.
Use CSS property
dottedBorderForeground instead. |
static IlpLineStyleKey |
DottedBorderLineStyle
Deprecated.
Use CSS property
dottedBorderLineStyle instead. |
static IlpFloatKey |
ForcedWidth
Deprecated.
Use CSS property
forcedWidth instead. |
static IlpColorKey |
ForegroundColor
Deprecated.
Use CSS property
foreground instead. |
static IlpComputedAttribute |
GraphicRepresentationAttribute
Fake attribute allowing the display of the whole telecom object graphic
in a table column.
|
static IlpBooleanKey |
HasAlarmColor
Deprecated.
Please use CSS property
foreground to modify the
foreground color of the object instead. |
static IlpBooleanKey |
IconsVisible
Deprecated.
Use CSS property
secondaryStateVisible instead. |
static IlpAttribute |
ImpactAlarmCountAttribute
Attribute used to retrieve the number of outstanding impact alarms of the
IltObject . |
static IlpAttribute |
ImpactAlarmCountNumberAttribute
Attribute used to retrieve the number of outstanding impact alarms of the
IltObject . |
static IlpAttribute |
ImpactAlarmHighestSeverityAttribute
Attribute used to retrieve the highest severity of outstanding impact
alarms of the
IltObject . |
static IltObjectInteractor |
InfoIconInteractor
Information icon interactor, responsible for opening the information window.
|
static IlpIntegerKey |
InfoIconThreshold
Deprecated.
Use CSS property
infoIconThreshold instead. |
static IlpBooleanKey |
InfoWindowAlwaysVisible
Deprecated.
Use CSS property
infoWindowPresent instead. |
static IlpColorKey |
InfoWindowBorderColor
Deprecated.
Use CSS property
infoWindowBorderColor instead. |
static IlpColorKey |
InfoWindowColor
Deprecated.
Use CSS property
infoWindowColor instead. |
static IlpColorKey |
InfoWindowShadowColor
Deprecated.
Use CSS property
infoWindowShadowColor instead. |
static IlpBooleanKey |
InfoWindowTextAntialiasing
Deprecated.
Use CSS property
infoWindowTextAntialiasing instead. |
static IlpColorKey |
InfoWindowTextBackgroundColor
Deprecated.
Use CSS property
infoWindowTextBackground instead. |
static IlpFontKey |
InfoWindowTextFont
Deprecated.
Use CSS property
infoWindowTextFont instead. |
static IlpColorKey |
InfoWindowTextForegroundColor
Deprecated.
Use CSS property
infoWindowTextForeground instead. |
static IlpBooleanKey |
InfoWindowVisible
Deprecated.
Use CSS property
infoWindowVisible instead. |
static IlpBooleanKey |
IsEditable
The style property denoting whether the shape of the graphic representation
of this object can be edited interactively by the user using the
IltSelectInteractor . |
static IlpBooleanKey |
IsLogical
Deprecated.
Use CSS property
logical instead. |
static IlpBooleanKey |
IsSelectable
Deprecated.
Use the graphic component selection model API instead.
|
static IlpBooleanKey |
IsTiny
Deprecated.
Use CSS property
tiny instead. |
static IlpBooleanKey |
IsVisible
Deprecated.
Please use the data source filtering capabilities to define
object visibility
|
static IlpBooleanKey |
LabelAntialiasing
Deprecated.
Use CSS property
labelAntialiasing instead. |
static IlpColorKey |
LabelBackgroundColor
Deprecated.
Use CSS property
labelBackground instead. |
static IlpColorKey |
LabelBorderColor
Deprecated.
Use CSS property
labelBorderColor instead. |
static IlpIntegerKey |
LabelDirection
Deprecated.
Use CSS property
labelDirection instead. |
static IlpFontKey |
LabelFont
Deprecated.
Use CSS property
labelFont instead. |
static IlpColorKey |
LabelForegroundColor
Deprecated.
Use CSS property
labelForeground instead. |
static IlpPointKey |
LabelOffset
Deprecated.
Use CSS property
labelOffset instead. |
static IlpIntegerKey |
LabelPosition
Deprecated.
Use CSS property
labelPosition instead. |
static IlpBooleanKey |
LabelVisible
Deprecated.
Use CSS property
labelVisible instead. |
static IlpBooleanKey |
LabelZoomable
Deprecated.
This property is no longer used. Labels are zoomable according
to the component zoom policy.
|
static IlpLineStyleKey |
LineStyle
Deprecated.
Use CSS property
lineStyle instead. |
static IlpEnumArrayKey |
LinkPorts
Deprecated.
Use CSS property
linkPorts instead. |
static IlpBooleanKey |
ListAlarmStateAbbreviated |
static IlpBooleanKey |
ListPrimaryAlarmState |
static IlpBooleanKey |
ListPrimaryState
Deprecated.
Use CSS property
listPrimaryState instead. |
static IlpBooleanKey |
ListSecondaryAlarmState |
static IlpIntegerKey |
LogicalBorderThickness
Deprecated.
Use CSS property
borderWidth instead. |
static IlpIntegerKey |
LogicalHeight
Deprecated.
Use CSS property
shapeHeight instead. |
static IlpBooleanKey |
LogicalLabelAntialiasing
Deprecated.
Use CSS property
labelAntialiasing instead. |
static IlpFontKey |
LogicalLabelFont
Deprecated.
Use CSS property
labelFont instead. |
static IltAttribute |
LogicalTypeAttribute
Logical type attribute.
|
static IlpIntegerKey |
LogicalWidth
Deprecated.
Use CSS property
shapeWidth instead. |
static IlpColorKey |
MappedBorderColor |
static IlpColorKey |
MappedBorderColor2 |
static IlpColorKey |
MappedBrightColor |
static IlpColorKey |
MappedColor |
static IlpColorKey |
MappedColor2 |
static IlpColorKey |
MappedDarkColor |
static IltObjectInfo |
metainfo
Contains metainformation about this
IltObject class. |
static IlpBooleanKey |
MultilineBaseAlarmCount |
static IltAttribute |
NameAttribute
Attribute for the name of the object.
|
static IlpAttribute |
NewAlarmCountAttribute
Attribute used to retrieve the number of new alarms of the
IltObject . |
static IlpAttribute |
NewAlarmCountNumberAttribute
Attribute used to retrieve the number of new alarms of the
IltObject . |
static IlpAttribute |
NewAlarmHighestSeverityAttribute
Attribute used to retrieve the highest severity of new alarms of the
IltObject . |
static IlpAttribute |
NewImpactAlarmCountAttribute
Attribute used to retrieve the number of new impact alarms of the
IltObject . |
static IlpAttribute |
NewImpactAlarmCountNumberAttribute
Attribute used to retrieve the number of new impact alarms of the
IltObject . |
static IlpAttribute |
NewImpactAlarmHighestSeverityAttribute
Attribute used to retrieve the highest severity of new impact alarms of the
IltObject . |
static IltAttribute |
ObjectStateAttribute
Attribute containing the object state.
|
static IlpImageKey |
PassiveIcon |
static IlpBooleanKey |
PassiveIconVisible |
static IlpPatternKey |
Pattern
Deprecated.
Use CSS property
pattern instead. |
static IlpColorKey |
PlinthBrightColor
Deprecated.
Use CSS property
plinthBrightColor instead. |
static IlpColorKey |
PlinthColor
Deprecated.
Use CSS property
plinthColor instead. |
static IlpColorKey |
PlinthDarkColor
Deprecated.
Use CSS property
plinthDarkColor instead. |
static IlpIntegerKey |
PlinthHorizontalMargin |
static IlpIntegerKey |
PlinthVerticalMargin |
static IlpBooleanKey |
PlinthVisible
Deprecated.
Use CSS property
plinthVisible instead. |
static IltAttribute |
PositionAttribute
Position attribute for use in network and equipment components.
|
static IlpEnumKey |
PrimaryAlarmState
The style property denoting whether the raw alarms or the impact alarms are
displayed as the primary alarm state, that is with the alarm balloon.
|
static IlpAttribute |
PrimaryStateAttribute
Attribute used to retrieve the description of the primary state of the
IltObject . |
static IlpBooleanKey |
ReliefBorders
Deprecated.
Use CSS property
reliefBorders instead. |
static IlpAttribute |
SecondaryStatesAttribute
Attribute used to retrieve, as a string, the secondary states
(in Bellcore and SNMP standards) or the statuses (in OSI standard)
or the protection switch request indicators (in SONET standard) of the
IltObject . |
static IlpIntegerKey |
SecondaryStateStackerPosition
Deprecated.
Use CSS property
secondaryStatePosition instead. |
static IlpColorKey |
SelectionBorderBackgroundColor
Deprecated.
Use CSS property
selectionBorderBackground instead. |
static IlpColorKey |
SelectionBorderForegroundColor
Deprecated.
Use CSS property
selectionBorderForeground instead. |
static IlpLineStyleKey |
SelectionBorderLineStyle
Deprecated.
Use CSS property
selectionBorderLineStyle instead. |
static IlpIntegerKey |
SelectionBorderThickness
Deprecated.
Use CSS property
selectionBorderWidth instead. |
static IlpImageKey |
ShortcutIcon |
static IlpValueMapKey |
ShortcutIconMap |
static IlpBooleanKey |
ShortcutIconVisible |
static IlpValueMapKey |
ShortcutToolTipMap |
static IlpStringKey |
SNMPSystemContact
Deprecated.
Use CSS property
snmpSystemContact instead. |
static IlpStringKey |
SNMPSystemDescription
Deprecated.
Use CSS property
snmpSystemDescription instead. |
static IlpStringKey |
SNMPSystemLocation
Deprecated.
Use CSS property
snmpSystemLocation instead. |
static IlpImageKey |
SourceImage |
static IlpIntegerKey |
TinyAlarmBorderThickness
Deprecated.
Use CSS property
alarmBorderWidth instead. |
static IlpIntegerKey |
TinyBorderThickness
Deprecated.
Use CSS property
borderWidth instead. |
static IlpBooleanKey |
TinyLabelAntialiasing
Deprecated.
Use CSS property
labelAntialiasing instead. |
static IlpFontKey |
TinyLabelFont
Deprecated.
Use CSS property
labelFont instead. |
static IltAttribute |
TinyTypeAttribute
Tiny type attribute.
|
static IlpStringKey |
TrapAuthenticationFailureAbbreviation
Deprecated.
Use CSS property
trapAuthenticationFailureAbbreviation instead. |
static IlpColorKey |
TrapAuthenticationFailureBrightColor
Deprecated.
Use CSS property
trapAuthenticationFailureBrightColor instead. |
static IlpColorKey |
TrapAuthenticationFailureColor
Deprecated.
Use CSS property
trapAuthenticationFailureColor instead. |
static IlpColorKey |
TrapAuthenticationFailureDarkColor
Deprecated.
Use CSS property
trapAuthenticationFailureDarkColor instead. |
static IlpStringKey |
TrapAuthenticationFailureDescription
Deprecated.
Use CSS property
trapAuthenticationFailureDescription instead. |
static IlpStringKey |
TrapColdStartAbbreviation
Deprecated.
Use CSS property
trapColdStartAbbreviation instead. |
static IlpColorKey |
TrapColdStartBrightColor
Deprecated.
Use CSS property
trapColdStartBrightColor instead. |
static IlpColorKey |
TrapColdStartColor
Deprecated.
Use CSS property
trapColdStartColor instead. |
static IlpColorKey |
TrapColdStartDarkColor
Deprecated.
Use CSS property
trapColdStartDarkColor instead. |
static IlpStringKey |
TrapColdStartDescription
Deprecated.
Use CSS property
trapColdStartDescription instead. |
static IlpStringKey |
TrapEGPNeighborLossAbbreviation
Deprecated.
Use CSS property
trapEGPNeighborLossAbbreviation instead. |
static IlpColorKey |
TrapEGPNeighborLossBrightColor
Deprecated.
Use CSS property
trapEGPNeighborLossBrightColor instead. |
static IlpColorKey |
TrapEGPNeighborLossColor
Deprecated.
Use CSS property
trapEGPNeighborLossColor instead. |
static IlpColorKey |
TrapEGPNeighborLossDarkColor
Deprecated.
Use CSS property
trapEGPNeighborLossDarkColor instead. |
static IlpStringKey |
TrapEGPNeighborLossDescription
Deprecated.
Use CSS property
trapEGPNeighborLossDescription instead. |
static IlpStringKey |
TrapLinkFailureAbbreviation
Deprecated.
Use CSS property
trapLinkFailureAbbreviation instead. |
static IlpColorKey |
TrapLinkFailureBrightColor
Deprecated.
Use CSS property
trapLinkFailureBrightColor instead. |
static IlpColorKey |
TrapLinkFailureColor
Deprecated.
Use CSS property
trapLinkFailureColor instead. |
static IlpColorKey |
TrapLinkFailureDarkColor
Deprecated.
Use CSS property
trapLinkFailureDarkColor instead. |
static IlpStringKey |
TrapLinkFailureDescription
Deprecated.
Use CSS property
trapLinkFailureDescription instead. |
static IlpStringKey |
TrapWarmStartAbbreviation
Deprecated.
Use CSS property
trapWarmStartAbbreviation instead. |
static IlpColorKey |
TrapWarmStartBrightColor
Deprecated.
Use CSS property
trapWarmStartBrightColor instead. |
static IlpColorKey |
TrapWarmStartColor
Deprecated.
Use CSS property
trapWarmStartColor instead. |
static IlpColorKey |
TrapWarmStartDarkColor
Deprecated.
Use CSS property
trapWarmStartDarkColor instead. |
static IlpStringKey |
TrapWarmStartDescription
Deprecated.
Use CSS property
trapWarmStartDescription instead. |
VALUE_NOT_SET
Constructor and Description |
---|
IltObject(IlpClass ilpClass,
Object identifier)
Creates a new
IltObject with a given identifier and a given
IlpClass . |
IltObject(IltObjectState state)
Creates a new instance with a given object state.
|
IltObject(IltObjectState state,
String name)
Creates a new instance with a given semantic state and a name.
|
IltObject(Object identifier)
Creates a new
IltObject with a given identifier. |
Modifier and Type | Method and Description |
---|---|
IlpObject |
__getIlpObject() |
void |
addGraphicChangedListener(IltGraphicChangedListener listener)
Deprecated.
Please use
NetworkModelListener or EquipmentModelListener
instead. |
void |
addStateChangedListener(IltStateChangedListener listener)
Deprecated.
Please use
IlpDefaultObject.addAttributeValueListener(AttributeValueListener)
instead. |
void |
applyTransform(IltGraphicManager manager,
IltGraphic graphic,
IlvTransformer t)
Deprecated.
Please use this approach which is the recommended one:
IltObject object = ...; // Get the IlpPosition Object shape = object.getAttributeValue(IltObject.PositionAttribute); // Only if the attribute has a value if (shape != IlpObject.ATTRIBUTE_VALUE_NOT_SET) { shape = (IlpPosition) shape.clone(); if (shape instanceof IlpPoint) { transform.apply((IlpPoint)shape); } else if (shape instanceof IlpRect) { transform.apply((IlpRect)shape); } else if (shape instanceof IlpPolyline) { ((IlpPolyline)shape).applyTransform(transform); } else if (shape instanceof IlpPolygon) { ((IlpPolygon)shape).applyTransform(transform); } else { // here you can handle user defined IlpPosition types. } //The setAttributeValue call will update the graphic representation (if it exists) automatically. object.setAttributeValue(attribute,shape); } |
abstract void |
applyTransform(IltGraphicManager manager,
IltGraphic graphic,
IlvTransformer t,
IlpPositionSource reason)
Deprecated.
Please use this approach which is the recommended one:
IltObject object = ...; // Get the IlpPosition Object shape = object.getAttributeValue(IltObject.PositionAttribute); // Only if the attribute has a value if (shape != IlpObject.ATTRIBUTE_VALUE_NOT_SET) { shape = (IlpPosition) shape.clone(); if (shape instanceof IlpPoint) { transform.apply((IlpPoint)shape); } else if (shape instanceof IlpRect) { transform.apply((IlpRect)shape); } else if (shape instanceof IlpPolyline) { ((IlpPolyline)shape).applyTransform(transform); } else if (shape instanceof IlpPolygon) { ((IlpPolygon)shape).applyTransform(transform); } else { // here you can handle user defined IlpPosition types. } //The setAttributeValue call will update the graphic representation (if it exists) automatically. object.setAttributeValue(attribute,shape); } |
void |
applyTransform(IltGraphicManager manager,
IlvTransformer t)
Deprecated.
Please use this approach which is the recommended one:
IltObject object = ...; // Get the IlpPosition Object shape = object.getAttributeValue(IltObject.PositionAttribute); // Only if the attribute has a value if (shape != IlpObject.ATTRIBUTE_VALUE_NOT_SET) { shape = (IlpPosition) shape.clone(); if (shape instanceof IlpPoint) { transform.apply((IlpPoint)shape); } else if (shape instanceof IlpRect) { transform.apply((IlpRect)shape); } else if (shape instanceof IlpPolyline) { ((IlpPolyline)shape).applyTransform(transform); } else if (shape instanceof IlpPolygon) { ((IlpPolygon)shape).applyTransform(transform); } else { // here you can handle user defined IlpPosition types. } //The setAttributeValue call will update the graphic representation (if it exists) automatically. object.setAttributeValue(attribute,shape); } |
void |
applyTransform(IltGraphicManager manager,
IlvTransformer t,
IlpPositionSource reason)
Deprecated.
|
void |
applyTransformInManager(IltGraphicManager manager,
IltGraphic graphic,
IlvTransformer t,
IlpPositionSource reason)
Deprecated.
|
boolean |
clearState(IltState state)
Removes a given constant state (defined in a state system) from
the object state.
|
IltObject |
cloneForRendering(boolean displayChildren)
Creates a clone of this object for IltGraphicRenderer purposes only.
|
void |
computeGraphic()
Deprecated.
Once an object is in a datasource, its graphic representation
is updated automatically when needed.
|
void |
computeGraphic(IltGraphicManager manager)
Deprecated.
Adding an 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 |
computeGraphic(IltGraphicManager manager,
IltGraphic graphic,
ilog.tgo.graphic.internal.IltComputeAmount amount)
Ensures that this object has a valid graphic representation.
|
void |
computeGraphic(IltGraphicManager manager,
Object position)
Deprecated.
Adding an 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 |
computeGraphic(IltGraphicManager manager,
Object position,
ilog.tgo.graphic.internal.IltComputeAmount amount)
Ensures that this object has a graphic representation in a given
IltGraphicManager . |
void |
computeGraphicAtPosition(IltGraphicManager manager,
Object position,
Object positionInManager,
ilog.tgo.graphic.internal.IltComputeAmount amount)
Ensures that this object has a valid graphic representation in
a given IltGraphicManager.
|
protected void |
copyFrom(IltObject other)
Copies the attributes from an original object.
|
abstract 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 an object to a datasource, connected to a graphic
component such as an
IlpNetwork , is enough
to make its graphic representation visible. |
abstract ilog.tgo.graphic.internal.IltGraphicUpdate |
createPositionUpdate(Object position,
Object positionInManager)
Creates the graphic update responsible for setting the position/shape of
a graphical representation.
|
ilog.tgo.graphic.internal.base.IltBaseElement |
createTinyBase(IltcGraphicElementAggregate root)
Creates a base element, suitable for this particular kind of object, for
use with the Tiny Graphic Representation Style.
|
void |
debug() |
Object |
defaultShape()
Returns the default shape, used when an object is made visible without
having been assigned a shape.
|
void |
endDelayingComputeGraphic()
Deprecated.
Please use the method
IlpAbstractDataSource.endBatch()
instead. |
static void |
EndDelayingComputeGraphic()
Deprecated.
Please use the method
IlpAbstractDataSource.endBatch()
instead. |
void |
fireAllGraphicChanged() |
void |
fireGraphicChanged(IltGraphicManager manager,
IltGraphic graphic)
Broadcasts a graphic change event.
|
static void |
ForceInit(ilog.tgo.util.internal.IltForceClassInit object) |
protected void |
forgetShapeGraphicSettingInManager(IltGraphicManager manager,
IltGraphic graphic)
Removes the shape graphic setting in manager coordinates.
|
static IltObject |
FromGraphic(IltGraphic graphic)
Deprecated.
Use
IlpGraphic.getRepresentationObject() instead
to retrieve the representation object. With this instance it is possible
to retrieve the business object using IlpRepresentationObject.getIlpObject() . |
IltAlarm.State |
getAlarmState()
Returns the alarm part of the object state.
|
ilog.tgo.attacher.IltAttacherInfo |
getAttacherInfo(ilog.tgo.graphic.internal.IltGraphicRepresentationStyle rep)
Returns the instance of
IltAttacherInfo which represents
the given graphical representation. |
protected ilog.tgo.attacher.IltAttacherInfoController |
getAttacherInfoController()
Returns the instance responsible for controlling the attacher
information for the different types of graphical representation.
|
boolean |
getAutomaticDecorationsDirection()
Returns
true if the decorations follow the object direction. |
abstract IlvRect |
getBaseRectangle(IltGraphicManager manager)
Returns the base rectangle of the graphic representation in a given
IltGraphicManager.
|
IlvRect |
getBaseRectangleInManager(IltGraphicManager manager) |
static IltBaseStyleMapping |
GetBaseStyleMapping(IltBaseStyle baseStyle)
Deprecated.
Please use CSS with attribute selectors instead.
|
IlvPoint |
getCenterPoint(IltGraphicManager manager)
Deprecated.
In order to get the center point of a given
IltObject
you should use the IltObject.PositionAttribute to
retrieve the IlpPosition object that represents this
IltObject 's position. Then depending on the
IlpPosition 's sub-type you should appropriately
calculate the center IlpPoint . Below is an example of
how to do this:
IlpObject object = ...; // Get the IlpPosition Object shape = object.getAttributeValue(IltObject.PositionAttribute); // Compute the center. IlpPoint center = null; // Only if the attribute has a value if (shape != IlpObject.ATTRIBUTE_VALUE_NOT_SET) { shape = (IlpPosition) shape.clone(); if (shape instanceof IlpPoint) { center = (IlpPoint)center; } else if (shape instanceof IlpRect) { IlpRect r = (IlpRect)shape; center = new IlpPoint(r.x + 0.5 * r.width, r.y + 0.5 * r.height); } else if (shape instanceof IlpPolyline) { // This is an undocumented utility method that returns the center point // of this IlpPolyline. So if you want you can provide your own // implementation here. center = new IlpPoint(((IlpPolyline)shape).getGravity1()); } else if (shape instanceof IlpPolygon) { // This is an undocumented utility method that returns the center point // of this IlpPolygon. So if you want you can provide your own // implementation here. center = new IlpPoint(((IlpPolygon)shape).getGravity2()); } else { // here you can handle user defined IlpPosition types. } } |
protected abstract IlvPoint |
getCenterPoint(IltGraphicManager manager,
IltGraphic graphic)
Returns the position of the graphic representation in a given
IltGraphicManager.
|
IlvPoint |
getCenterPointInManager(IltGraphicManager manager,
IltGraphic graphic) |
Enumeration |
getChildren()
Returns the list of children objects, contained in 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.
|
int |
getDefaultLabelPosition(IltGraphic graphic)
Returns a default label position, if the value set in the legend is
IlvDirection.BadPosition . |
ilog.tgo.graphic.internal.IltGraphicMultiplexer |
getGraphic()
Returns the graphic representations of this object.
|
IltGraphic |
getGraphic(IltGraphicManager manager)
Deprecated.
Once you have added an
IlpObject to a datasource
and is it being displayed, you can retrieve the
IlpRepresentationObject through
network.getAdapter().getRepresentationObject(obj)
and the IlpGraphic through
network.getView().getGraphic(repobj) . |
IltGraphic |
getGraphicInHierarchy(IltGraphicManager manager)
Returns the IltGraphic which represents this object in the hierarchy
of a given manager (below, above or unrelated).
|
IltCompositeInteractions |
getGraphicInteractions(IltGraphicManager manager)
Deprecated.
Adding an object to a datasource, connected to a graphic component such as
an
IlpNetwork , is enough to make its graphic representation
visible. Once visible, retrieve the graphic representation of the object
and query its interactions. |
IltGraphic |
getGraphicNotNull(IltGraphicManager manager)
Returns the IltCompositeGraphic which represents this object in a given
manager.
|
IltGraphic |
getGraphicNotNullInHierarchy(IltGraphicManager manager)
Returns the IltGraphic which represents this object in the hierarchy
of a given manager (below, above or unrelated).
|
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.
|
Object |
getGraphicSetting(IltGraphicManager manager,
IltGraphic graphic,
ilog.tgo.graphic.internal.IltGraphicSetting setting)
Returns the value of a graphic setting of the graphic representation
in a given IltGraphicManager.
|
Object |
getGraphicSetting(IltGraphicManager manager,
ilog.tgo.graphic.internal.IltGraphicSetting setting)
Returns the value of a graphic setting of the graphic representation
in a given IltGraphicManager.
|
IltGraphicSettings |
getGraphicSettings(IltGraphicManager manager)
Deprecated.
|
static IltObjectInfo |
GetIlpClass()
Returns the IlpClass corresponding to this Java class.
|
static IltObject |
GetIltObject(IlpAttributeValueHolder h)
Return the
IltObject business object corresponding to a given
IlpAttributeValueHolder . |
String |
getLabel()
Deprecated.
This method is obsolete. Use
getName instead. |
IlvPoint |
getLabelOffset()
Deprecated.
Please use CSS property
labelOffset instead. |
IlvPoint |
getLabelOffset(IltGraphic graphic)
Deprecated.
Please use CSS property
labelOffset instead. |
IlvPoint |
getLabelOffset(IltGraphicManager manager)
Deprecated.
Please use CSS property
labelPosition instead. |
int |
getLabelPosition()
Deprecated.
Please use CSS property
labelPosition instead. |
int |
getLabelPosition(IltGraphic graphic)
Deprecated.
Please use CSS property
labelPosition instead. |
int |
getLabelPosition(IltGraphicManager manager)
Deprecated.
Use CSS property
labelPosition instead. |
IlvGraphic |
getLayoutProxy(IltGraphicManager manager)
Deprecated.
Please add this object to a datasource, retrieve its
IlpGraphic and then use the method
IlpNetworkView.getLayoutProxy . |
IltLegend |
getLegend()
Deprecated.
The Style API has been replaced by the Cascading Style
Sheet mechanism. Please refer to the User's Manual for
further information.
|
IltLegend |
getLegend(IltGraphicManager manager)
Deprecated.
The Style API has been replaced by the Cascading Style
Sheet mechanism. Please refer to the User's Manual for further information.
|
IlpStyle |
getLocalStyle(IlpStyleManager styleMgr) |
IlpStyle |
getLocalStyle(IltGraphic g)
Deprecated.
The Style API has been replaced by the Cascading Style
Sheet mechanism. Please refer to the User's Manual for
further information.
|
IltObject.LogicalType |
getLogicalType()
Returns the logical type of the object.
|
ilog.util.internal.IlAVector |
getMappedForUserList() |
String |
getName()
Returns the name of the object.
|
IltObjectInfo |
getObjectInfo()
Returns the IltObjectInfo describing the class of this object.
|
ilog.tgo.mapper.IltObjectMapper |
getObjectMapper()
Returns the Object Mapper defined for this object.
|
IltObjectState |
getObjectState()
Returns the semantic state of the object.
|
ilog.tgo.mapper.attribute.IltObjectSystemMapper |
getObjectSystemMapper() |
IlpPosition |
getPosition()
Returns the position/shape of the object, as known to the data source.
|
Object |
getProperty(Object name)
Returns the named property.
|
Object |
getState(IltState state)
Retrieves the value of a given state (defined in a state system) in the
object state.
|
IltObject.TinyType |
getTinyType()
Returns the tiny type of the object.
|
IltTrap.State |
getTrapState()
Returns the trap part of the object state.
|
boolean |
hasState(IltState state)
Tests whether the object state contains a given constant state
(defined in a state system).
|
void |
initializeCreatedGraphic(IltGraphicManager manager,
IltGraphic graphic)
This method must be called just after preCreateGraphic to initialize any
needed property or graphic setting.
|
void |
initializeDefaultValues()
This method initializes the attribute values of the object with the default
attribute values, if any.
|
protected void |
initializeObject(IltObjectState state,
String name)
This method is only called by the constructor.
|
void |
initializeVisibleGraphic(IltGraphicManager manager,
IltGraphic graphic)
This method must be called before a graphic representation becomes visible.
|
static void |
InitStyle()
Initializes the class legend in each context.
|
boolean |
isEditable(IltGraphicManager manager)
Deprecated.
Please use CSS property
editable instead. |
boolean |
isNearlyVisible(IltGraphicManager manager,
IltGraphic graphic)
Returns the soon-to-be-attained visibility state of a graphic
object in a given IltGraphicManager.
|
static boolean |
IsPropertyTransient(Object name)
Returns whether a given named property is omitted by serialization.
|
boolean |
isSelected(IltGraphicManager manager)
Deprecated.
Please use
IlpNetwork.isObjectSelected or
IlpEquipment.isObjectSelected instead. |
boolean |
isSelected(IltGraphicManager manager,
IltGraphic graphic)
Returns the "selected" state of the graphic representation in a given
IltGraphicManager.
|
abstract boolean |
isValidPosition(Object position)
Determines whether the argument is a valid position/shape for this type
of object.
|
boolean |
isVisible(IltGraphicManager manager)
Deprecated.
Use
IlpDataSource.getObjects().contains() to test
whether an object is in the datasource. Use the adapter's
getRepresentationObject method to test whether an
object's representation object currently exists. |
void |
mapDirection()
Method accessed internally by
IltDefaultMapAttributeStrategy.doMap method to
map decoration legend according to the current object
direction. |
IlpKey |
mappedForUser(IlpKey userKey) |
void |
objectStateChanged(ilog.tgo.model.state.event.IltObjectStateEvent event)
This method is called by the
IltObjectState instance
when it has been changed causing a modification in the IltObject graphical
representation. |
void |
objectStateCleared(ilog.tgo.model.state.event.IltObjectStateEvent event)
This method is called by the
IltObjectState instance
when some change was done in the values which may cause a modification
in the IltObject graphical representation. |
void |
objectStateSet(ilog.tgo.model.state.event.IltObjectStateEvent event)
This method is called by the
IltObjectState instance
is changed by the addition of a new state with its corresponding value. |
void |
postCreateGraphic(IltGraphicManager manager,
IltGraphic graphic)
This is called at the end of adding a graphic representation to a
given view.
|
IltGraphic |
preCreateGraphic(IltGraphicManager manager)
This is called before adding a graphic representation to a given view.
|
void |
removeGraphic()
Deprecated.
Removing an object from the datasource containing it is enough to
make its graphic representations disappear.
|
void |
removeGraphic(IltGraphicManager manager)
Deprecated.
Removing an object from the datasource containing it is enough to
make its graphic representation disappear.
|
void |
removeGraphic(IltGraphicManager manager,
IltGraphic graphic)
Removes the given graphic representation of this object.
|
void |
removeGraphicChangedListener(IltGraphicChangedListener listener)
Deprecated.
Please use
NetworkModelListener or EquipmentModelListener
instead. |
void |
removeGraphicSetting(IltGraphicManager manager,
IltGraphic graphic,
ilog.tgo.graphic.internal.IltGraphicSetting setting)
Removes a graphic setting of the graphic representation in a given
IltGraphicManager.
|
void |
removeGraphicSetting(IltGraphicManager manager,
ilog.tgo.graphic.internal.IltGraphicSetting setting)
Removes a graphic setting of the graphic representation in a given
IltGraphicManager.
|
void |
removeProperty(Object name)
Removes the named property.
|
void |
removeStateChangedListener(IltStateChangedListener listener)
Deprecated.
Please use
IlpDefaultObject.removeAttributeValueListener(AttributeValueListener)
instead. |
void |
resetLabelOffset()
Deprecated.
Please use CSS property
labelOffset instead. |
void |
resetLabelOffset(IltGraphicManager manager)
Deprecated.
Please use CSS property
labelOffset instead. |
void |
resetLabelPosition()
Deprecated.
Please use CSS property
labelPosition instead. |
void |
resetLabelPosition(IltGraphicManager manager)
Deprecated.
Please use CSS property
labelPosition instead. |
void |
resetState()
Resets all the state values for the telecom object.
|
void |
restoreVisibility(IltGraphicManager manager,
IltGraphicSettings settings)
Deprecated.
Adding an 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 |
setAttributeValue(IlpAttribute attribute,
Object value)
Sets the value of an attribute of this object.
|
void |
setAutomaticDecorationsDirection(boolean automaticDecorationsDirection)
Deprecated.
Please use the method with the new context information.
|
void |
setAutomaticDecorationsDirection(IlpContext context,
boolean automaticDecorationsDirection)
Makes the decorations (the alarm balloon and the label) follow the object direction.
|
abstract 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 |
setBaseRectangleInManager(IltGraphicManager manager,
IlvRect shape)
Applies a transformation to the graphic representation in a given
IltGraphicManager, attempting to make the base rectangle resemble
the given rectangle.
|
abstract void |
setCenterPoint(IltGraphicManager manager,
IltGraphic graphic,
IlvPoint position,
IlpPositionSource reason)
Changes the position of the graphic representation in a given
IltGraphicManager.
|
void |
setCenterPoint(IltGraphicManager manager,
IlvPoint position)
Deprecated.
Please use an approach depending on the
IlpPosition type of
of the object. For objects whose position is just a point, you can use
the setPosition method. |
void |
setCenterPoint(IltGraphicManager manager,
IlvPoint position,
IlpPositionSource reason)
Deprecated.
|
void |
setCenterPointInManager(IltGraphicManager manager,
IltGraphic graphic,
IlvPoint position,
IlpPositionSource reason) |
void |
setEditable(IltGraphicManager manager,
boolean editable)
Deprecated.
Use CSS property
editable instead. |
void |
setGraphic(IltGraphicManager manager,
IltGraphic graphic)
Adds the graphical representation and the manager to the graphic multiplexer
structure.
|
void |
setGraphicSetting(IltGraphicManager manager,
IltGraphic graphic,
ilog.tgo.graphic.internal.IltGraphicSetting setting,
Object value)
Changes a graphic setting of the graphic representation in a given
IltGraphicManager.
|
void |
setGraphicSetting(IltGraphicManager manager,
ilog.tgo.graphic.internal.IltGraphicSetting setting,
Object value)
Changes a graphic setting of the graphic representation in a given
IltGraphicManager.
|
void |
setGraphicSetting(ilog.tgo.graphic.internal.IltGraphicSetting setting,
Object value)
Changes a graphic setting of all graphic representations.
|
void |
setGraphicSettings(IltGraphicManager manager,
IltGraphicSettings settings)
Deprecated.
Adding an 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. |
boolean |
setIlpClass(IlpClass clazz)
Sets a new business class.
|
void |
setLabel(String label)
Deprecated.
This method is obsolete. Use
setName instead. |
void |
setLabelOffset(IltGraphicManager manager,
IlvPoint offset)
Deprecated.
Please use CSS property
labelOffset instead. |
void |
setLabelOffset(IlvPoint offset)
Deprecated.
Please use CSS property
labelOffset instead. |
void |
setLabelPosition(IltGraphicManager manager,
int position)
Deprecated.
Use CSS property
labelPosition instead. |
void |
setLabelPosition(int position)
Deprecated.
Please use CSS property
labelPosition instead. |
boolean |
setLegend(IltLegend newLegend)
Associates an new
IltLegend with this object. |
void |
setLogicalType(IltObject.LogicalType type)
Changes the Logical type of the object.
|
void |
setName(String name)
Sets the name of the object.
|
void |
setObjectState(IltObjectState state)
Replaces the semantic state of this object.
|
void |
setPosition(IlpPosition position)
Sets the position/shape of the object, as known to the data source.
|
void |
setProperty(Object name,
Object value)
Sets the named property.
|
static void |
SetPropertyTransient(Object name,
boolean isTransient)
Specifies whether a given named property is to be omitted by serialization.
|
void |
setSelected(IltGraphicManager manager,
boolean selected)
Deprecated.
Please use the methods
addSelectionObject or
removeSelectionObject in the classes IlpNetwork
and IlpEquipment instead. |
void |
setSelectedInternal(IltGraphicManager manager,
IltGraphic graphic,
boolean selected)
Changes the "selected" state of the graphic representation in a given
IltGraphicManager.
|
void |
setShapeGraphicSetting(IltGraphic graphic,
Object newShape)
Sets the graphic settings responsible for the shape of the object.
|
void |
setShapeInManagerGraphicSetting(IltGraphic graphic,
Object newShape,
IlpPositionSource reason) |
boolean |
setState(IltState state)
Adds or sets a given constant state (defined in a state system) to the
object state.
|
boolean |
setState(IltState state,
Object value)
Sets the value of a given state (defined in a state system) in the
object state.
|
void |
setTinyType(IltObject.TinyType type)
Changes the Tiny type of the object.
|
void |
setVisible(IltGraphicManager manager,
boolean visible)
Deprecated.
To control the visibility of an object, add or remove it
from the datasource, or install a filter on the adapter.
|
void |
startDelayingComputeGraphic()
Deprecated.
Please use the method
IlpAbstractDataSource.startBatch()
instead. |
static void |
StartDelayingComputeGraphic()
Deprecated.
Please use the method
IlpAbstractDataSource.startBatch()
instead. |
void |
startVisibility(IltGraphicManager manager,
IltGraphic graphic)
This is called when a graphic representation in a given view is created
and made visible at once.
|
abstract Object |
transformPosition(IltGraphicManager manager,
Object position)
Applies the manager transformer to the position/shape parameter and
returns the new position/shape.
|
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.
|
addAttributeValueListener, fireEvent, getAttributeGroup, getAttributeValue, getAttributeValue, getAttributeValueByName, getIdentifier, getIlpClass, getLocalAttributeValues, getObjectSupport, hasAttributeValue, removeAttributeValueListener, setAttributeValue, setAttributeValueByName, setLocalAttributeValues, setObjectSupport, toString
public static IltObjectInfo metainfo
IltObject
class.public static IltAttribute NameAttribute
Attribute name: name
.
Value type: String
.
getName()
,
setName(java.lang.String)
public static IlpComputedAttribute GraphicRepresentationAttribute
Attribute name: graphicRepresentation
.
This attribute is computed from all the other attributes and should not be set a value directly.
public static IltAttribute ObjectStateAttribute
IltObjectState
.
Attribute name: objectState
.
Value type: IltObjectState
.
By default, it is not shown in the table. It is used as a base for all computed attributes that represent the state of the object.
getObjectState()
,
setObjectState(ilog.tgo.model.IltObjectState)
public static IltAttribute PositionAttribute
IlpPosition
.
Attribute name: position
.
Value type: IlpPosition
.
By default, it is not shown in the table.
getPosition()
,
setPosition(ilog.cpl.graphic.IlpPosition)
public static IlpAttribute NewAlarmCountAttribute
IltObject
.
This attribute corresponds to the information displayed in the alarm
balloon of the object, for traps and raw alarms. See NewImpactAlarmCountAttribute
for the new alarm count for impact alarms.
Attribute name: newAlarmCount
.
Value type: IltAlarmCountAttributeType
.
The attribute includes:
This attribute is computed from the object state and should not be set a value directly.
AlarmCountAttribute
,
NewImpactAlarmCountAttribute
public static IlpAttribute NewImpactAlarmCountAttribute
IltObject
.
This attribute corresponds to the information displayed in the alarm
balloon of the object, for impact alarms. See NewAlarmCountAttribute
for the new alarm count for raw alarms.
Attribute name: newImpactAlarmCount
.
Value type: IltAlarmCountAttributeType
.
The attribute includes:
This attribute is computed from the object state and should not be set a value directly.
ImpactAlarmCountAttribute
,
NewAlarmCountAttribute
public static IlpAttribute AlarmCountAttribute
IltObject
. Outstanding means both acknowledged and new alarms.
This attribute corresponds to the information displayed on the base of
the object, for traps and raw alarms. See ImpactAlarmCountAttribute
for the alarm count for impact alarms.
Attribute name: alarmCount
.
Value type: IltAlarmCountAttributeType
.
The attribute includes:
This attribute is computed from the object state and should not be set a value directly.
NewAlarmCountAttribute
,
ImpactAlarmCountAttribute
public static IlpAttribute ImpactAlarmCountAttribute
IltObject
. Outstanding means both acknowledged and new alarms.
This attribute corresponds to the information displayed on the base of
the object, for impact alarms. See AlarmCountAttribute
for the
alarm count for raw alarms.
Attribute name: impactAlarmCount
.
Value type: IltAlarmCountAttributeType
.
The attribute includes:
This attribute is computed from the object state and should not be set a value directly.
NewImpactAlarmCountAttribute
,
AlarmCountAttribute
public static IlpAttribute NewAlarmHighestSeverityAttribute
IltObject
.
This attribute determines the color of the alarm balloon, for
traps and raw alarms. See NewImpactAlarmHighestSeverityAttribute
for the highest alarm severity for new impact alarms.
Attribute name: newAlarmHighestSeverity
.
Value type: IltAlarmSeverity
.
By default, it is not shown in the table.
This attribute is computed from the object state and should not be set a value directly.
AlarmHighestSeverityAttribute
,
AckAlarmHighestSeverityAttribute
,
NewImpactAlarmHighestSeverityAttribute
public static IlpAttribute NewImpactAlarmHighestSeverityAttribute
IltObject
.
This attribute determines the color of the alarm balloon, for
impact alarms. See NewAlarmHighestSeverityAttribute
for the highest alarm severity for new raw alarms.
Attribute name: newImpactAlarmHighestSeverity
.
Value type: IltAlarmSeverity
.
By default, it is not shown in the table.
This attribute is computed from the object state and should not be set a value directly.
ImpactAlarmHighestSeverityAttribute
,
AckImpactAlarmHighestSeverityAttribute
,
NewAlarmHighestSeverityAttribute
public static IlpAttribute AlarmHighestSeverityAttribute
IltObject
.
See ImpactAlarmHighestSeverityAttribute
for the highest
severity for impact alarms.
Attribute name: alarmHighestSeverity
.
Value type: IltAlarmSeverity
.
By default, this attribute is not shown.
This attribute is computed from the object state and should not be set a value directly.
AckAlarmHighestSeverityAttribute
,
NewAlarmHighestSeverityAttribute
,
ImpactAlarmHighestSeverityAttribute
public static IlpAttribute ImpactAlarmHighestSeverityAttribute
IltObject
.
See AlarmHighestSeverityAttribute
for the highest
severity for raw alarms.
Attribute name: impactAlarmHighestSeverity
.
Value type: IltAlarmSeverity
.
By default, this attribute is not shown.
This attribute is computed from the object state and should not be set a value directly.
AckImpactAlarmHighestSeverityAttribute
,
NewImpactAlarmHighestSeverityAttribute
,
AlarmHighestSeverityAttribute
public static IlpAttribute AckAlarmHighestSeverityAttribute
IltObject
.
See AckImpactAlarmHighestSeverityAttribute
for the highest
severity for impact alarms.
Attribute name: ackAlarmHighestSeverity
.
Value type: IltAlarmSeverity
.
By default, it is not shown in the table.
This attribute is computed from the object state and should not be set a value directly.
AlarmHighestSeverityAttribute
,
NewAlarmHighestSeverityAttribute
,
AckImpactAlarmHighestSeverityAttribute
public static IlpAttribute AckImpactAlarmHighestSeverityAttribute
IltObject
.
See AckAlarmHighestSeverityAttribute
for the highest
severity for raw alarms.
Attribute name: ackImpactAlarmHighestSeverity
.
Value type: IltAlarmSeverity
.
By default, it is not shown in the table.
This attribute is computed from the object state and should not be set a value directly.
ImpactAlarmHighestSeverityAttribute
,
NewImpactAlarmHighestSeverityAttribute
,
AckAlarmHighestSeverityAttribute
public static IlpAttribute NewAlarmCountNumberAttribute
IltObject
.
This attribute corresponds to the number of new alarms or
traps present in the object, despite the alarm severity.
See NewImpactAlarmCountNumberAttribute
for the new alarm
count for impact alarms.
Attribute name: newAlarmCountNumber
.
Value type: Integer
.
This attribute is computed from the object state and should not be set a value directly.
AlarmCountAttribute
,
NewAlarmCountAttribute
public static IlpAttribute NewImpactAlarmCountNumberAttribute
IltObject
.
This attribute corresponds to the number of new impact alarms
in the object, despite the alarm severity.
See NewAlarmCountNumberAttribute
for the new alarm
count for raw alarms.
Attribute name: newImpactAlarmCountNumber
.
Value type: Integer
.
This attribute is computed from the object state and should not be set a value directly.
ImpactAlarmCountAttribute
,
NewAlarmCountAttribute
public static IlpAttribute AlarmCountNumberAttribute
IltObject
. Outstanding means both acknowledged and new alarms.
Attribute name: alarmCountNumber
.
Value type: Integer
.
This attribute is computed from the object state and should not be set a value directly.
NewAlarmCountAttribute
,
ImpactAlarmCountAttribute
public static IlpAttribute ImpactAlarmCountNumberAttribute
IltObject
. Outstanding means both acknowledged and new alarms.
Attribute name: impactAlarmCountNumber
.
Value type: Integer
.
This attribute is computed from the object state and should not be set a value directly.
NewImpactAlarmCountAttribute
,
AlarmCountAttribute
public static IlpAttribute PrimaryStateAttribute
IltObject
. It determines the base style.
Attribute name: primaryState
.
Value type: String
.
This attribute is computed from the object state and should not be set a value directly.
public static IlpAttribute SecondaryStatesAttribute
IltObject
. This attribute determines the small icons displayed
at the top left of the base.
Attribute name: secondaryStates
.
Value type: String
.
This attribute is computed from the object state and should not be set a value directly.
public static IltAttribute LogicalTypeAttribute
Attribute name: logicalType
.
Value type: IltObject.LogicalType
.
By default, it is not shown in the table.
public static IltAttribute TinyTypeAttribute
Attribute name: tinyType
.
Value type: IltObject.TinyType
.
By default, it is not shown in the table.
@Deprecated public static IlpBooleanKey IsVisible
Note that changing the value of this property affects only the legend
attached to an IltGraphic
.
Note that this key is not supposed to be used when this
IltObject
is in a data source.
@Deprecated public static IlpBooleanKey IsSelectable
IltSelectInteractor
.IltObjectCustomization.isSelectable()
public static IlpBooleanKey IsEditable
IltSelectInteractor
.IltObjectCustomization.isEditable()
@Deprecated public static IlpFloatKey Alpha
alpha
instead.Note: For the moment, this alpha value has an effect only in the network and equipment components.
IltObjectCustomization.getAlpha()
@Deprecated public static IlpFontKey LabelFont
labelFont
instead.IltObjectCustomization.getLabelFont()
,
IltrFont.NodeNameText
,
IltrFont.GroupNameText
,
IltrFont.LinkNameText
,
IltrFont.OffPageConnectorNameText
@Deprecated public static IlpBooleanKey LabelAntialiasing
labelAntialiasing
instead.IltObjectCustomization.isLabelAntialiasing()
@Deprecated public static IlpBooleanKey LabelZoomable
IltObjectCustomization.isLabelZoomable()
@Deprecated public static IlpColorKey LabelForegroundColor
labelForeground
instead.IltObjectCustomization.getLabelForeground()
,
IltrColor.NodeNameText
,
IltrColor.GroupNameText
,
IltrColor.LinkNameText
,
IltrColor.OffPageConnectorNameText
@Deprecated public static IlpColorKey LabelBackgroundColor
labelBackground
instead.null
, no
background rectangle will be drawn.IltObjectCustomization.getLabelBackground()
,
IltrTextPalette.NodeNameText
,
IltrTextPalette.GroupNameText
,
IltrTextPalette.LinkNameText
,
IltrTextPalette.OffPageConnectorNameText
@Deprecated public static IlpColorKey LabelBorderColor
labelBorderColor
instead.null
, no
rectangle will be drawn.IltObjectCustomization.getLabelBorderColor()
@Deprecated public static IlpBooleanKey LabelVisible
labelVisible
instead.IltObjectCustomization.isLabelVisible()
@Deprecated public static IlpValueMapKey AlarmSeverityColorMap
IltAlarm.SetSeverityMapping
method instead.@Deprecated public static IlpValueMapKey AlarmSeverityDescriptionMap
IltAlarm.SetSeverityMapping
method instead.@Deprecated public static IlpColorKey AlarmCriticalColor
alarmCriticalColor
instead.IltObjectCustomization.getAlarmCriticalColor()
@Deprecated public static IlpColorKey AlarmCriticalBrightColor
alarmCriticalBrightColor
instead.IltObjectCustomization.getAlarmCriticalBrightColor()
@Deprecated public static IlpColorKey AlarmCriticalDarkColor
alarmCriticalDarkColor
instead.IltObjectCustomization.getAlarmCriticalDarkColor()
@Deprecated public static IlpStringKey AlarmCriticalAbbreviation
alarmCriticalAbbreviation
instead.IltObjectCustomization.getAlarmCriticalAbbreviation()
@Deprecated public static IlpStringKey AlarmCriticalDescription
alarmCriticalDescription
instead.IltObjectCustomization.getAlarmCriticalDescription()
@Deprecated public static IlpColorKey AlarmMajorColor
alarmMajorColor
instead.IltObjectCustomization.getAlarmMajorColor()
@Deprecated public static IlpColorKey AlarmMajorBrightColor
alarmMajorBrightColor
instead.IltObjectCustomization.getAlarmMajorBrightColor()
@Deprecated public static IlpColorKey AlarmMajorDarkColor
alarmMajorDarkColor
instead.IltObjectCustomization.getAlarmMajorDarkColor()
@Deprecated public static IlpStringKey AlarmMajorAbbreviation
alarmMajorAbbreviation
instead.IltObjectCustomization.getAlarmMajorAbbreviation()
@Deprecated public static IlpStringKey AlarmMajorDescription
alarmMajorDescription
instead.IltObjectCustomization.getAlarmMajorDescription()
@Deprecated public static IlpColorKey AlarmMinorColor
alarmMinorColor
instead.IltObjectCustomization.getAlarmMinorColor()
@Deprecated public static IlpColorKey AlarmMinorBrightColor
alarmMinorBrightColor
instead.IltObjectCustomization.getAlarmMinorBrightColor()
@Deprecated public static IlpColorKey AlarmMinorDarkColor
alarmMinorDarkColor
instead.IltObjectCustomization.getAlarmMinorDarkColor()
@Deprecated public static IlpStringKey AlarmMinorAbbreviation
alarmMinorAbbreviation
instead.IltObjectCustomization.getAlarmMinorAbbreviation()
@Deprecated public static IlpStringKey AlarmMinorDescription
alarmMinorDescription
instead.IltObjectCustomization.getAlarmMinorDescription()
@Deprecated public static IlpColorKey AlarmWarningColor
alarmWarningColor
instead.IltObjectCustomization.getAlarmWarningColor()
@Deprecated public static IlpColorKey AlarmWarningBrightColor
alarmWarningBrightColor
instead.IltObjectCustomization.getAlarmWarningBrightColor()
@Deprecated public static IlpColorKey AlarmWarningDarkColor
alarmWarningDarkColor
instead.IltObjectCustomization.getAlarmWarningDarkColor()
@Deprecated public static IlpStringKey AlarmWarningAbbreviation
alarmWarningAbbreviation
instead.IltObjectCustomization.getAlarmWarningAbbreviation()
@Deprecated public static IlpStringKey AlarmWarningDescription
alarmWarningDescription
instead.IltObjectCustomization.getAlarmWarningDescription()
public static IlpColorKey AlarmUnknownColor
IltObjectCustomization.getAlarmUnknownColor()
public static IlpColorKey AlarmUnknownBrightColor
IltObjectCustomization.getAlarmUnknownBrightColor()
public static IlpColorKey AlarmUnknownDarkColor
IltObjectCustomization.getAlarmUnknownDarkColor()
public static IlpStringKey AlarmUnknownAbbreviation
IltObjectCustomization.getAlarmUnknownAbbreviation()
public static IlpStringKey AlarmUnknownDescription
IltObjectCustomization.getAlarmUnknownDescription()
@Deprecated public static IlpColorKey AlarmLossOfConnectivityColor
alarmLossOfConnectivityColor
instead.LossOfConnectivity
alarms.IltObjectCustomization.getAlarmLossOfConnectivityColor()
@Deprecated public static IlpColorKey AlarmLossOfConnectivityBrightColor
alarmLossOfConnectivityBrightColor
instead.LossOfConnectivity
alarms.IltObjectCustomization.getAlarmLossOfConnectivityBrightColor()
@Deprecated public static IlpColorKey AlarmLossOfConnectivityDarkColor
alarmLossOfConnectivityDarkColor
instead.LossOfConnectivity
alarms.IltObjectCustomization.getAlarmLossOfConnectivityDarkColor()
@Deprecated public static IlpStringKey AlarmLossOfConnectivityAbbreviation
alarmLossOfConnectivityAbbreviation
instead.LossOfConnectivity
alarms.IltObjectCustomization.getAlarmLossOfConnectivityAbbreviation()
@Deprecated public static IlpColorKey AlarmBalloonColor
alarmBalloonColor
instead.IltObjectCustomization.getAlarmBalloonColor()
@Deprecated public static IlpColorKey AlarmBalloonShadowColor
alarmBalloonShadowColor
instead.IltObjectCustomization.getAlarmBalloonShadowColor()
@Deprecated public static IlpFontKey AlarmBalloonTextFont
alarmBalloonTextFont
instead.IltObjectCustomization.getAlarmBalloonTextFont()
@Deprecated public static IlpBooleanKey AlarmBalloonTextAntialiasing
alarmBalloonTextAntialiasing
instead.IltObjectCustomization.isAlarmBalloonTextAntialiasing()
@Deprecated public static IlpColorKey AlarmBalloonTextForegroundColor
alarmBalloonTextForeground
instead.IltObjectCustomization.getAlarmBalloonTextForeground()
@Deprecated public static IlpColorKey AlarmBalloonTextBackgroundColor
alarmBalloonTextBackground
instead.null
, no background rectangle will be drawn.IltObjectCustomization.getAlarmBalloonTextBackground()
@Deprecated public static IlpBooleanKey AlarmBalloonVisible
alarmBalloonVisible
instead.IltObjectCustomization.isAlarmBalloonVisible()
@Deprecated public static IlpBooleanKey AbbreviateBalloonAlarmCount
alarmBalloonCountAbbreviated
instead.IltObjectCustomization.isAlarmBalloonCountAbbreviated()
@Deprecated public static IlpBooleanKey AbbreviateBaseAlarmCount
alarmCountAbbreviated
instead.IltObjectCustomization.isAlarmCountAbbreviated()
@Deprecated public static IlpBooleanKey AlarmBalloonContentsCollapsed
alarmBalloonCollapsed
instead.IltObjectCustomization.isAlarmBalloonCollapsed()
@Deprecated public static IlpIntegerKey AlarmBalloonPosition
alarmBalloonPosition
instead.IlvDirection.Top
, IlvDirection.Bottom
,
IlvDirection.Left
, IlvDirection.Right
.IltObjectCustomization.getAlarmBalloonPosition()
@Deprecated public static IlpFontKey AlarmCountFont
alarmCountFont
instead.IltObjectCustomization.getAlarmCountFont()
@Deprecated public static IlpBooleanKey AlarmCountAntialiasing
alarmCountAntialiasing
instead.IltObjectCustomization.isAlarmCountAntialiasing()
@Deprecated public static IlpColorKey AlarmCountForegroundColor
alarmCountForeground
instead.IltObjectCustomization.getAlarmCountForeground()
@Deprecated public static IlpColorKey AlarmCountBackgroundColor
alarmCountBackground
instead.null
, no background rectangle will be drawn.IltObjectCustomization.getAlarmCountBackground()
@Deprecated public static IlpBooleanKey AlarmCountVisible
alarmCountVisible
instead.IltObjectCustomization.isAlarmCountVisible()
@Deprecated public static IlpColorKey AlarmBorderColor
alarmBorderColor
instead.IltObjectCustomization.getAlarmBorderColor()
@Deprecated public static IlpIntegerKey AlarmBorderThickness
alarmBorderWidth
instead.IltObjectCustomization.getAlarmBorderWidth()
@Deprecated public static IlpBooleanKey AlarmBorderVisible
alarmBorderVisible
instead.IltObjectCustomization.isAlarmBorderVisible()
@Deprecated public static IlpBooleanKey HasAlarmColor
foreground
to modify the
foreground color of the object instead.IltObjectCustomization.getForeground()
@Deprecated public static IlpBooleanKey AlarmColorVisible
alarmColorVisible
instead.IltObjectCustomization.isAlarmColorVisible()
@Deprecated public static IlpBooleanKey AlarmsAsMarks
alarmAsMark
instead.IltObjectCustomization.isAlarmAsMark()
@Deprecated public static IlpColorKey BorderColor
borderColor
instead.IltObjectCustomization.getBorderColor()
@Deprecated public static IlpColorKey BorderColor2
borderColor2
instead.IltObjectCustomization.getBorderColor2()
@Deprecated public static IlpColorKey ForegroundColor
foreground
instead.IltObjectCustomization.getForeground()
@Deprecated public static IlpColorKey BackgroundColor
background
instead.IltObjectCustomization.getBackground()
@Deprecated public static IlpLineStyleKey LineStyle
lineStyle
instead.IltObjectCustomization.getLineStyle()
@Deprecated public static IlpPatternKey Pattern
pattern
instead.IltObjectCustomization.getPattern()
@Deprecated public static IlpLineStyleKey BorderLineStyle
borderLineStyle
instead.IltObjectCustomization.getBorderLineStyle()
@Deprecated public static IlpPatternKey BorderPattern
borderPattern
instead.IltObjectCustomization.getBorderPattern()
@Deprecated public static IlpBooleanKey ReliefBorders
reliefBorders
instead.IltObjectCustomization.isReliefBorders()
@Deprecated public static IlpFloatKey BorderWidth
borderWidth
instead.IltObjectCustomization.getBorderWidth()
@Deprecated public static IlpEnumKey DetailLevel
detailLevel
instead.IltDetailLevel
.
This key is mapped.IltObjectCustomization.getDetailLevel()
@Deprecated public static IlpColorKey PlinthColor
plinthColor
instead.IltObjectCustomization.getPlinthColor()
@Deprecated public static IlpColorKey PlinthBrightColor
plinthBrightColor
instead.IltObjectCustomization.getPlinthBrightColor()
@Deprecated public static IlpColorKey PlinthDarkColor
plinthDarkColor
instead.IltObjectCustomization.getPlinthDarkColor()
@Deprecated public static IlpBooleanKey PlinthVisible
plinthVisible
instead.IltObjectCustomization.isPlinthVisible()
@Deprecated public static IlpBooleanKey IconsVisible
secondaryStateVisible
instead.IltObjectCustomization.isSecondaryStateVisible()
@Deprecated public static IlpIntegerKey InfoIconThreshold
infoIconThreshold
instead.IltObjectCustomization.getInfoIconThreshold()
@Deprecated public static IlpColorKey InfoWindowBorderColor
infoWindowBorderColor
instead.IltObjectCustomization.getInfoWindowBorderColor()
@Deprecated public static IlpColorKey InfoWindowColor
infoWindowColor
instead.IltObjectCustomization.getInfoWindowColor()
@Deprecated public static IlpColorKey InfoWindowShadowColor
infoWindowShadowColor
instead.IltObjectCustomization.getInfoWindowShadowColor()
@Deprecated public static IlpBooleanKey InfoWindowVisible
infoWindowVisible
instead.IltObjectCustomization.isInfoWindowVisible()
@Deprecated public static IlpFontKey InfoWindowTextFont
infoWindowTextFont
instead.IltObjectCustomization.getInfoWindowTextFont()
@Deprecated public static IlpBooleanKey InfoWindowTextAntialiasing
infoWindowTextAntialiasing
instead.IltObjectCustomization.isInfoWindowTextAntialiasing()
@Deprecated public static IlpIntegerKey SecondaryStateStackerPosition
secondaryStatePosition
instead.IlvDirection.Top
,
IlvDirection.Bottom
.IltObjectCustomization.getSecondaryStatePosition()
@Deprecated public static IlpColorKey InfoWindowTextForegroundColor
infoWindowTextForeground
instead.IltObjectCustomization.getInfoWindowTextForeground()
@Deprecated public static IlpColorKey InfoWindowTextBackgroundColor
infoWindowTextBackground
instead.null
, no background rectangle will be drawn.IltObjectCustomization.getInfoWindowColor()
@Deprecated public static IlpBooleanKey InfoWindowAlwaysVisible
infoWindowPresent
instead.IltObjectCustomization.isInfoWindowPresent()
@Deprecated public static IlpBooleanKey ListPrimaryState
listPrimaryState
instead.IltObjectCustomization.getListPrimaryState()
@Deprecated public static IlpColorKey SelectionBorderForegroundColor
selectionBorderForeground
instead.IltObjectCustomization.getSelectionBorderForeground()
@Deprecated public static IlpColorKey SelectionBorderBackgroundColor
selectionBorderBackground
instead.IltObjectCustomization.getSelectionBorderBackground()
@Deprecated public static IlpLineStyleKey SelectionBorderLineStyle
selectionBorderLineStyle
instead.IltObjectCustomization.getSelectionBorderLineStyle()
@Deprecated public static IlpIntegerKey SelectionBorderThickness
selectionBorderWidth
instead.IltObjectCustomization.getSelectionBorderWidth()
@Deprecated public static IlpColorKey DottedBorderForegroundColor
dottedBorderForeground
instead.IltObjectCustomization.getDottedBorderForeground()
@Deprecated public static IlpColorKey DottedBorderBackgroundColor
dottedBorderBackground
instead.IltObjectCustomization.getDottedBorderBackground()
@Deprecated public static IlpLineStyleKey DottedBorderLineStyle
dottedBorderLineStyle
instead.IltObjectCustomization.getDottedBorderLineStyle()
@Deprecated public static IlpBooleanKey IsTiny
tiny
instead.IltObjectCustomization.isTiny()
@Deprecated public static IlpFontKey TinyLabelFont
labelFont
instead.IltObjectCustomization.getLabelFont()
@Deprecated public static IlpBooleanKey TinyLabelAntialiasing
labelAntialiasing
instead.IltObjectCustomization.isLabelAntialiasing()
@Deprecated public static IlpIntegerKey TinyBorderThickness
borderWidth
instead.IltObjectCustomization.getBorderWidth()
,
IltrThickness.TinyElementReliefThickness
,
IltrThickness.TinyGroupReliefThickness
@Deprecated public static IlpIntegerKey TinyAlarmBorderThickness
alarmBorderWidth
instead.IltObjectCustomization.getAlarmBorderWidth()
@Deprecated public static IlpBooleanKey IsLogical
logical
instead.IltObjectCustomization.isLogical()
@Deprecated public static IlpFontKey LogicalLabelFont
labelFont
instead.IltObjectCustomization.getLabelFont()
,
IltrFont.LogicalElementText
,
IltrFont.LogicalGroupText
@Deprecated public static IlpBooleanKey LogicalLabelAntialiasing
labelAntialiasing
instead.IltObjectCustomization.isLabelAntialiasing()
@Deprecated public static IlpIntegerKey LogicalWidth
shapeWidth
instead.IltObjectCustomization.getWidth()
@Deprecated public static IlpIntegerKey LogicalHeight
shapeHeight
instead.IltObjectCustomization.getHeight()
@Deprecated public static IlpIntegerKey LogicalBorderThickness
borderWidth
instead.IltObjectCustomization.getBorderWidth()
,
IltrThickness.LogicalElementReliefThickness
,
IltrThickness.LogicalGroupReliefThickness
@Deprecated public static IlpFloatKey CenterWidth
centerWidth
instead.IltObjectCustomization.getCenterWidth()
@Deprecated public static IlpFloatKey ForcedWidth
forcedWidth
instead.CenterWidth
and
BorderWidth
are used as is to determine the width of the
linear base. If the value is non-zero, both parameters are augmented
or diminished so that the total width equals the width stored in the
ForcedWidth
value.IltObjectCustomization.getForcedWidth()
@Deprecated public static IlpIntegerKey Direction
direction
instead.IlvDirection.Right
,
IlvDirection.Left
, IlvDirection.Top
, or
IlvDirection.Bottom
.
The default value is IlvDirection.Right
.IltObjectCustomization.getDirection()
@Deprecated public static IlpBooleanKey ContainerStatusVisible
containerStatusVisible
instead.IltObjectCustomization.isContainerStatusVisible()
@Deprecated public static IlpBooleanKey ContainerExpansionIconVisible
containerExpansionIconVisible
instead.ContainerStatusVisible
is set to true
.
Note: For subnetworks, this style property has no effect; use
IlpObjectKeys.SubnetworkExpansionIconVisible
instead.
IltObjectCustomization.isContainerExpansionIconVisible()
@Deprecated public static IlpBooleanKey ContainerOutsideExpansionIconVisible
ContainerStatusVisible
is set to true
.@Deprecated public static IlpBooleanKey ContainerCollapseIconVisible
containerCollapseIconVisible
instead.ContainerStatusVisible
is set to true
.
Note: For subnetworks, this style property has no effect; use
IlpObjectKeys.SubnetworkCollapseIconVisible
instead.
IltObjectCustomization.isContainerCollapseIconVisible()
@Deprecated public static IlpIntegerKey LabelPosition
labelPosition
instead.IltObjectCustomization.getLabelPosition()
,
IlvDirection
@Deprecated public static IlpPointKey LabelOffset
labelOffset
instead.IltObjectCustomization.getLabelOffset()
@Deprecated public static IlpIntegerKey LabelDirection
labelDirection
instead.IlvDirection.Top
,
IlvDirection.Bottom
, IlvDirection.Left
,
or IlvDirection.Right
.IltObjectCustomization.getLabelDirection()
@Deprecated public static IlpColorKey TrapLinkFailureColor
trapLinkFailureColor
instead.IltObjectCustomization.getTrapLinkFailureColor()
@Deprecated public static IlpColorKey TrapLinkFailureBrightColor
trapLinkFailureBrightColor
instead.IltObjectCustomization.getTrapLinkFailureBrightColor()
@Deprecated public static IlpColorKey TrapLinkFailureDarkColor
trapLinkFailureDarkColor
instead.IltObjectCustomization.getTrapLinkFailureDarkColor()
@Deprecated public static IlpStringKey TrapLinkFailureAbbreviation
trapLinkFailureAbbreviation
instead.IltObjectCustomization.getTrapLinkFailureAbbreviation()
@Deprecated public static IlpStringKey TrapLinkFailureDescription
trapLinkFailureDescription
instead.IltObjectCustomization.getTrapLinkFailureDescription()
@Deprecated public static IlpColorKey TrapAuthenticationFailureColor
trapAuthenticationFailureColor
instead.IltObjectCustomization.getTrapAuthenticationFailureColor()
@Deprecated public static IlpColorKey TrapAuthenticationFailureBrightColor
trapAuthenticationFailureBrightColor
instead.IltObjectCustomization.getTrapAuthenticationFailureBrightColor()
@Deprecated public static IlpColorKey TrapAuthenticationFailureDarkColor
trapAuthenticationFailureDarkColor
instead.IltObjectCustomization.getTrapAuthenticationFailureDarkColor()
@Deprecated public static IlpStringKey TrapAuthenticationFailureAbbreviation
trapAuthenticationFailureAbbreviation
instead.IltObjectCustomization.getTrapAuthenticationFailureAbbreviation()
@Deprecated public static IlpStringKey TrapAuthenticationFailureDescription
trapAuthenticationFailureDescription
instead.IltObjectCustomization.getTrapAuthenticationFailureDescription()
@Deprecated public static IlpColorKey TrapEGPNeighborLossColor
trapEGPNeighborLossColor
instead.IltObjectCustomization.getTrapEGPNeighborLossColor()
@Deprecated public static IlpColorKey TrapEGPNeighborLossBrightColor
trapEGPNeighborLossBrightColor
instead.IltObjectCustomization.getTrapEGPNeighborLossBrightColor()
@Deprecated public static IlpColorKey TrapEGPNeighborLossDarkColor
trapEGPNeighborLossDarkColor
instead.IltObjectCustomization.getTrapEGPNeighborLossDarkColor()
@Deprecated public static IlpStringKey TrapEGPNeighborLossAbbreviation
trapEGPNeighborLossAbbreviation
instead.IltObjectCustomization.getTrapEGPNeighborLossAbbreviation()
@Deprecated public static IlpStringKey TrapEGPNeighborLossDescription
trapEGPNeighborLossDescription
instead.IltObjectCustomization.getTrapEGPNeighborLossDescription()
@Deprecated public static IlpColorKey TrapColdStartColor
trapColdStartColor
instead.IltObjectCustomization.getTrapColdStartColor()
@Deprecated public static IlpColorKey TrapColdStartBrightColor
trapColdStartBrightColor
instead.IltObjectCustomization.getTrapColdStartBrightColor()
@Deprecated public static IlpColorKey TrapColdStartDarkColor
trapColdStartDarkColor
instead.IltObjectCustomization.getTrapColdStartDarkColor()
@Deprecated public static IlpStringKey TrapColdStartAbbreviation
trapColdStartAbbreviation
instead.IltObjectCustomization.getTrapColdStartAbbreviation()
@Deprecated public static IlpStringKey TrapColdStartDescription
trapColdStartDescription
instead.IltObjectCustomization.getTrapColdStartDescription()
@Deprecated public static IlpColorKey TrapWarmStartColor
trapWarmStartColor
instead.IltObjectCustomization.getTrapWarmStartColor()
@Deprecated public static IlpColorKey TrapWarmStartBrightColor
trapWarmStartBrightColor
instead.IltObjectCustomization.getTrapWarmStartBrightColor()
@Deprecated public static IlpColorKey TrapWarmStartDarkColor
trapWarmStartDarkColor
instead.IltObjectCustomization.getTrapWarmStartDarkColor()
@Deprecated public static IlpStringKey TrapWarmStartAbbreviation
trapWarmStartAbbreviation
instead.IltObjectCustomization.getTrapWarmStartAbbreviation()
@Deprecated public static IlpStringKey TrapWarmStartDescription
trapWarmStartDescription
instead.IltObjectCustomization.getTrapWarmStartDescription()
@Deprecated public static IlpStringKey SNMPSystemDescription
snmpSystemDescription
instead.SNMP.System.Description
attribute, when it is displayed
in the system window.IltObjectCustomization.getSnmpSystemDescription()
@Deprecated public static IlpStringKey SNMPSystemContact
snmpSystemContact
instead.SNMP.System.Contact
attribute when it is displayed in
the system window.IltObjectCustomization.getSnmpSystemContact()
@Deprecated public static IlpStringKey SNMPSystemLocation
snmpSystemLocation
instead.SNMP.System.Location
attribute, when it is displayed
in the system window.IltObjectCustomization.getSnmpSystemLocation()
@Deprecated public static IlpEnumArrayKey LinkPorts
linkPorts
instead.IltLinkPort[]
.IltObjectCustomization.getLinkPorts()
,
IltLinkPort
,
IltShortLinkLayout
public static IlpColorKey MappedColor
public static IlpColorKey MappedColor2
public static IlpColorKey MappedBrightColor
public static IlpColorKey MappedDarkColor
public static IlpColorKey MappedBorderColor
public static IlpColorKey MappedBorderColor2
public static IlpColorKey BlinkingForegroundColor
public static IlpColorKey BlinkingBackgroundColor
public static IlpColorKey BlinkingBorderColor
public static IlpColorKey BlinkingBorderColor2
public static IlpImageKey SourceImage
public static IlpIntegerKey AlarmColorLevel
@Deprecated public static IlpStringKey AlarmNotReportingAbbreviation
alarmNotReportingAbbreviation
instead.NotReporting
alarms.
Do not document new style keys - should use CSS declarations instead.IltObjectCustomization.getAlarmNotReportingAbbreviation()
@Deprecated public static IlpBooleanKey BaseSelectionBorderVisible
@Deprecated public static IlpBooleanKey CanBeLogical
public static IlpImageKey PassiveIcon
public static IlpBooleanKey PassiveIconVisible
public static IlpImageKey ShortcutIcon
public static IlpBooleanKey ShortcutIconVisible
public static IlpValueMapKey ShortcutIconMap
public static IlpValueMapKey ShortcutToolTipMap
public static IlpBooleanKey BaseStyleEnabled
public static IlpBooleanKey MultilineBaseAlarmCount
public static IlpBooleanKey AlarmLossOfConnectivityOverride
public static IlpBooleanKey ListPrimaryAlarmState
public static IlpBooleanKey ListSecondaryAlarmState
public static IlpBooleanKey ListAlarmStateAbbreviated
public static IlpKey ChildrenDecorations
public static IlpKey ChildrenDecorationConstraints
public static IlpColorKey AlarmColor
public static IlpColorKey AlarmBrightColor
public static IlpColorKey AlarmDarkColor
public static IlpStringKey AlarmCountLabel
public static IlpImageKey AlarmCountIcon
public static IlpBooleanKey AlarmCountIconVisible
public static IlpIntegerKey AlarmCountIconPosition
public static IlpStringKey AlarmBalloonCountLabel
public static IlpImageKey AlarmBalloonCountIcon
public static IlpEnumKey PrimaryAlarmState
IltObjectCustomization.getPrimaryAlarmState()
public static IlpIntegerKey PlinthHorizontalMargin
public static IlpIntegerKey PlinthVerticalMargin
public static IltObjectInteractor InfoIconInteractor
public static final String BUSINESS_OBJECT_PROPERTY
protected transient Constructor _cloneConstructor
protected boolean _automaticDecorationsDirection
public IltObject(Object identifier)
IltObject
with a given identifier.identifier
- The identifier of this new instancepublic IltObject(IlpClass ilpClass, Object identifier)
IltObject
with a given identifier and a given
IlpClass
.ilpClass
- The business class of this new instance. It must be a
subclass of IltObject
.identifier
- The identifier of this new instancepublic IltObject(IltObjectState state)
IltObject
API. An ID is automatically generated using
IlpIDGenerator.GetID()
.state
- the object state of this new instancepublic IltObject(IltObjectState state, String name)
IltObject
API. An ID is
automatically generated using
IlpIDGenerator.GetID()
.state
- the object state of this new instancename
- the name of the objectpublic static IltObjectInfo GetIlpClass()
public IltObjectInfo getObjectInfo()
public IltObjectState getObjectState()
getObjectState
in interface IltStateHolder
public IltAlarm.State getAlarmState()
This is equivalent to getObjectState().getAlarmState()
.
public IltTrap.State getTrapState()
This is the equivalent to getObjectState().getTrapState()
.
public void setObjectState(IltObjectState state)
state
- the new semantic state of this object.public boolean hasState(IltState state)
state
- The state which presence to testtrue
if the state has been foundpublic boolean setState(IltState state)
state
- The state to add or set to the semantic statetrue
if the state could be added or set. A possible
cause of failure may be that the state is not part of the object state.public boolean clearState(IltState state)
state
- The state to remove from the semantic statetrue
if the state could be removed. A possible
cause of failure may be that the state is not part of the object state.public void resetState()
public boolean setState(IltState state, Object value)
state
- The state with the value to be setvalue
- The new value of the statetrue
if the value could be set on the state. A possible
cause of failure may be that the state is not part of the object state.public Object getState(IltState state)
state
- The state with the value to be retrieved@Deprecated public String getLabel()
getName
instead.@Deprecated public void setLabel(String label)
setName
instead.public String getName()
String
NameAttribute
public void setName(String name)
name
- the new name of the objectNameAttribute
public IlpPosition getPosition()
Note: This is usually not the same as the
graphic position/shape retrieved through getCenterPoint
or getShape
.
PositionAttribute
,
IltDefaultDataSource
public void setPosition(IlpPosition position)
Note: Calling this function makes sense only for an object that is contained in a data source or will be added to a data source. For an object outside a data source, this function has no visible effect.
position
- the new position of the objectPositionAttribute
,
IltDefaultDataSource
public IltObject.LogicalType getLogicalType()
public void setLogicalType(IltObject.LogicalType type)
type
- the new logical type of the objectpublic IltObject.TinyType getTinyType()
public void setTinyType(IltObject.TinyType type)
type
- the new tiny type of the objectprotected void initializeObject(IltObjectState state, String name)
public ilog.tgo.graphic.internal.IltGraphicRepresentationStyle getGraphicRepresentationStyle(IltCompositeGraphic graphic)
IltCompositeGraphic
when the graphical representation of this object is being computed.protected ilog.tgo.attacher.IltAttacherInfoController getAttacherInfoController()
_attacherInfoController
should never be
used directly, instead this method must be called.public ilog.tgo.attacher.IltAttacherInfo getAttacherInfo(ilog.tgo.graphic.internal.IltGraphicRepresentationStyle rep)
IltAttacherInfo
which represents
the given graphical representation.public void mapDirection()
IltDefaultMapAttributeStrategy.doMap
method to
map decoration legend according to the current object
direction.
This method is being overridden only by IltCardItem
implementation and is very specific. It should not be documented,
and it may be interesting to have IltGraphic
as a
parameter...
@Deprecated public static IltBaseStyleMapping GetBaseStyleMapping(IltBaseStyle baseStyle)
IltBaseStyleMapping
associated with the specified
baseStyle
.baseStyle
- the base style whose base style mapping is asked forpublic ilog.tgo.mapper.IltObjectMapper getObjectMapper()
public ilog.tgo.mapper.attribute.IltObjectSystemMapper getObjectSystemMapper()
public ilog.tgo.graphic.internal.IltGraphicMultiplexer getGraphic()
@Deprecated public IltGraphic getGraphic(IltGraphicManager manager)
IlpObject
to a datasource
and is it being displayed, you can retrieve the
IlpRepresentationObject
through
network.getAdapter().getRepresentationObject(obj)
and the IlpGraphic
through
network.getView().getGraphic(repobj)
.IltGraphic
which represents this object in a given view.
Returns null
if the object is not represented in the given
view.
Note that this method is not supposed to be used when this
IltObject
is in a DataSource.
public IltGraphic getGraphicNotNull(IltGraphicManager manager)
public IltGraphic getGraphicInHierarchy(IltGraphicManager manager)
public IltGraphic getGraphicNotNullInHierarchy(IltGraphicManager manager)
public void setGraphic(IltGraphicManager manager, IltGraphic graphic)
@Deprecated public void createGraphic(IltGraphicManager manager)
IlpNetwork
, is enough
to make its graphic representation visible.IltGraphicManager
. If no graphic representation exists
in this view, an invisible graphic representation is created.
Note that this method is not supposed to be used when this
IltObject
is in a DataSource.
@Deprecated public void computeGraphic(IltGraphicManager manager)
IlpNetwork
, is enough
to make its graphic representation visible. Once visible,
it is updated automatically when needed.IltGraphicManager
. If no graphic representation
exists in this view, a visible graphic representation is created.
Note that this method is not supposed to be used when this
IltObject
is in a DataSource.
public void computeGraphic(IltGraphicManager manager, IltGraphic graphic, ilog.tgo.graphic.internal.IltComputeAmount amount)
@Deprecated public void computeGraphic(IltGraphicManager manager, Object position) throws IllegalArgumentException
IlpNetwork
, is enough to make its graphic representation
visible. Once visible, it is updated automatically when needed.IltGraphicManager
. If no graphic representation exists in this view,
a visible graphic representation is created.
The position attribute is used to define a position/shape for the new graphic representation in the given manager.
Depending on the class of IltObject
, the position attribute may have
a specific value:
IlvPoint
for IltNetworkElement
,
IltOffPageConnector
, IltShelf
,
IlvRect
for IltRectGroup
,
IltShelfItem
,
IlpPolyline
for IltAbstractLink
,
IltLinearGroup
,
IlpPolygon
for IltPolyGroup
.
When the given value is not of the expected type, depending on the
IltObject
subclass, an IllegalArgumentException
is thrown.
Note that this method is not supposed to be used when this
IltObject
is in a DataSource.
IllegalArgumentException
public void computeGraphic(IltGraphicManager manager, Object position, ilog.tgo.graphic.internal.IltComputeAmount amount)
IltGraphicManager
. If no graphic representation exists in this view,
a visible graphic representation is created.
The position attribute is used to define a position/shape for the new graphic representation in the given manager.
Depending on the class of IltObject
, the position attribute may have
a specific value:
IlvPoint
for IltNetworkElement
,
IltOffPageConnector
, IltShelf
,
IlvRect
for IltRectGroup
,
IltShelfItem
,
IlpPolyline
for IltAbstractLink
,
IltLinearGroup
,
IlpPolygon
for IltPolyGroup
.
When the given value is not of the expected type, depending on the
IltObject
subclass, an IllegalArgumentException
is thrown.
public void computeGraphicAtPosition(IltGraphicManager manager, Object position, Object positionInManager, ilog.tgo.graphic.internal.IltComputeAmount amount)
null
), the representation is put at this position.position
- the shape in stationary coordinatespositionInManager
- the shape in manager coordinates (takes into
account the logical zoom transformer)amount
- amount of recomputation needed (including for
the position)public void startVisibility(IltGraphicManager manager, IltGraphic graphic)
public IltGraphic preCreateGraphic(IltGraphicManager manager)
public void initializeCreatedGraphic(IltGraphicManager manager, IltGraphic graphic)
public void initializeVisibleGraphic(IltGraphicManager manager, IltGraphic graphic)
public abstract ilog.tgo.graphic.internal.IltGraphicUpdate createPositionUpdate(Object position, Object positionInManager)
position
- the shape in stationary coordinatespositionInManager
- the shape in manager coordinates (takes into
account the logical zoom transformer)public abstract Object transformPosition(IltGraphicManager manager, Object position)
This is called by
computeGraphic(manager,position)
.
public abstract boolean isValidPosition(Object position)
This function overridden in subclasses. Accepted positions are:
IlvPoint
for IltNetworkElement
,
IltOffPageConnector
, IltShelf
,
IlvRect
for IltRectGroup
,
IltShelfItem
,
IlpPolyline
for IltAbstractLink
,
IltLinearGroup
,
IlpPolygon
for IltPolyGroup
.
public void postCreateGraphic(IltGraphicManager manager, IltGraphic graphic)
@Deprecated public void removeGraphic(IltGraphicManager manager)
IltGraphicManager
.
Note that this method is not supposed to be used when this
IltObject
is in a DataSource.
public void removeGraphic(IltGraphicManager manager, IltGraphic graphic)
@Deprecated public void removeGraphic()
Note that this method is not supposed to be used when this
IltObject
is in a DataSource.
@Deprecated public boolean isVisible(IltGraphicManager manager)
IlpDataSource.getObjects().contains()
to test
whether an object is in the datasource. Use the adapter's
getRepresentationObject
method to test whether an
object's representation object currently exists.IltGraphicManager
.
Note that this method is not supposed to be used when this
IltObject
is in a DataSource.
true
when the object is represented in the view; false
when the object is not represented.public boolean isNearlyVisible(IltGraphicManager manager, IltGraphic graphic)
true
when the graphic object is visible or
about to become visible.@Deprecated public void setVisible(IltGraphicManager manager, boolean visible)
IltGraphicManager
.
Note that this method is not supposed to be used when this
IltObject
is in a DataSource.
@Deprecated public static void StartDelayingComputeGraphic()
IlpAbstractDataSource.startBatch()
instead.computeGraphic()
on any object
without arguments will be inhibited until the next call to
EndDelayingComputeGraphic
.startDelayingComputeGraphic()
@Deprecated public static void EndDelayingComputeGraphic()
IlpAbstractDataSource.endBatch()
instead.computeGraphic()
on any object is terminated, and performs a computeGraphic()
on the objects for which it was requested since the last call to
StartDelayingComputeGraphic
, and on which it is not otherwise
inhibited.endDelayingComputeGraphic()
@Deprecated public void startDelayingComputeGraphic()
IlpAbstractDataSource.startBatch()
instead.computeGraphic()
without arguments
will be inhibited until the next call to endDelayingComputeGraphic
.
Note that this method is not supposed to be used when this
IltObject
is in a DataSource.
StartDelayingComputeGraphic()
@Deprecated public void endDelayingComputeGraphic()
IlpAbstractDataSource.endBatch()
instead.computeGraphic()
is terminated, and performs a computeGraphic()
if it was requested
since the last call to startDelayingComputeGraphic
.
Note that this method is not supposed to be used when this
IltObject
is in a DataSource.
EndDelayingComputeGraphic()
@Deprecated public void computeGraphic()
Note that this method is not supposed to be used when this
IltObject
is in a DataSource.
public boolean setLegend(IltLegend newLegend)
IltLegend
with this object.
The current legend is discarded.
This method is to be used with a deserialized object legend, otherwise it will not work.
true
if the operation succeeded,
false
otherwise.public abstract ilog.tgo.graphic.internal.base.IltBaseElement createBase(IltcGraphicElementAggregate root)
IltCompositeGraphic.createBase(IltcGraphicElementAggregate, IltObject)
,
createTinyBase(IltcGraphicElementAggregate)
public ilog.tgo.graphic.internal.base.IltBaseElement createTinyBase(IltcGraphicElementAggregate root)
IltCompositeGraphic.createBase(IltcGraphicElementAggregate, IltObject)
,
IltTinyElementBase
,
createBase(IltcGraphicElementAggregate)
@Deprecated public IlvPoint getCenterPoint(IltGraphicManager manager)
IltObject
you should use the IltObject.PositionAttribute
to
retrieve the IlpPosition
object that represents this
IltObject
's position. Then depending on the
IlpPosition
's sub-type you should appropriately
calculate the center IlpPoint
. Below is an example of
how to do this:
IlpObject object = ...; // Get the IlpPosition Object shape = object.getAttributeValue(IltObject.PositionAttribute); // Compute the center. IlpPoint center = null; // Only if the attribute has a value if (shape != IlpObject.ATTRIBUTE_VALUE_NOT_SET) { shape = (IlpPosition) shape.clone(); if (shape instanceof IlpPoint) { center = (IlpPoint)center; } else if (shape instanceof IlpRect) { IlpRect r = (IlpRect)shape; center = new IlpPoint(r.x + 0.5 * r.width, r.y + 0.5 * r.height); } else if (shape instanceof IlpPolyline) { // This is an undocumented utility method that returns the center point // of this IlpPolyline. So if you want you can provide your own // implementation here. center = new IlpPoint(((IlpPolyline)shape).getGravity1()); } else if (shape instanceof IlpPolygon) { // This is an undocumented utility method that returns the center point // of this IlpPolygon. So if you want you can provide your own // implementation here. center = new IlpPoint(((IlpPolygon)shape).getGravity2()); } else { // here you can handle user defined IlpPosition types. } }
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)
.
Note that this method is not supposed to be used when this
IltObject
is in a DataSource.
protected abstract IlvPoint getCenterPoint(IltGraphicManager manager, IltGraphic graphic)
@Deprecated public void setCenterPoint(IltGraphicManager manager, IlvPoint position)
IlpPosition
type of
of the object. For objects whose position is just a point, you can use
the setPosition
method.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)
.
Note that this method is not supposed to be used when this
IltObject
is in a DataSource.
getCenterPoint(ilog.tgo.graphic.IltGraphicManager)
@Deprecated public void setCenterPoint(IltGraphicManager manager, IlvPoint position, IlpPositionSource reason)
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)
.
Note that this method is not supposed to be used when this
IltObject
is in a DataSource.
manager
- graphic manager where the object will be repositionedposition
- new positionreason
- the reason for the position change, or null
if unknownpublic abstract void setCenterPoint(IltGraphicManager manager, IltGraphic graphic, IlvPoint position, IlpPositionSource reason)
public IlvPoint getCenterPointInManager(IltGraphicManager manager, IltGraphic graphic)
public void setCenterPointInManager(IltGraphicManager manager, IltGraphic graphic, IlvPoint position, IlpPositionSource reason)
public abstract IlvRect getBaseRectangle(IltGraphicManager manager)
null
if the base has no extent at allpublic IlvRect getBaseRectangleInManager(IltGraphicManager manager)
public abstract void setBaseRectangle(IltGraphicManager manager, IlvRect newBaseRectangle)
public void setBaseRectangleInManager(IltGraphicManager manager, IlvRect shape)
public boolean usingDefaultShape(IltGraphicManager manager)
@Deprecated public static IltObject FromGraphic(IltGraphic graphic)
IlpGraphic.getRepresentationObject()
instead
to retrieve the representation object. With this instance it is possible
to retrieve the business object using IlpRepresentationObject.getIlpObject()
.Node: Since JTGO 3.0, this method is no longer needed.
Interactors now deal with IlpRepresentationObject
or
IlpObject
.
Note: Whenever possible, use the function
IltObject.getGraphic
rather than FromGraphic
.
Instead of working with IltCompositeGraphic
objects and retrieving
IltObject
and IltGraphicManager
objects from them,
it is usually better to work with IltObject
and
IltGraphicManager
objects right from the beginning. In object
interactors, the function IltObjectInteractorContext
is preferable.
Only in view interactors and in subclasses of IltcLayerPolicy
FromGraphic
appears inevitable.
getGraphic()
@Deprecated public final void applyTransform(IltGraphicManager manager, IlvTransformer t)
IlpPosition
for the IlpObject
in question
through the IltObject.PositionAttribute
attribute.IlpPosition
into proper type (IlpPoint
,
IlpRect
, IlpPolyline
, IlpPolygon
, or
your own IlpPosition
implementation).IlvTransformer
to the IlpPosition
object.IlpObject
.IltObject object = ...; // Get the IlpPosition Object shape = object.getAttributeValue(IltObject.PositionAttribute); // Only if the attribute has a value if (shape != IlpObject.ATTRIBUTE_VALUE_NOT_SET) { shape = (IlpPosition) shape.clone(); if (shape instanceof IlpPoint) { transform.apply((IlpPoint)shape); } else if (shape instanceof IlpRect) { transform.apply((IlpRect)shape); } else if (shape instanceof IlpPolyline) { ((IlpPolyline)shape).applyTransform(transform); } else if (shape instanceof IlpPolygon) { ((IlpPolygon)shape).applyTransform(transform); } else { // here you can handle user defined IlpPosition types. } //The setAttributeValue call will update the graphic representation (if it exists) automatically. object.setAttributeValue(attribute,shape); }
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: 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
IltObject
is in a DataSource.
manager
- The graphic manager where the object is displayed.t
- The transform parameter.@Deprecated public final void applyTransform(IltGraphicManager manager, IlvTransformer t, IlpPositionSource reason)
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: 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
IltObject
is in a DataSource.
t
- The transform parameter.reason
- The reason for the position change, or null
if unknown@Deprecated public final void applyTransform(IltGraphicManager manager, IltGraphic graphic, IlvTransformer t)
IlpPosition
for the IlpObject
in question
through the IltObject.PositionAttribute
attribute.IlpPosition
into proper type (IlpPoint
,
IlpRect
, IlpPolyline
, IlpPolygon
, or
your own IlpPosition
implementation).IlvTransformer
to the IlpPosition
object.IlpObject
.IltObject object = ...; // Get the IlpPosition Object shape = object.getAttributeValue(IltObject.PositionAttribute); // Only if the attribute has a value if (shape != IlpObject.ATTRIBUTE_VALUE_NOT_SET) { shape = (IlpPosition) shape.clone(); if (shape instanceof IlpPoint) { transform.apply((IlpPoint)shape); } else if (shape instanceof IlpRect) { transform.apply((IlpRect)shape); } else if (shape instanceof IlpPolyline) { ((IlpPolyline)shape).applyTransform(transform); } else if (shape instanceof IlpPolygon) { ((IlpPolygon)shape).applyTransform(transform); } else { // here you can handle user defined IlpPosition types. } //The setAttributeValue call will update the graphic representation (if it exists) automatically. object.setAttributeValue(attribute,shape); }
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.
manager
- The graphic manager where the object is displayed.graphic
- The graphic representation in the manager.t
- The transform parameter.applyTransform(ilog.tgo.graphic.IltGraphicManager, ilog.views.IlvTransformer)
,
IltGraphicManager.getZoomTransformer()
@Deprecated public abstract void applyTransform(IltGraphicManager manager, IltGraphic graphic, IlvTransformer t, IlpPositionSource reason)
IlpPosition
for the IlpObject
in question
through the IltObject.PositionAttribute
attribute.IlpPosition
into proper type (IlpPoint
,
IlpRect
, IlpPolyline
, IlpPolygon
, or
your own IlpPosition
implementation).IlvTransformer
to the IlpPosition
object.IlpObject
.IltObject object = ...; // Get the IlpPosition Object shape = object.getAttributeValue(IltObject.PositionAttribute); // Only if the attribute has a value if (shape != IlpObject.ATTRIBUTE_VALUE_NOT_SET) { shape = (IlpPosition) shape.clone(); if (shape instanceof IlpPoint) { transform.apply((IlpPoint)shape); } else if (shape instanceof IlpRect) { transform.apply((IlpRect)shape); } else if (shape instanceof IlpPolyline) { ((IlpPolyline)shape).applyTransform(transform); } else if (shape instanceof IlpPolygon) { ((IlpPolygon)shape).applyTransform(transform); } else { // here you can handle user defined IlpPosition types. } //The setAttributeValue call will update the graphic representation (if it exists) automatically. object.setAttributeValue(attribute,shape); }
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.
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 unknownapplyTransform(ilog.tgo.graphic.IltGraphicManager, ilog.views.IlvTransformer)
,
IltGraphicManager.getZoomTransformer()
@Deprecated public final void applyTransformInManager(IltGraphicManager manager, IltGraphic graphic, IlvTransformer t, IlpPositionSource reason)
IltGraphicManager
.
Should only be called if the graphic representation is visible.
Note: t
is given relative to the manager
coordinates, which depend on the current zoom transformer of the manager.
Note that this method is not supposed to be used when this
IltObject
is in a DataSource.
manager
- The graphic manager where the object is displayed.graphic
- The graphic representation in the manager.t
- The transform parameter; it must take into account
manager.getZoomTransformer()
reason
- The reason for the position change, or null
if unknownapplyTransform(ilog.tgo.graphic.IltGraphicManager, ilog.views.IlvTransformer)
,
IltGraphicManager.getZoomTransformer()
public Object getGraphicSetting(IltGraphicManager manager, IltGraphic graphic, ilog.tgo.graphic.internal.IltGraphicSetting setting)
graphic
- the graphic representationpublic Object getGraphicSetting(IltGraphicManager manager, ilog.tgo.graphic.internal.IltGraphicSetting setting)
public void setGraphicSetting(IltGraphicManager manager, IltGraphic graphic, ilog.tgo.graphic.internal.IltGraphicSetting setting, Object value)
graphic
- the graphic representationvalue
- setting valuepublic void setGraphicSetting(IltGraphicManager manager, ilog.tgo.graphic.internal.IltGraphicSetting setting, Object value)
value
- setting valuepublic void setGraphicSetting(ilog.tgo.graphic.internal.IltGraphicSetting setting, Object value)
value
- setting valuepublic void removeGraphicSetting(IltGraphicManager manager, IltGraphic graphic, ilog.tgo.graphic.internal.IltGraphicSetting setting)
graphic
- the graphic representationpublic void removeGraphicSetting(IltGraphicManager manager, ilog.tgo.graphic.internal.IltGraphicSetting setting)
@Deprecated public boolean isSelected(IltGraphicManager manager)
IlpNetwork.isObjectSelected
or
IlpEquipment.isObjectSelected
instead.Note that this method is not supposed to be used when this
IltObject
is in a DataSource.
public boolean isSelected(IltGraphicManager manager, IltGraphic graphic)
public void setSelectedInternal(IltGraphicManager manager, IltGraphic graphic, boolean selected)
Note: Only IltCompositeGraphic.setSelected is allowed to call this function. All other callers should call IltCompositeGraphic.setSelected.
@Deprecated public void setSelected(IltGraphicManager manager, boolean selected)
addSelectionObject
or
removeSelectionObject
in the classes IlpNetwork
and IlpEquipment
instead.selected
state of the graphic representation in a given
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)
.
Note that this method is not supposed to be used when this
IltObject
is in a DataSource.
@Deprecated public boolean isEditable(IltGraphicManager manager)
editable
instead.editable
state of the graphic representation in a given
IltGraphicManager
.
Note that this method is not supposed to be used when this
IltObject
is in a DataSource.
@Deprecated public void setEditable(IltGraphicManager manager, boolean editable)
editable
instead.editable
state of the graphic representation in a given
IltGraphicManager
.
Note: Currently only links are editable.
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
IltObject
is in a DataSource.
manager
- The graphic manager where the object is displayed.editable
- When true
, the user can edit the graphic
representation after selecting it.@Deprecated public IltGraphicSettings getGraphicSettings(IltGraphicManager manager)
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)
.
Note that this method is not supposed to be used when this
IltObject
is in a DataSource.
@Deprecated public void setGraphicSettings(IltGraphicManager manager, IltGraphicSettings settings)
IlpNetwork
, is enough to make its graphic representation
visible. Once visible, it is updated automatically when needed.IltGraphicManager
with a given set of graphic settings.
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: The IltGraphicSettings
may contain a
visibility attribute. However, the method setGraphicSettings
does
not modify the initial visibility of the object and ignores the visibility
attribute stored in the IltGraphicSettings
. To modify the
visibility of the object according to the IltGraphicSettings
visibility, you need to call the method restoreVisibility
after calling setGraphicSettings
.
Note that this method is not supposed to be used when this
IltObject
is in a DataSource.
restoreVisibility(ilog.tgo.graphic.IltGraphicManager, ilog.tgo.graphic.IltGraphicSettings)
@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.restoreVisibility
is equivalent to calling
setVisible
using the visibility parameter contained in the
given IltGraphicSettings
.
This method can be used after setGraphicSettings
to
restore all the parameters contained in the given
IltGraphicSettings
.
Note: IltGraphicSettings
may not contain
any visibility parameter or may be null; in this case, this method is
equivalent to setVisible(manager,true)
.
Note that this method is not supposed to be used when this
IltObject
is in a DataSource.
setGraphicSettings(ilog.tgo.graphic.IltGraphicManager, ilog.tgo.graphic.IltGraphicSettings)
@Deprecated public IltCompositeInteractions getGraphicInteractions(IltGraphicManager manager)
IlpNetwork
, is enough to make its graphic representation
visible. Once visible, retrieve the graphic representation of the object
and query its interactions.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)
.
@Deprecated public IlvGraphic getLayoutProxy(IltGraphicManager manager)
IlpGraphic
and then use the method
IlpNetworkView.getLayoutProxy
.IlvGraphic
that represents this composite graphic object
for layout purposes, or null
if it is currently not in an
Perforce JViews manager, or not considered by the layout. This method returns a proxy
with the right geometric properties, but no graphic properties at all.
This function calls first getGraphic(manager)
, and then
getProxy()
.
Note that this method is not supposed to be used when this
IltObject
is in a DataSource. You should use the method
IlpNetworkView.getLayoutProxy
in that case.
IltcCompositeGraphic.getProxy()
@Deprecated public IltLegend getLegend(IltGraphicManager manager)
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)
.
Note that this method is not supposed to be used when this
IltObject
is in a DataSource.
@Deprecated public IltLegend getLegend()
IltObject
in the default application context.
All the graphic styles within the application default context use the object style as a default.
@Deprecated public IlpStyle getLocalStyle(IltGraphic g)
This method DOES NOT return the graphic legend, but the object legend defined in the graphic view configuration where the graphic is present.
public IlpStyle getLocalStyle(IlpStyleManager styleMgr)
public IlpObject __getIlpObject()
public ilog.util.internal.IlAVector getMappedForUserList()
public Object getProperty(Object name)
getProperty
in interface IlWithProperties
name
- Property identifierpublic void setProperty(Object name, Object value)
setProperty
in interface IlWithProperties
name
- Property identifiervalue
- Property valuepublic void removeProperty(Object name)
removeProperty
in interface IlWithProperties
public static boolean IsPropertyTransient(Object name)
By default, all named properties are serialized.
public static void SetPropertyTransient(Object name, boolean isTransient)
By default, all named properties are serialized.
@Deprecated public void addGraphicChangedListener(IltGraphicChangedListener listener)
NetworkModelListener
or EquipmentModelListener
instead.Note that this method is not supposed to be used when this
IltObject
is in a DataSource.
@Deprecated public void removeGraphicChangedListener(IltGraphicChangedListener listener)
NetworkModelListener
or EquipmentModelListener
instead.Note that this method is not supposed to be used when this
IltObject
is in a DataSource.
public void fireGraphicChanged(IltGraphicManager manager, IltGraphic graphic)
public void fireAllGraphicChanged()
public void objectStateChanged(ilog.tgo.model.state.event.IltObjectStateEvent event)
ilog.tgo.model.state.event.IltObjectStateListener
IltObjectState
instance
when it has been changed causing a modification in the IltObject
graphical
representation.
The IltObjectState
instance can be retrieved by calling
IltObjectStateEvent.getObjectState
.objectStateChanged
in interface ilog.tgo.model.state.event.IltObjectStateListener
public void objectStateSet(ilog.tgo.model.state.event.IltObjectStateEvent event)
ilog.tgo.model.state.event.IltObjectStateListener
IltObjectState
instance
is changed by the addition of a new state with its corresponding value.
The state can be directly added in the object state, or can be a state whose
default value was set in the state system.objectStateSet
in interface ilog.tgo.model.state.event.IltObjectStateListener
public void objectStateCleared(ilog.tgo.model.state.event.IltObjectStateEvent event)
ilog.tgo.model.state.event.IltObjectStateListener
IltObjectState
instance
when some change was done in the values which may cause a modification
in the IltObject
graphical representation.objectStateCleared
in interface ilog.tgo.model.state.event.IltObjectStateListener
@Deprecated public void addStateChangedListener(IltStateChangedListener listener)
IlpDefaultObject.addAttributeValueListener(AttributeValueListener)
instead.addStateChangedListener
in interface IltStateHolder
AttributeValueListener
@Deprecated public void removeStateChangedListener(IltStateChangedListener listener)
IlpDefaultObject.removeAttributeValueListener(AttributeValueListener)
instead.removeStateChangedListener
in interface IltStateHolder
AttributeValueListener
public void setShapeGraphicSetting(IltGraphic graphic, Object newShape)
public void setShapeInManagerGraphicSetting(IltGraphic graphic, Object newShape, IlpPositionSource reason)
public void updateShapeGraphicSettingInManager(IltGraphicManager manager, IltGraphic graphic, Object newShape, IlpPositionSource reason)
This function needs to be called after the shape graphic setting (in stationary coordinates) has changed.
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)
public Object defaultShape()
protected void copyFrom(IltObject other)
cloneForRendering(boolean)
public IltObject cloneForRendering(boolean displayChildren)
displayChildren
- indicates whether the children will be rendered
as part of the same graphic object as the
container. Mainly controls whether the expansion
icon will be displayed or not, since the
containment relationship is handled by the
datasource.IltObjectDefaultRenderer
public void updateFrom(IltObject other)
public Enumeration getChildren()
@Deprecated public int getLabelPosition(IltGraphicManager manager)
labelPosition
instead.IltGraphicManager
.IlvDirection
value.@Deprecated public IlvPoint getLabelOffset(IltGraphicManager manager)
labelPosition
instead.IltGraphicManager
.
Note that the position of the label (top, bottom, right, or left)
is set using setLabelPosition
.
This offset is added to the label position.
@Deprecated public int getLabelPosition(IltGraphic graphic)
labelPosition
instead.IltGraphicManager
.@Deprecated public IlvPoint getLabelOffset(IltGraphic graphic)
labelOffset
instead.Note that the position of the label (top, bottom, right, or left)
is set using setLabelPosition
.
This offset is added to the label position.
@Deprecated public void setLabelPosition(IltGraphicManager manager, int position)
labelPosition
instead.IltGraphicManager
.manager
- The graphic manager where the object is displayed.position
- One of
IlvDirection.Bottom
,
IlvDirection.Top
,
IlvDirection.Right
,
IlvDirection.Left
.@Deprecated public void setLabelOffset(IltGraphicManager manager, IlvPoint offset)
labelOffset
instead.IltGraphicManager
.
Note that the position of the label (top, bottom, right, or left)
is set using setLabelPosition
.
This offset is added to the label position.
@Deprecated public void resetLabelPosition(IltGraphicManager manager)
labelPosition
instead.IltGraphicManager
. The position is reset
to the global value used for all graphic instances of this group.@Deprecated public void resetLabelOffset(IltGraphicManager manager)
labelOffset
instead.IltGraphicManager
.
The offset is reset to the global value used for all graphic instances of
this group.
Note that the position of the label (top, bottom, right, or left)
is set using setLabelPosition
.
This offset is added to the label position.
@Deprecated public int getLabelPosition()
labelPosition
instead.setLabelPosition(IltGraphicManager)
.@Deprecated public IlvPoint getLabelOffset()
labelOffset
instead.setLabelOffset(IltGraphicManager)
.
Note that the position of the label (top, bottom, right, or left)
is set using setLabelPosition
.
This offset is added to the label position.
@Deprecated public void setLabelPosition(int position)
labelPosition
instead.This method sets the label position for this object within the default application context.
position
- One of
IlvDirection.Bottom
,
IlvDirection.Top
,
IlvDirection.Right
,
IlvDirection.Left
.@Deprecated public void setLabelOffset(IlvPoint offset)
labelOffset
instead.This method sets the label offset for this object within the default application context.
If this value is changed afterwards, all graphic representations within the same context will also be updated.
Note that the position of the label (top, bottom, right, or left)
is set using setLabelPosition
.
This offset is added to the label position.
@Deprecated public void resetLabelPosition()
labelPosition
instead.The default position is IlvDirection.Bottom
.
@Deprecated public void resetLabelOffset()
labelOffset
instead.(0,0)
, relative to
the label position within the default application context.
This method is equivalent to invoking
setLabelOffset(new IlvPoint(0,0))
.
Note that the position of the label (top, bottom, right, or left)
is set using setLabelPosition
.
This offset is added to the label position.
public int getDefaultLabelPosition(IltGraphic graphic)
IlvDirection.BadPosition
.public boolean setIlpClass(IlpClass clazz)
The new business class is only accepted if it is a subclass of the existing one.
public void setAttributeValue(IlpAttribute attribute, Object value)
VALUE_NOT_SET
for the value
argument.setAttributeValue
in interface IlpAttributeValueHolder
setAttributeValue
in class IlpDefaultObject
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.public void initializeDefaultValues()
initializeDefaultValues
in interface IlpObject
initializeDefaultValues
in class IlpDefaultObject
@Deprecated public void setAutomaticDecorationsDirection(boolean automaticDecorationsDirection)
public void setAutomaticDecorationsDirection(IlpContext context, boolean automaticDecorationsDirection)
public boolean getAutomaticDecorationsDirection()
true
if the decorations follow the object direction.public static void InitStyle()
public static void ForceInit(ilog.tgo.util.internal.IltForceClassInit object)
public void debug()
@Deprecated public static IltLegend GetClassLegend()
public static IltObject GetIltObject(IlpAttributeValueHolder h)
IltObject
business object corresponding to a given
IlpAttributeValueHolder
.h
- The attribute value holder for which the IltObject
is retrieved.IltObject
corresponding to h
; or
null
when h
does not correspond to an
IltObject
.© Copyright 2024 Rogue Wave Software, Inc., a Perforce company.. All Rights Reserved.