|
||||||||||
| PREV CLASS Documentation homepage NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectilog.cpl.graphic.attachment.IlpAbstractAttachment
ilog.cpl.graphic.attachment.IlpOffsetAttachment
public class IlpOffsetAttachment
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.
IlvCompositeGraphic,
IlvAttachmentLayout,
IlvAttachmentConstraint| 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 |
|---|
public IlpOffsetAttachment(IlpAttachmentLocation location,
IlpAttachable reference,
float dx,
float dy)
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.IlpAttachmentLocation
public IlpOffsetAttachment(IlpAttachmentLocation localLocation,
IlpAttachmentLocation referenceLocation,
IlpAttachable reference,
float dx,
float dy)
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.IlpAttachmentLocation| Method Detail |
|---|
public IlpPoint getOffset()
public void setOffset(float dx,
float dy)
public IlpPoint compute()
|
||||||||||
| PREV CLASS Documentation homepage NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||