ilog.tgo.model
Class IltPolyGroup

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

public class IltPolyGroup
extends IltGroup


Nested Class Summary
 
Nested classes/interfaces inherited from class ilog.tgo.model.IltObject
IltObject.ListPrimaryStateStyleValueProvider, IltObject.LogicalType, IltObject.TinyType
 
Field Summary
static IlpColorKey FillBackgroundColor
          Deprecated. Please use CSS property background instead.
static IlpColorKey FillForegroundColor
          Deprecated. Please use CSS property foreground instead.
static IlpBooleanKey FillInterior
          Deprecated. Please use CSS property fillStyle instead.
static IlpPatternKey FillPattern
          Deprecated. Please use CSS property pattern instead.
static IltObjectInfo metainfo
          Contains metainformation about this IltObject class.
static IlpColorKey OutlineColor
          Deprecated. Please use CSS property outlineColor instead.
static IlpBooleanKey OutlineDisplay
          Deprecated. Please use CSS property outlineVisible instead.
static IlpBooleanKey OutlineInside
          Deprecated. Please use CSS property outlineInside instead.
static IlpFloatKey OutlineOffset
          Deprecated. Please use CSS property outlineOffset instead.
static IlpFloatKey OutlineWidth
          Deprecated. Please use CSS property outlineWidth instead.
static IlpFloatKey ReliefThickness
          Deprecated. Please use CSS property reliefThickness instead.
 
Fields inherited from class ilog.tgo.model.IltGroup
_MappedForUser, DecorationsOffset, IconAttribute, LinksConnectToBase, PinDecorations, ShortcutAttribute, ZoomableDecorationsOffset
 
