ilog.cpl.graphic.attachment
Class IlpIdentityAttachment

java.lang.Object
  extended by ilog.cpl.graphic.attachment.IlpAbstractAttachment
      extended by ilog.cpl.graphic.attachment.IlpIdentityAttachment
All Implemented Interfaces:
IlpAttachment

Deprecated. Please use ILOG JViews Composite Graphic support instead.

public class IlpIdentityAttachment
extends IlpAbstractAttachment

This class defines an identity attachment that attaches two graphic objects according to a given location but without specifying an offset between them.

Since:
JTGO 3.0
See Also:
IlvCompositeGraphic, IlvAttachmentLayout, IlvAttachmentConstraint
Deprecated Since:
JTGO 4.0

Constructor Summary
IlpIdentityAttachment(IlpAttachable reference, IlpAttachmentLocation location)
          Deprecated. Creates an identity attachment from the graphic to the reference with the same location.
IlpIdentityAttachment(IlpAttachmentLocation localLocation, IlpAttachmentLocation referenceLocation, IlpAttachable reference)
          Deprecated. Creates an identity attachment from the graphic to the reference with different locations.
 
Method Summary
 IlpPoint compute()
          Deprecated. Calculates the reference position.
 
Methods inherited from class ilog.cpl.graphic.attachment.IlpAbstractAttachment
getLocalLocation, getReference, getReferenceLocation, setLocalLocation, setReference, setReferenceLocation
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IlpIdentityAttachment

public IlpIdentityAttachment(IlpAttachable reference,
                             IlpAttachmentLocation location)
Deprecated. 
Creates an identity attachment from the graphic to the reference with the same location.

Parameters:
reference - The reference object to which the local object will be attached.
location - The location where the object will be attached. This constructor sets the same location for the the local and the reference object. For example, it attaches the top-left point of an object to the top-left point of the reference object.
See Also:
IlpAttachmentLocation

IlpIdentityAttachment

public IlpIdentityAttachment(IlpAttachmentLocation localLocation,
                             IlpAttachmentLocation referenceLocation,
                             IlpAttachable reference)
Deprecated. 
Creates an identity attachment from the graphic to the reference with different locations.

Parameters:
localLocation - The attachment location in the object being attached.
referenceLocation - The attachment location in the reference object.
reference - The reference object to which the object is being attached.
See Also:
IlpAttachmentLocation
Method Detail

compute

public IlpPoint compute()
Deprecated. 
Calculates the reference position.

Internal method or field: do not use!


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