ilog.tgo.model
Class IltCardCarrier

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

public class IltCardCarrier
extends IltShelfItem
implements IltShelfItemContainer, IltContainer

IltCardCarrier is the class for telecom objects that play the role of card carrier cards inside telecom equipment. These shelf items can be associated with slots in the same way as cards.

Card carriers hold a vertical set of slots that all have the same height. Cards can be associated with card carriers in the same way as shelves.

When using a children model to fill the card carrier, instances of IlpShelfItemPosition can be used as parent-child relations.


Nested Class Summary
static class IltCardCarrier.Type
          This enumeration lists the types of CardCarriers.
 
Nested classes/interfaces inherited from class ilog.tgo.model.IltObject
IltObject.ListPrimaryStateStyleValueProvider, IltObject.LogicalType, IltObject.TinyType
 
Field Summary
static int _defaultBottomSpacing
          Deprecated. Please use DEFAULT_BOTTOM_SPACING instead.
static IltAttribute BottomSpacingAttribute
          Attribute to define the size of the visible bottom part of a card carrier.
static int DEFAULT_BOTTOM_SPACING
          Default size of the visible bottom part of a card carrier.
static int DEFAULT_SLOT_COUNT
           
static IltObjectInfo metainfo
          Contains metainformation about this IltObject class.
static IltAttribute SlotCountAttribute
          Attribute to manage the number of slots.
static IltAttribute TypeAttribute
          Attribute used to define the type of the Card Carrier.
 
Fields inherited from class ilog.tgo.model.IltShelfItem
DirectionAttribute, StateIconsStackingDirection, VerticalLabelStacksGlyphs
 
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
IltCardCarrier(IlpClass ilpClass, Object identifier)
          Creates a new instance of IltCardCarrier with a given class and identifier.
IltCardCarrier(IltCardCarrier.Type type, IltObjectState state, int slotCount)
          Creates a new card carrier.
IltCardCarrier(IltObjectState state, int slotCount)
          Creates a new card carrier with the Standard type.
IltCardCarrier(Object identifier)
          Creates a new card carrier with an identifier.
 
Method Summary
 void checkItem(IltObject item, IlpShelfItemPosition position)
          Check the position for a given item, verifying if indexes and spans are valid, and also checking if the item can fit into the container.
 void computeGraphic(IltGraphicManager manager, IlvRect rect)
          Deprecated. Adding a object to a datasource, connected to a graphic component such as an IlpNetwork, is enough to make its graphic representation visible.
protected  void copyFrom(IltObject o)
          Copies the attributes from an original object.
 ilog.tgo.graphic.internal.base.IltBaseElement createBase(IltcGraphicElementAggregate root)
          Creates a base element, suitable for this particular kind of object, for use with the Symbolic Graphic Representation Style.
 void createGraphic(IltGraphicManager manager)
          Deprecated. Adding a object to a datasource, connected to a graphic component such as an IlpNetwork, is enough to make its graphic representation visible.
 ilog.tgo.graphic.internal.IltGraphicUpdate createPositionUpdate(Object position, Object positionInManager)
          Creates the graphic update responsible for setting the position/shape to a graphical representation.
 int findItem(IltObject item)
          Deprecated. Please retrieve the object position using getPosition.
 int getBottomSpacing()
          Gets the current size of the visible bottom part.
 Enumeration getChildren()
          Deprecated. In the future, relationships will only be defined at the datasource level.
 IltChildrenModel getDetailObjects()
          Deprecated. Containment relationships should be declared at the Datasource level.