Fields inherited from class ilog.tgo.model.IltObject
_automaticDecorationsDirection, _cloneConstructor, AbbreviateBalloonAlarmCount, AbbreviateBaseAlarmCount, AckAlarmHighestSeverityAttribute, AckImpactAlarmHighestSeverityAttribute, AlarmBalloonColor, AlarmBalloonContentsCollapsed, AlarmBalloonCountIcon, AlarmBalloonCountLabel, AlarmBalloonPosition, AlarmBalloonShadowColor, AlarmBalloonTextAntialiasing, AlarmBalloonTextBackgroundColor, AlarmBalloonTextFont, AlarmBalloonTextForegroundColor, AlarmBalloonVisible, AlarmBorderColor, AlarmBorderThickness, AlarmBorderVisible, AlarmBrightColor, AlarmColor, AlarmColorLevel, AlarmColorVisible, AlarmCountAntialiasing, AlarmCountAttribute, AlarmCountBackgroundColor, AlarmCountFont, AlarmCountForegroundColor, AlarmCountIcon, AlarmCountIconPosition, AlarmCountIconVisible, AlarmCountLabel, AlarmCountNumberAttribute, AlarmCountVisible, AlarmCriticalAbbreviation, AlarmCriticalBrightColor, AlarmCriticalColor, AlarmCriticalDarkColor, AlarmCriticalDescription, AlarmDarkColor, AlarmHighestSeverityAttribute, AlarmLossOfConnectivityAbbreviation, AlarmLossOfConnectivityBrightColor, AlarmLossOfConnectivityColor, AlarmLossOfConnectivityDarkColor, AlarmLossOfConnectivityOverride, AlarmMajorAbbreviation, AlarmMajorBrightColor, AlarmMajorColor, AlarmMajorDarkColor, AlarmMajorDescription, AlarmMinorAbbreviation, AlarmMinorBrightColor, AlarmMinorColor, AlarmMinorDarkColor, AlarmMinorDescription, AlarmNotReportingAbbreviation, AlarmsAsMarks, AlarmSeverityColorMap, AlarmSeverityDescriptionMap, AlarmUnknownAbbreviation, AlarmUnknownBrightColor, AlarmUnknownColor, AlarmUnknownDarkColor, AlarmUnknownDescription, AlarmWarningAbbreviation, AlarmWarningBrightColor, AlarmWarningColor, AlarmWarningDarkColor, AlarmWarningDescription, Alpha, BackgroundColor, BaseSelectionBorderVisible, BaseStyleEnabled, BlinkingBackgroundColor, BlinkingBorderColor, BlinkingBorderColor2, BlinkingForegroundColor, BorderColor, BorderColor2, BorderLineStyle, BorderPattern, BorderWidth, BUSINESS_OBJECT_PROPERTY, CanBeLogical, CenterWidth, ChildrenDecorationConstraints, ChildrenDecorations, ContainerCollapseIconVisible, ContainerExpansionIconVisible, ContainerOutsideExpansionIconVisible, ContainerStatusVisible, DetailLevel, Direction, DottedBorderBackgroundColor, DottedBorderForegroundColor, DottedBorderLineStyle, ForcedWidth, ForegroundColor, GraphicRepresentationAttribute, HasAlarmColor, IconsVisible, ImpactAlarmCountAttribute, ImpactAlarmCountNumberAttribute, ImpactAlarmHighestSeverityAttribute, InfoIconInteractor, InfoIconThreshold, InfoWindowAlwaysVisible, InfoWindowBorderColor, InfoWindowColor, InfoWindowShadowColor, InfoWindowTextAntialiasing, InfoWindowTextBackgroundColor, InfoWindowTextFont, InfoWindowTextForegroundColor, InfoWindowVisible, IsEditable, IsLogical, IsSelectable, IsTiny, IsVisible, LabelAntialiasing, LabelBackgroundColor, LabelBorderColor, LabelDirection, LabelFont, LabelForegroundColor, LabelOffset, LabelPosition, LabelVisible, LabelZoomable, LineStyle, LinkPorts, ListAlarmStateAbbreviated, ListPrimaryAlarmState, ListPrimaryState, ListSecondaryAlarmState, LogicalBorderThickness, LogicalHeight, LogicalLabelAntialiasing, LogicalLabelFont, LogicalTypeAttribute, LogicalWidth, MappedBorderColor, MappedBorderColor2, MappedBrightColor, MappedColor, MappedColor2, MappedDarkColor, MultilineBaseAlarmCount, NameAttribute, NewAlarmCountAttribute, NewAlarmCountNumberAttribute, NewAlarmHighestSeverityAttribute, NewImpactAlarmCountAttribute, NewImpactAlarmCountNumberAttribute, NewImpactAlarmHighestSeverityAttribute, ObjectStateAttribute, PassiveIcon, PassiveIconVisible, Pattern, PlinthBrightColor, PlinthColor, PlinthDarkColor, PlinthHorizontalMargin, PlinthVerticalMargin, PlinthVisible, PositionAttribute, PrimaryAlarmState, PrimaryStateAttribute, ReliefBorders, SecondaryStatesAttribute, SecondaryStateStackerPosition, SelectionBorderBackgroundColor, SelectionBorderForegroundColor, SelectionBorderLineStyle, SelectionBorderThickness, ShortcutIcon, ShortcutIconMap, ShortcutIconVisible, ShortcutToolTipMap, SNMPSystemContact, SNMPSystemDescription, SNMPSystemLocation, SourceImage, TinyAlarmBorderThickness, TinyBorderThickness, TinyLabelAntialiasing, TinyLabelFont, TinyTypeAttribute, TrapAuthenticationFailureAbbreviation, TrapAuthenticationFailureBrightColor, TrapAuthenticationFailureColor, TrapAuthenticationFailureDarkColor, TrapAuthenticationFailureDescription, TrapColdStartAbbreviation, TrapColdStartBrightColor, TrapColdStartColor, TrapColdStartDarkColor, TrapColdStartDescription, TrapEGPNeighborLossAbbreviation, TrapEGPNeighborLossBrightColor, TrapEGPNeighborLossColor, TrapEGPNeighborLossDarkColor, TrapEGPNeighborLossDescription, TrapLinkFailureAbbreviation, TrapLinkFailureBrightColor, TrapLinkFailureColor, TrapLinkFailureDarkColor, TrapLinkFailureDescription, TrapWarmStartAbbreviation, TrapWarmStartBrightColor, TrapWarmStartColor, TrapWarmStartDarkColor, TrapWarmStartDescription
 
