ilog.tgo.graphic
Class IltGraphicElementAggregate

java.lang.Object
  extended by ilog.tgo.composite.internal.IltcGraphicChild
      extended by ilog.tgo.composite.IltcGraphicElementAggregate
          extended by ilog.tgo.graphic.IltGraphicElementAggregate
All Implemented Interfaces:
IlpAttachable, IlpAttachmentManager, IlpGraphic, IlpGraphicContainment, ilog.cpl.graphic.internal.IlpGraphicModifier, ilog.tgo.composite.internal.IltcGraphicModifier

Deprecated. Please use properties children and constraints to customize new decorations to predefined business objects using CSS.

public class IltGraphicElementAggregate
extends IltcGraphicElementAggregate

This class models a graphic object made up of several other graphic instances.

The children graphic instances are combined using attachment rules.

Since:
JTGO 3.0
Deprecated Since:
JTGO 4.0

Field Summary
 
Fields inherited from class ilog.tgo.composite.IltcGraphicElementAggregate
_children
 
Fields inherited from class ilog.tgo.composite.internal.IltcGraphicChild
_attachmanager, _attachrect, _attribute, _component, _listenerSupport
 
Fields inherited from interface ilog.cpl.graphic.IlpGraphic
AlarmBalloonBorderColor, AlarmBalloonColor, AlarmBalloonOrientation, AlarmBalloonPointerDepth, AlarmBalloonPointerDistance, AlarmBalloonRadius, AlarmBalloonShadowColor, AlarmBalloonShadowThickness, AlarmCountLabelBackgroundColor, AlarmCountOuterBorderColor, CenteredInsets, InfoBalloonBorderColor, InfoBalloonColor, InfoBalloonOrientation, InfoBalloonPointerDepth, InfoBalloonShadowColor, InfoBalloonShadowThickness, StackerAlignment, StackerOrientation, StackerSpacing
 
Constructor Summary
IltGraphicElementAggregate(IlpAttribute attr)
          Deprecated. Creates a new graphic aggregate to represent the given attribute.
 
Method Summary
 void addChild(IlpGraphic graphic)
          Deprecated. Adds a new child graphic.
 void addChild(IlpGraphic graphic, IlpAttachment attachment)
          Deprecated. Adds a new child graphic with the given attachment rule.
 IlpAttachment getAttachment(IlpGraphic graphic)
          Deprecated. Returns the attachment of the given graphic object.
 IlpAttribute getAttribute()
          Deprecated. Returns the attribute that this graphic instance represents, if any.
 IlpGraphic getBase()
          Deprecated. Gets the base element.
 int getChildCount()
          Deprecated. Returns the number of children in the hierarchy.
 Collection getChildren()
          Deprecated. Returns the collection of all the graphic instances contained in this composite graphic.
 IltDecorationSource getDecorationSource()
          Deprecated. Returns the semantic state that is represented by this graphic element aggregate.
 IlpRepresentationObject getRepresentationObject()
          Deprecated. Returns the object that this graphic instance represents.
 IlpGraphicView getView()
          Deprecated. Returns the view in which this graphic object is being used.
 boolean isVisible(IlvTransformer t)
          Deprecated. Returns if this graphic element should be visible or not according to the zoom level.
 void setAttachment(IlpGraphic graphic, IlpAttachment attachment)
          Deprecated. Attaches the corresponding graphic object to another one.
 
Methods inherited from class ilog.tgo.composite.IltcGraphicElementAggregate
apply, apply, apply, apply, call, call, call, childAt, computeAttachmentBounds, computeAttachmentCoordinates, computeAttachmentCoordinates, computeChildrenAttachmentCoordinates, computeFixedCoordinates, contains, getAttachmentBounds, getBoundingBox, getComponent, removeChild, removeChildren
 
Methods inherited from class ilog.tgo.composite.internal.IltcGraphicChild
addGraphicChangeListener, fireEvent, getAttachmentManager, getParent, getRootGraphic, removeGraphicChangeListener, setParent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface ilog.cpl.graphic.IlpGraphic
addGraphicChangeListener, fireEvent, getParent, removeGraphicChangeListener, setParent
 
Methods inherited from interface ilog.cpl.graphic.attachment.IlpAttachable
getAttachmentManager
 

Constructor Detail

IltGraphicElementAggregate

public IltGraphicElementAggregate(IlpAttribute attr)
Deprecated. 
Creates a new graphic aggregate to represent the given attribute.

Method Detail

getChildren

public Collection getChildren()
Deprecated. 
Returns the collection of all the graphic instances contained in this composite graphic.

Specified by:
getChildren in interface IlpGraphicContainment
Overrides:
getChildren in class IltcGraphicElementAggregate

getChildCount

public int getChildCount()
Deprecated. 
Returns the number of children in the hierarchy.

Specified by:
getChildCount in interface IlpGraphicContainment
Overrides:
getChildCount in class IltcGraphicElementAggregate

addChild

public void addChild(IlpGraphic graphic)
Deprecated. 
Adds a new child graphic.

Specified by:
addChild in interface IlpGraphicContainment
Overrides:
addChild in class IltcGraphicElementAggregate

addChild

public void addChild(IlpGraphic graphic,
                     IlpAttachment attachment)
Deprecated. 
Adds a new child graphic with the given attachment rule.

Overrides:
addChild in class IltcGraphicElementAggregate

getBase

public IlpGraphic getBase()
Deprecated. 
Gets the base element.

Overrides:
getBase in class IltcGraphicElementAggregate

getAttachment

public IlpAttachment getAttachment(IlpGraphic graphic)
Deprecated. 
Returns the attachment of the given graphic object.

Specified by:
getAttachment in interface IlpAttachmentManager
Overrides:
getAttachment in class IltcGraphicElementAggregate

setAttachment

public void setAttachment(IlpGraphic graphic,
                          IlpAttachment attachment)
Deprecated. 
Attaches the corresponding graphic object to another one.

Specified by:
setAttachment in interface IlpAttachmentManager
Overrides:
setAttachment in class IltcGraphicElementAggregate

getDecorationSource

public IltDecorationSource getDecorationSource()
Deprecated. 
Returns the semantic state that is represented by this graphic element aggregate. Returns null if this graphic element aggregate's existence is not due to a particular semantic state.

Internal method or field: do not use!

isVisible

public boolean isVisible(IlvTransformer t)
Deprecated. 
Returns if this graphic element should be visible or not according to the zoom level.

Specified by:
isVisible in class ilog.tgo.composite.internal.IltcGraphicChild
Parameters:
t - Transformer
Returns:
true
Since:
JTGO 4.5
Internal method or field: do not use!

getView

public IlpGraphicView getView()
Deprecated. 
Returns the view in which this graphic object is being used.

Specified by:
getView in interface IlpGraphic
Overrides:
getView in class ilog.tgo.composite.internal.IltcGraphicChild

getRepresentationObject

public IlpRepresentationObject getRepresentationObject()
Deprecated. 
Returns the object that this graphic instance represents.

Specified by:
getRepresentationObject in interface IlpGraphic
Overrides:
getRepresentationObject in class ilog.tgo.composite.internal.IltcGraphicChild

getAttribute

public IlpAttribute getAttribute()
Deprecated. 
Returns the attribute that this graphic instance represents, if any.

Specified by:
getAttribute in interface IlpGraphic
Overrides:
getAttribute in class ilog.tgo.composite.internal.IltcGraphicChild


Copyright © 1996-2007 ILOG S.A. All rights reserved.   Documentation homepage.   . All Rights Reserved.