static IltObjectInfo GetIlpClass()
          Returns the IlpClass corresponding to this Java class.
 IltObject getItem(int slotIndex)
          Deprecated. Containment relationships should be declared and retrieved at the Datasource level.
 IltObject getItem(int slotXIndex, int slotYIndex)
          Returns the child item occupying the slot defined by slotXIndex and slotYIndex.
 IlpShelfItemPosition getItemPosition(IltObject item)
          Returns the position of the child object relative to its parent, based on both x and y slot positioning.
 IlvRect getItemRect(IltGraphicManager manager, IltObject item)
          Access the dimension of a given child item in the given manager.
 Enumeration getItems()
          Deprecated. Containment relationships should be declared and retrieved at the Datasource level.
 Enumeration getItems(int slotIndex, float slotSpan)
          Deprecated. Containment relationships should be declared and retrieved at the Datasource level.
 Enumeration getItems(int slotXIndex, float slotXSpan, int slotYIndex, float slotYSpan)
          Returns an Enumeration of the child items (IltObject instances) in the container that are fully or partially covered by the given area defined by slotXIndex, slotYIndex, slotXSpan and slotYSpan.
 float getItemSpan(int slotIndex)
          Deprecated. Span information is part of the card position. Please use getPosition on the card that you are querying to retrieve the span information.
 IltStateHolder getOverviewObject()
          Deprecated. Containment relationships should be declared at the Datasource level.
 int getSlotCount()
          Access the total number of slots that the container has.
 float getSlotSpanX(int xIndex, int yIndex)
          Retrieves the number of slots spanned through the x axis by the children occupying the given slot x and y position.
 float getSlotSpanY(int xIndex, int yIndex)
          Retrieves the number of slots spanned through the y axis by the children occupying the given slot x and y position.
 IltStatePropagator getStatePropagator()
          Deprecated. State propagation at the graphic level is not supported in the Network and Equipment Components.
 IltCardCarrier.Type getType()
          Returns the Type of the CardCarrier.
protected  IlpAttribute getTypeAttribute()
          Returns the attribute that stores type information
protected  void initializeCardCarrier(int slotCount)
          This method must only be called in the constructors.
 void initializeCreatedGraphic(IltGraphicManager manager, IltGraphic graphic)
          This method must be called just after preCreateGraphic to initialize any needed property or graphic setting.
protected  void initializeObject(IltObjectState state, String name)
          This method is only called by the constructor.
 boolean isShelfItemContainer()
          Returns true if this item can contain other shelf items.
protected  void recreateChildren(ilog.tgo.model.internal.IltSlotArray sArray)
           
 void removeAllItems()
          Deprecated. Containment relationships should be declared and retrieved at the Datasource level.
 void removeGraphic(IltGraphicManager manager)
          Removes the graphic representation of this object from a given IltGraphicManager.
 void removeGraphic(IltGraphicManager manager, IltCompositeGraphic graphic)
           
 boolean removeItem(IltObject item)
          Deprecated. Containment relationships should be declared and retrieved at the Datasource level.
 void setAttributeValue(IlpAttribute attribute, Object value)
          Sets the value of an attribute of this object.
 void setBottomSpacing(int bottomSpacing)
          Changes the size of the visible bottom part.
 void setDetailObjects(IltChildrenModel details)
          Deprecated. Containment relationships should be declared at the Datasource level.
 void setDirection(int containerDirection)
          Deprecated. Please use setAttributeValue method to change the IltCardCarrier.DirectionAttribute instead. The direction has changed from IlvDirection to IlpDirection.
 void setDirection(int containerDirection, int itemsDirection)
          Deprecated. Whenever the direction of a card carrier changes, the directions of all its children change accordingly. Update each child direction individually by using the method setAttributeValue to change the IltCardCarrier.DirectionAttribute of each child object. The direction has changed from IlvDirection to IlpDirection.