Fields inherited from interface ilog.cpl.model.IlpAttributeValueHolder
VALUE_NOT_SET
 
Constructor Summary
IltPolyGroup(IlpClass ilpClass, Object identifier)
          Creates a new polygonal group with the given class and identifier.
IltPolyGroup(IltObjectState state)
          Creates a new instance of IltPolyGroup with a given semantic state.
IltPolyGroup(IltObjectState state, String label)
          Creates a new instance of IltPolyGroup with a given semantic state and label.
IltPolyGroup(Object identifier)
          Creates a new polygonal group with the given identifier.
 
Method Summary
 void applyTransform(IltGraphicManager manager, IltGraphic graphic, IlvTransformer t, IlpPositionSource reason)
          Deprecated.  
 void computeGraphic(IltGraphicManager manager, IlpPolygon shape)
          Deprecated. Adding a object to a datasource, connected to a graphic component such as an IlpNetwork, is enough to make its graphic representation visible.
 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.
 ilog.tgo.graphic.internal.IltGraphicUpdate createPositionUpdate(Object position, Object positionInManager)
          Creates the graphic update responsible for setting the position/shape to a graphical representation.
 Object defaultShape()
          Returns the default shape, used when an object is made visible without having been assigned a shape.
static void ForceInit(ilog.tgo.util.internal.IltForceClassInit object)
          To deserialize IltClassLegend instances.
 IlvRect getBaseRectangle(IltGraphicManager manager)
          Returns the base rectangle of the graphic representation in a given IltGraphicManager.
protected  IlvPoint getCenterPoint(IltGraphicManager manager, IltGraphic graphic)
          Returns the point that represents the center of the polygonal group.
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.
static IltObjectInfo GetIlpClass()
          Returns the IlpClass corresponding to this Java class.
 IlpPolygon getShape(IltGraphicManager manager)
          Deprecated. Adding a object to a datasource, connected to a graphic component such as an IlpNetwork, is enough to make its graphic representation visible. When working with datasources, please use setPosition instead.
protected  IlpPolygon getShape(IltGraphicManager manager, IltGraphic graphic)
          Returns the shape graphic setting.
protected  IlpPolygon getShapeInManager(IltGraphicManager manager, IltGraphic graphic)
          Returns the position of the graphic representation in a given IltGraphicManager.
 boolean isValidPosition(Object position)
          Determines whether the argument is a valid position/shape for this type of object.
 void setBaseRectangle(IltGraphicManager manager, IlvRect newBaseRectangle)
          Applies a transformation to the graphic representation in a given IltGraphicManager, attempting to make the base rectangle resemble the given rectangle.
 void setCenterPoint(IltGraphicManager manager, IltGraphic graphic, IlvPoint position, IlpPositionSource reason)
          Changes the position of the graphic representation in a given IltGraphicManager.
 void setShape(IltGraphicManager manager, IlpPolygon shape)
          Deprecated. Adding a object to a datasource, connected to a graphic component such as an IlpNetwork, is enough to make its graphic representation visible. When working with datasource, use IltObject.setPosition(IlpPosition) instead.
 void setShape(IltGraphicManager manager, IlpPolygon shape, IlpPositionSource reason)
          Deprecated. Adding a object to a datasource, connected to a graphic component such as an IlpNetwork, is enough to make its graphic representation visible. When working with datasource, use IltObject.setPosition(IlpPosition) instead.
 void setShape(IltGraphicManager manager, IltLogicalPolygon shape)
          Deprecated. Adding a object to a datasource, connected to a graphic component such as an IlpNetwork, is enough to make its graphic representation visible. When working with datasource, use IltObject.setPosition(IlpPosition) instead.
 void setShapeGraphicSetting(IltGraphic graphic, Object newShape)
          Sets the graphic settings responsible for the shape of the object.
 void setShapeInManager(IltGraphicManager manager, IltGraphic graphic, IlpPolygon shape, IlpPositionSource reason)
          Changes the position of the graphic representation in a given IltGraphicManager.
 void setShapeInManagerGraphicSetting(IltGraphic graphic, Object newShape, IlpPositionSource reason)
           
 Object transformPosition(IltGraphicManager manager, Object position)
          Applies the manager transformer to the position parameter.
 void updateShapeGraphicSettingInManager(IltGraphicManager manager, IltGraphic graphic, Object newShape, IlpPositionSource reason)
          If the graphic representation is visible, updates the shape graphic setting in manager coordinates.
 boolean usingDefaultShape(IltGraphicManager manager)
          Computes the graphic representation of the object in the given manager.
 
