ilog.cpl.graphic.attachment
Class IlpOffsetAttachment

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

Deprecated. Please use ILOG JViews Composite Graphic support instead.

public class IlpOffsetAttachment
extends IlpAbstractAttachment

This class specifies an attachment rule between two objects that indicates the location where the attachment will be made and an offset between the two objects.

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

Constructor Summary
IlpOffsetAttachment(IlpAttachmentLocation location, IlpAttachable reference, float dx, float dy)
          Deprecated. Creates a new instance of an attachment using the provided location, reference, and offset values.
IlpOffsetAttachment(IlpAttachmentLocation localLocation, IlpAttachmentLocation referenceLocation, IlpAttachable reference, float dx, float dy)
          Deprecated. Creates a new instance of an attachment using the provided location, reference, and offset values.
 
Method Summary
 IlpPoint compute()
          Deprecated. Calculates the reference point given the location and offset.
 IlpPoint getOffset()
          Deprecated. Returns the offset being used in the attachment.
 void setOffset(float dx, float dy)
          Deprecated. Sets the offset used by this attachment.
 
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

IlpOffsetAttachment

public IlpOffsetAttachment(IlpAttachmentLocation location,
                           IlpAttachable reference,
                           float dx,
                           float dy)
Deprecated. 
Creates a new instance of an attachment using the provided location, reference, and offset values.

Parameters:
location - The position in the object that can be attached where the attachment will be made. For example, the top side of the object is attached to another object top location.
reference - The object where the attachment will take place.
dx - The horizontal offset.
dy - The vertical offset.
See Also:
IlpAttachmentLocation

IlpOffsetAttachment

public IlpOffsetAttachment(IlpAttachmentLocation localLocation,
                           IlpAttachmentLocation referenceLocation,
                           IlpAttachable reference,
                           float dx,
                           float dy)
Deprecated. 
Creates a new instance of an attachment using the provided location, reference, and offset values.

Parameters:
localLocation - The position in the object that can be attached where the attachment will take place. For example, the top side of the object that can be attached will be attached to the bottom side of another object.
referenceLocation - The position in the reference object where the attachment will take place.
reference - The reference object in the attachment operation.
dx - The horizontal offset.
dy - The vertical offset.
See Also:
IlpAttachmentLocation
Method Detail

getOffset

public IlpPoint getOffset()
Deprecated. 
Returns the offset being used in the attachment.


setOffset

public void setOffset(float dx,
                      float dy)
Deprecated. 
Sets the offset used by this attachment.


compute

public IlpPoint compute()
Deprecated. 
Calculates the reference point given the location and offset.

Internal method or field: do not use!


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