protected  void setDirectionAndShape(int containerDirection, int itemsDirection)
          Deprecated.  
 void setItem(int slotXIndex, float slotXSpan, int slotYIndex, float slotYSpan, IltObject item)
          Adds a child item to the container at a given position and span.
 void setItem(int slotIndex, IltObject item)
          Deprecated. Containment relationships should be declared at the Datasource level. Please insert your card in the datasource, setting it as child of this card carrier. It will also be necessary to define its position within the card carrier. You can do this, by setting the card position attribute to a shelf item position IlpShelfItemPosition
 void setItem(int slotIndex, IltObject item, float slotSpan)
          Deprecated. Containment relationships should be declared and retrieved at the Datasource level. Please add your object to the datasource as a child of this card carrier and set its position, as a IlpShelfItemPosition using the method setPosition at the object level or at the component view level.
 void setItem(int slotXIndex, int slotYIndex, IltObject item)
          Adds a child item to the container at a given position; any other children accupying the given position (or even part of it) are removed.
 void setOverviewObject(IltStateHolder overview)
          Deprecated. Containment relationships should be declared at the Datasource level. In case of card carriers, the overview object can not be changed, as it is the card carrier instance itself.
 void setShapeGraphicSetting(IltGraphic graphic, Object newShape)
          Sets the graphic settings responsible for the shape of the object.
 void setShapeInManager(IltGraphicManager manager, IltGraphic graphic, IlvRect shape)
          Sets the shape of this card carrier in the given manager and recalculates the contained shelf items sizes.
 void setSlotCount(int slotCount)
          Changes the number of slots in this card carrier.
 void setStatePropagator(IltStatePropagator propagator)
          Deprecated. State propagation at the graphic level is not supported in the Network and Equipment Components.
 void setType(IltCardCarrier.Type type)
          Changes the Type of the CardCarrier.
 void updateFrom(IltObject other)
          Updates the local cache of attributes stored in getObjectAttribute().
protected  void updateSlotCount(int oldSlotCount, int newSlotCount)
           
 
Methods inherited from class ilog.tgo.model.IltShelfItem
applyTransform, CheckDirection, copyFrom, defaultShape, getBaseRectangle, getCenterPoint, GetClassLegend, getContainer, getDefaultLabelPosition, getLabelDirection, getLabelDirection, getLabelDirection, getMappedForUserList, getOutermostParentGraphic, getShape, getShape, getShapeInManager, isItemMoveable, isValidPosition, resetLabelDirection, resetLabelDirection, restoreVisibility, setAutomaticDecorationsDirection, setBaseRectangle, setCenterPoint, setContainer, setLabelDirection, setLabelDirection, setProperty, setShape, setShape, setShape, setShapeInManagerGraphicSetting, transformPosition, updateShapeGraphicSettingInManager, usingDefaultShape
 
Methods inherited from class ilog.tgo.model.IltObject
__getIlpObject, addGraphicChangedListener, addStateChangedListener, applyTransform, applyTransform, applyTransform, applyTransformInManager, clearState, cloneForRendering, computeGraphic, computeGraphic, computeGraphic, computeGraphic, computeGraphic, computeGraphicAtPosition, createTinyBase, debug, endDelayingComputeGraphic, EndDelayingComputeGraphic, fireAllGraphicChanged, fireGraphicChanged, ForceInit, forgetShapeGraphicSettingInManager, FromGraphic, getAlarmState, getAttacherInfo, getAttacherInfoController, getAutomaticDecorationsDirection, getBaseRectangleInManager, GetBaseStyleMapping, getCenterPoint, getCenterPointInManager, 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, initializeDefaultValues, initializeVisibleGraphic, InitStyle, isEditable, isNearlyVisible, IsPropertyTransient, isSelected, isSelected, isVisible, mapDirection, mappedForUser, objectStateChanged, objectStateCleared, objectStateSet, postCreateGraphic, preCreateGraphic, removeGraphic, removeGraphic, removeGraphicChangedListener, removeGraphicSetting, removeGraphicSetting, removeProperty, removeStateChangedListener, resetLabelOffset, resetLabelOffset, resetLabelPosition, resetLabelPosition, resetState, 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
 