Methods inherited from class ilog.tgo.model.IltGroup
areDecorationsPinned, areDecorationsPinned, areDecorationsPinned, copyFrom, getDecorationsCenterPoint, getDecorationsCenterPoint, getDecorationsCenterPoint, getDecorationsOffset, getDecorationsOffset, getDecorationsOffset, getIcon, getMappedForUserList, getShortcut, pinDecorations, pinDecorations, resetDecorationsCenterPoint, resetDecorationsCenterPoint, resetDecorationsOffset, resetDecorationsOffset, resetPinDecorations, resetPinDecorations, setAttributeValue, setDecorationsCenterPoint, setDecorationsCenterPoint, setDecorationsCenterPoint, setDecorationsOffset, setDecorationsOffset, setDecorationsOffset, setIcon, setProperty, setShape, setShortcut, toString
 
Methods inherited from class ilog.tgo.model.IltObject
__getIlpObject, addGraphicChangedListener, addStateChangedListener, applyTransform, applyTransform, applyTransform, applyTransformInManager, clearState, cloneForRendering, computeGraphic, computeGraphic, computeGraphic, computeGraphic, computeGraphic, computeGraphicAtPosition, copyFrom, createGraphic, createTinyBase, debug, endDelayingComputeGraphic, EndDelayingComputeGraphic, fireAllGraphicChanged, fireGraphicChanged, forgetShapeGraphicSettingInManager, FromGraphic, getAlarmState, getAttacherInfo, getAttacherInfoController, getAutomaticDecorationsDirection, getBaseRectangleInManager, GetBaseStyleMapping, getCenterPoint, getCenterPointInManager, getChildren, getDefaultLabelPosition, getGraphic, getGraphic, getGraphicInHierarchy, getGraphicInteractions, getGraphicNotNull, getGraphicNotNullInHierarchy, getGraphicRepresentationStyle, getGraphicSetting, getGraphicSetting, getGraphicSettings, GetIltObject, getLabel, getLabelOffset, getLabelOffset, getLabelOffset, getLabelPosition, getLabelPosition, getLabelPosition, getLayoutProxy, getLegend, getLegend, getLocalStyle, getLocalStyle, getLogicalType, getName, getObjectInfo, getObjectMapper, getObjectState, getObjectSystemMapper, getPosition, getProperty, getState, getTinyType, getTrapState, hasState, initializeCreatedGraphic, initializeDefaultValues, initializeObject, initializeVisibleGraphic, InitStyle, isEditable, isNearlyVisible, IsPropertyTransient, isSelected, isSelected, isVisible, mapDirection, mappedForUser, objectStateChanged, objectStateCleared, objectStateSet, postCreateGraphic, preCreateGraphic, removeGraphic, removeGraphic, removeGraphic, removeGraphicChangedListener, removeGraphicSetting, removeGraphicSetting, removeProperty, removeStateChangedListener, resetLabelOffset, resetLabelOffset, resetLabelPosition, resetLabelPosition, resetState, restoreVisibility, setAutomaticDecorationsDirection, setAutomaticDecorationsDirection, setBaseRectangleInManager, setCenterPoint, setCenterPoint, setCenterPointInManager, setEditable, setGraphic, setGraphicSetting, setGraphicSetting, setGraphicSetting, setGraphicSettings, setIlpClass, setLabel, setLabelOffset, setLabelOffset, setLabelPosition, setLabelPosition, setLegend, setLogicalType, setName, setObjectState, setPosition, SetPropertyTransient, setSelected, setSelectedInternal, setState, setState, setTinyType, setVisible, startDelayingComputeGraphic, StartDelayingComputeGraphic, startVisibility, updateFrom
 