Methods inherited from class ilog.cpl.model.IlpDefaultObject
addAttributeValueListener, fireEvent, getAttributeGroup, getAttributeValue, getAttributeValue, getAttributeValueByName, getIdentifier, getIlpClass, getLocalAttributeValues, getObjectSupport, hasAttributeValue, removeAttributeValueListener, setAttributeValue, setAttributeValueByName, setLocalAttributeValues, setObjectSupport, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface ilog.tgo.model.IltContainer
setObjectState
 
Methods inherited from interface ilog.tgo.model.IltStateHolder
addStateChangedListener, getObjectState, removeStateChangedListener
 

Field Detail

metainfo

public static IltObjectInfo metainfo
Contains metainformation about this IltObject class.

Internal method or field: do not use!

_defaultBottomSpacing

public static int _defaultBottomSpacing
Deprecated. Please use DEFAULT_BOTTOM_SPACING instead.
Default size of the visible bottom part of a card carrier.

Deprecated Since:
JTGO 4.0

DEFAULT_BOTTOM_SPACING

public static int DEFAULT_BOTTOM_SPACING
Default size of the visible bottom part of a card carrier.

Since:
JTGO 4.0

TypeAttribute

public static IltAttribute TypeAttribute
Attribute used to define the type of the Card Carrier.

Attribute name: type

Value type: IltCardCarrier.Type.

Since:
JTGO 4.0
See Also:
IltCardCarrier.Type

SlotCountAttribute

public static IltAttribute SlotCountAttribute
Attribute to manage the number of slots.

Attribute name: slotCount.

Value type: Integer.

Since:
JTGO 3.0

BottomSpacingAttribute

public static IltAttribute BottomSpacingAttribute
Attribute to define the size of the visible bottom part of a card carrier.

Attribute name: bottomSpacing.

Value type: Integer.

Since:
JTGO 4.0

DEFAULT_SLOT_COUNT

public static int DEFAULT_SLOT_COUNT
Internal method or field: do not use!
Constructor Detail

IltCardCarrier

public IltCardCarrier(Object identifier)
Creates a new card carrier with an identifier.

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

IltCardCarrier

public IltCardCarrier(IlpClass ilpClass,
                      Object identifier)
Creates a new instance of IltCardCarrier with a given class and identifier.

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

IltCardCarrier

public IltCardCarrier(IltObjectState state,
                      int slotCount)
Creates a new card carrier with the Standard type. The type can be modified afterwards with the setType method.

Parameters:
state - The semantic state of the card carrier
slotCount - The number of vertical slots of equal size

IltCardCarrier

public IltCardCarrier(IltCardCarrier.Type type,
                      IltObjectState state,
                      int slotCount)
Creates a new card carrier.

Parameters:
type - The type of the card carrier
state - The semantic state of the card carrier
slotCount - The number of vertical slots of equal size
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

getTypeAttribute

protected IlpAttribute getTypeAttribute()
Description copied from class: IltShelfItem
Returns the attribute that stores type information

Specified by:
getTypeAttribute in class IltShelfItem
Internal method or field: do not use!

initializeObject

protected void initializeObject(IltObjectState state,
                                String name)
This method is only called by the constructor.

Overrides:
initializeObject in class IltShelfItem
See Also:
IltObject.initializeObject(ilog.tgo.model.IltObjectState, java.lang.String)
Internal method or field: do not use!

initializeCardCarrier

protected void initializeCardCarrier(int slotCount)
This method must only be called in the constructors.

Internal method or field: do not use!

updateFrom

public void updateFrom(IltObject other)
Description copied from class: IltObject
Updates the local cache of attributes stored in getObjectAttribute().

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

copyFrom

protected void copyFrom(IltObject o)
Description copied from class: IltObject
Copies the attributes from an original object.

Overrides:
copyFrom in class IltObject
See Also:
IltObject.cloneForRendering(boolean)
Internal method or field: do not use!

recreateChildren