Methods inherited from class ilog.cpl.model.IlpDefaultObject
addAttributeValueListener, fireEvent, getAttributeGroup, getAttributeValue, getAttributeValue, getAttributeValueByName, getIdentifier, getIlpClass, getLocalAttributeValues, getObjectSupport, hasAttributeValue, removeAttributeValueListener, setAttributeValue, setAttributeValueByName, setLocalAttributeValues, setObjectSupport
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

metainfo

public static IltObjectInfo metainfo
Contains metainformation about this IltObject class.

Internal method or field: do not use!

FillPattern

public static IlpPatternKey FillPattern
Deprecated. Please use CSS property pattern instead.
The legend property denoting the pattern of the interior.

See Also:
IltObjectCustomization.getFillPattern(), IltrPattern.GroupFilling
Deprecated Since:
JTGO 3.5

FillForegroundColor

public static IlpColorKey FillForegroundColor
Deprecated. Please use CSS property foreground instead.
The legend property denoting the foreground color of the interior. If this value is set, it overrides the color of the alarms present in this object. If this value is not set, the color of the element is the color of the most severe alarm if it exists, or grey otherwise.

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

FillBackgroundColor

public static IlpColorKey FillBackgroundColor
Deprecated. Please use CSS property background instead.
The legend property denoting the background color of the interior.

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

OutlineInside

public static IlpBooleanKey OutlineInside
Deprecated. Please use CSS property outlineInside instead.
The legend property determining whether the polygon outline is drawn inside the shape (if true), or symmetrically distributed on both sides of the shape's edges (if false).

See Also:
IltObjectCustomization.isOutlineInside(), IltrThickness.PolygonalGroupOutlineInside
Deprecated Since:
JTGO 3.5

OutlineOffset

public static IlpFloatKey OutlineOffset
Deprecated. Please use CSS property outlineOffset instead.
The legend property denoting the distance between the shape's edges and the polygon outline, in case OutlineInside has the true value.

See Also:
IltObjectCustomization.getOutlineOffset(), IltrThickness.PolygonalGroupOutlineOffset
Deprecated Since:
JTGO 3.5

OutlineWidth

public static IlpFloatKey OutlineWidth
Deprecated. Please use CSS property outlineWidth instead.
The legend property denoting the width of the polygon outline.

See Also:
IltrThickness.PolygonalGroupOutlineWidth, IltObjectCustomization.getOutlineWidth()
Deprecated Since:
JTGO 3.5

ReliefThickness

public static IlpFloatKey ReliefThickness
Deprecated. Please use CSS property reliefThickness instead.
The legend property denoting the width of the relief around the polygon outline.

See Also:
IltObjectCustomization.getReliefThickness(), IltrThickness.PolygonalGroupReliefThickness
Deprecated Since:
JTGO 3.5

OutlineColor

public static IlpColorKey OutlineColor
Deprecated. Please use CSS property outlineColor instead.
The legend property denoting the foreground color of the outline. If this value is set, it overrides the color of the alarms present in this object. If this value is not set, the color of the element is the color of the most severe alarm if it exists, or grey otherwise.

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

OutlineDisplay

public static IlpBooleanKey OutlineDisplay
Deprecated. Please use CSS property outlineVisible instead.
The legend property determining whether the polygon outline is drawn with the foreground, thickness, width and offset given in the object's legend. The default value to this property is true. Set this property to false if you do not want to see the outline.

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

FillInterior

public static IlpBooleanKey FillInterior
Deprecated. Please use CSS property fillStyle instead.
The legend property determining whether the polygon interior is drawn with the foreground, background and pattern values given in the object's legend. The default value to this property is true. Set this property to false if you do not want to fill the polygon.

See Also:
IltObjectCustomization.getFillInterior()
Deprecated Since:
JTGO 3.5
Constructor Detail

IltPolyGroup

public IltPolyGroup(IltObjectState state,
                    String label)
Creates a new instance of IltPolyGroup with a given semantic state and label.

This state object is destructively modified later.


IltPolyGroup

public IltPolyGroup(IltObjectState state)
Creates a new instance of IltPolyGroup with a given semantic state.

This state object is destructively modified later.


IltPolyGroup

public IltPolyGroup(Object identifier)
Creates a new polygonal group with the given identifier.

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

IltPolyGroup

public IltPolyGroup(IlpClass ilpClass,
                    Object identifier)
Creates a new polygonal group with the given class and identifier.

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

GetIlpClass

public static IltObjectInfo GetIlpClass()
Returns the IlpClass corresponding to this Java class. Here the IlpClass interface is implemented by IltObjectInfo.
This method is used by the class manager to retrieve predefined business object classes.

Since:
JTGO 3.0

GetClassLegend

public static IltLegend GetClassLegend()
Deprecated. The Style API has been replaced by the Cascading Style Sheet mechanism. Please refer to the User's Manual for further information.

Returns the business class style as defined in the default application context style manager.

Deprecated Since:
JTGO 3.0

computeGraphic

public void computeGraphic(IltGraphicManager manager,
                           IlpPolygon shape)
Deprecated. Adding a object to a datasource, connected to a graphic component such as an IlpNetwork, is enough to make its graphic representation visible.

Ensures that this object has a valid graphic representation in a given IltGraphicManager. The graphic representation is assigned the given shape.

Deprecated Since:
JTGO 3.5

transformPosition

public Object transformPosition(IltGraphicManager manager,
                                Object position)
Applies the manager transformer to the position parameter. This is called by computeGraphic (mgr, position)

Specified by:
transformPosition in class IltObject
Internal method or field: do not use!

isValidPosition

public boolean isValidPosition(Object position)
Description copied from class: IltObject
Determines whether the argument is a valid position/shape for this type of object.

This function overridden in subclasses. Accepted positions are:

Specified by:
isValidPosition in class IltObject
Internal method or field: do not use!

createPositionUpdate

public ilog.tgo.graphic.internal.IltGraphicUpdate createPositionUpdate(Object position,
                                                                       Object positionInManager)
Creates the graphic update responsible for setting the position/shape to a graphical representation. "If the given position is null, the position/shape set will be the default value."? Is this useful?

Specified by:
createPositionUpdate in class IltObject
Parameters:
position - the shape in stationary coordinates
positionInManager - the shape in manager coordinates (takes into account the logical zoom transformer)
Internal method or field: do not use!

usingDefaultShape

public boolean usingDefaultShape(IltGraphicManager manager)
Computes the graphic representation of the object in the given manager. This method is used internally. If the graphical representation of the object is not yet created, then it creates the representation with the given shape. Otherwise, it verifies if the current shape is the default one, and only in this case it used the new shape. If the current shape is not the default, we assume it was set by the user, and let it as it is.

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

updateShapeGraphicSettingInManager

public void updateShapeGraphicSettingInManager(IltGraphicManager manager,
                                               IltGraphic graphic,
                                               Object newShape,
                                               IlpPositionSource reason)
If the graphic representation is visible, updates the shape graphic setting in manager coordinates.

Overrides:
updateShapeGraphicSettingInManager in class IltObject
newShape - the new shape in stationary coordinates; null means the current value of the shape graphic setting
reason - the reason for the shape change, or null if unknown
Internal method or field: do not use!

getShape

public IlpPolygon getShape(IltGraphicManager manager)
Deprecated. Adding a object to a datasource, connected to a graphic component such as an IlpNetwork, is enough to make its graphic representation visible. When working with datasources, please use setPosition instead.

Returns the shape of the graphic representation in a given IltGraphicManager. Note that this method is not supposed to be used when this IltPolyGroup is in a DataSource.

Deprecated Since:
JTGO 3.5

getShape

protected IlpPolygon getShape(IltGraphicManager manager,
                              IltGraphic graphic)
Returns the shape graphic setting.

Internal method or field: do not use!

setShape

public void setShape(IltGraphicManager manager,
                     IlpPolygon shape)
Deprecated. Adding a object to a datasource, connected to a graphic component such as an IlpNetwork, is enough to make its graphic representation visible. When working with datasource, use IltObject.setPosition(IlpPosition) instead.