protected void recreateChildren(ilog.tgo.model.internal.IltSlotArray sArray)
Internal method or field: do not use!

getType

public IltCardCarrier.Type getType()
Returns the Type of the CardCarrier.


setType

public void setType(IltCardCarrier.Type type)
Changes the Type of the CardCarrier.


setBottomSpacing

public void setBottomSpacing(int bottomSpacing)
Changes the size of the visible bottom part.


getBottomSpacing

public int getBottomSpacing()
Gets the current size of the visible bottom part.


setSlotCount

public void setSlotCount(int slotCount)
Changes the number of slots in this card carrier.

Parameters:
slotCount - the new number of slots

getSlotCount

public int getSlotCount()
Access the total number of slots that the container has.

Specified by:
getSlotCount in interface IltShelfItemContainer
Returns:
The total number of slots, including x and y dimensions

updateSlotCount

protected void updateSlotCount(int oldSlotCount,
                               int newSlotCount)
Internal method or field: do not use!

isShelfItemContainer

public boolean isShelfItemContainer()
Description copied from class: IltShelfItem
Returns true if this item can contain other shelf items.

Overrides:
isShelfItemContainer in class IltShelfItem
Internal method or field: do not use!

setShapeGraphicSetting

public void setShapeGraphicSetting(IltGraphic graphic,
                                   Object newShape)
Description copied from class: IltShelfItem
Sets the graphic settings responsible for the shape of the object.

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

setShapeInManager

public void setShapeInManager(IltGraphicManager manager,
                              IltGraphic graphic,
                              IlvRect shape)
Sets the shape of this card carrier in the given manager and recalculates the contained shelf items sizes.

Internal method or field: do not use!

createGraphic

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

Ensures that this object has a graphic representation in a given IltGraphicManager. If no graphic representation in this view exists, an invisible graphic representation is created.

The graphic representations of the contained shelf items are also created.

Overrides:
createGraphic in class IltObject
Deprecated Since:
JTGO 3.5

computeGraphic

public void computeGraphic(IltGraphicManager manager,
                           IlvRect rect)
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

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.

Overrides:
createPositionUpdate in class IltShelfItem
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!

removeGraphic

public void removeGraphic(IltGraphicManager manager)
Description copied from class: IltObject
Removes the graphic representation of this object from a given IltGraphicManager.

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

Overrides:
removeGraphic in class IltObject

removeGraphic

public void removeGraphic(IltGraphicManager manager,
                          IltCompositeGraphic graphic)
Internal method or field: do not use!

initializeCreatedGraphic

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

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

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!

getOverviewObject

public IltStateHolder getOverviewObject()
Deprecated. Containment relationships should be declared at the Datasource level.

Returns the overview object, this in the case of an IltShelf.

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

setOverviewObject

public void setOverviewObject(IltStateHolder overview)
Deprecated. Containment relationships should be declared at the Datasource level. In case of card carriers, the overview object can not be changed, as it is the card carrier instance itself.

Sets or replaces the overview object.

It should not be called on IltShelf instances.

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

getDetailObjects

public IltChildrenModel getDetailObjects()
Deprecated. Containment relationships should be declared at the Datasource level.

Returns the abstract model describing the set of detail objects.

Specified by:
getDetailObjects in interface IltContainer
See Also:
IltDefaultDataSource
Deprecated Since:
JTGO 4.0

setDetailObjects

public void setDetailObjects(IltChildrenModel details)
Deprecated. Containment relationships should be declared at the Datasource level.

Sets or replaces the set of detail objects.

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

To be able to use the setItem, removeItem and removeItems methods, details must be an instance of a subclass of IltDefaultChildrenModel.

Specified by:
setDetailObjects in interface IltContainer
See Also:
IltDefaultDataSource
Deprecated Since:
JTGO 4.0

getStatePropagator

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

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

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

setStatePropagator

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

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

Specified by:
setStatePropagator in interface IltContainer
Deprecated S