Changes the shape of the graphic representation in a given IltGraphicManager. Note that this method is not supposed to be used when this IltPolyGroup is in a DataSource.

Deprecated Since:
JTGO 3.5

setShape

public void setShape(IltGraphicManager manager,
                     IlpPolygon shape,
                     IlpPositionSource reason)
Deprecated. Adding a object to a datasource, connected to a graphic component such as an IlpNetwork, is enough to make its graphic representation visible. When working with datasource, use IltObject.setPosition(IlpPosition) instead.

Changes the shape of the graphic representation in a given IltGraphicManager.

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

Parameters:
manager - The graphic manager where this object will be displayed.
shape - The new shape.
reason - The reason for the shape change, or null if unknown
Deprecated Since:
JTGO 3.5

setShape

public void setShape(IltGraphicManager manager,
                     IltLogicalPolygon shape)
Deprecated. Adding a object to a datasource, connected to a graphic component such as an IlpNetwork, is enough to make its graphic representation visible. When working with datasource, use IltObject.setPosition(IlpPosition) instead.

Changes the shape of the graphic representation in a given IltGraphicManager.

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

Parameters:
manager - The graphic manager where this object will be displayed.
shape - The new shape.
Deprecated Since:
JTGO 3.0

getShapeInManager

protected IlpPolygon getShapeInManager(IltGraphicManager manager,
                                       IltGraphic graphic)
Returns the position of the graphic representation in a given IltGraphicManager.

Internal method or field: do not use!

setShapeInManager

public void setShapeInManager(IltGraphicManager manager,
                              IltGraphic graphic,
                              IlpPolygon shape,
                              IlpPositionSource reason)
Changes the position of the graphic representation in a given IltGraphicManager.

Internal method or field: do not use!

setShapeGraphicSetting

public void setShapeGraphicSetting(IltGraphic graphic,
                                   Object newShape)
Sets the graphic settings responsible for the shape of the object.

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

setShapeInManagerGraphicSetting

public void setShapeInManagerGraphicSetting(IltGraphic graphic,
                                            Object newShape,
                                            IlpPositionSource reason)
Overrides:
setShapeInManagerGraphicSetting in class IltObject
Internal method or field: do not use!

applyTransform

public void applyTransform(IltGraphicManager manager,
                           IltGraphic graphic,
                           IlvTransformer t,
                           IlpPositionSource reason)
Deprecated. 

Description copied from class: IltObject
Applies a transform to the location of the graphic representation in a given 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.

Specified by:
applyTransform in class IltObject
Parameters:
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 unknown
See Also:
IltObject.applyTransform(ilog.tgo.graphic.IltGraphicManager, ilog.views.IlvTransformer), IltGraphicManager.getZoomTransformer()
Deprecated Since:
JTGO 3.5

getCenterPoint

protected IlvPoint getCenterPoint(IltGraphicManager manager,
                                  IltGraphic graphic)
Returns the point that represents the center of the polygonal group.

Specified by:
getCenterPoint in class IltObject
Internal method or field: do not use!

setCenterPoint

public void setCenterPoint(IltGraphicManager manager,
                           IltGraphic graphic,
                           IlvPoint position,
                           IlpPositionSource reason)
Changes the position of the graphic representation in a given IltGraphicManager.

Specified by:
setCenterPoint in class IltObject
Internal method or field: do not use!

getBaseRectangle

public IlvRect getBaseRectangle(IltGraphicManager manager)
Returns the base rectangle of the graphic representation in a given IltGraphicManager.

Specified by:
getBaseRectangle in class IltObject
Returns:
null if the base has no extent at all
Internal method or field: do not use!

setBaseRectangle

public 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.

Specified by:
setBaseRectangle in class IltObject
Internal method or field: do not use!

defaultShape

public Object defaultShape()
Returns the default shape, used when an object is made visible without having been assigned a shape.

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

createBase

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

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

ForceInit

public static void ForceInit(ilog.tgo.util.internal.IltForceClassInit object)
To deserialize IltClassLegend instances.

Internal method or field: do not use!