Rogue Wave Views Foundation Package API Reference Guide |
Rogue Wave Views Documentation Home |
Classes | |
class | IlvAttachmentsHandler |
Class used to handle attachments of graphic objects. More... | |
Enumerations | |
enum | IlvGraphicAttachment { IlvNoAttach, IlvFixedAttach, IlvElasticAttach, IlvFixAndElasticAttach } |
This enum type defines how graphic objects are attached to the borders of their container view, and whether the objects can be resized. The attachments thus establish the behavior of the objects when the size of the container view is changed. More... | |
Functions | |
void | IlvGetAttachment (const IlvGraphic *graphic, IlvPosition position) |
Returns the attachment rule set on the specified border of the object. More... | |
void | IlvGetAttachmentDistance (const IlvGraphic *graphic, IlvPosition position) |
Returns the distance set on the attachment rule of the specified border of the object. More... | |
void | IlvRemoveAttachment (IlvGraphic *graphic, IlvPosition position) |
Removes the attachment set on the specified border of the object. More... | |
void | IlvSetAttachment (IlvGraphic *graphic, IlvPosition position, IlvGraphicAttachment attachment, IlvDim distance=0) |
Sets the attachment rule for the specified object. More... | |
Library: views
Declaration of the classes and methods used to handle graphic attachments.
enum IlvGraphicAttachment |
This enum type defines how graphic objects are attached to the borders of their container view, and whether the objects can be resized. The attachments thus establish the behavior of the objects when the size of the container view is changed.
void IlvGetAttachment | ( | const IlvGraphic * | graphic, |
IlvPosition | position | ||
) |
Returns the attachment rule set on the specified border of the object.
graphic | The graphic object. |
position | A position specifying for which border of the object bounding box the attachment is required. See IlvSetAttachment for details. |
IlvSetAttachment
, IlvGetAttachmentDistance
. void IlvGetAttachmentDistance | ( | const IlvGraphic * | graphic, |
IlvPosition | position | ||
) |
Returns the distance set on the attachment rule of the specified border of the object.
graphic | The graphic object. |
position | A position specifying for which border of the object bounding box the attachment is required. See IlvSetAttachment for details. |
IlvSetAttachment
, IlvGetAttachment
. void IlvRemoveAttachment | ( | IlvGraphic * | graphic, |
IlvPosition | position | ||
) |
Removes the attachment set on the specified border of the object.
graphic | The graphic object to detach. |
position | A position specifying which border of the object bounding box to detach. See IlvSetAttachment for details. |
IlvSetAttachment
. void IlvSetAttachment | ( | IlvGraphic * | graphic, |
IlvPosition | position, | ||
IlvGraphicAttachment | attachment, | ||
IlvDim | distance = 0 |
||
) |
Sets the attachment rule for the specified object.
Attaches the border of the bounding box specified by position of graphic using the parameters attachment
and distance.
graphic | The graphic object to attach. |
position | A position specifying which border of the object bounding box to attach. Valid values are: IlvLeft , IlvTop , IlvRight or IlvBottom to indicate which border of the object needs to be attached to the view, or IlvVertical and IlvHorizontal to indicate the behavior of the object's bounding box. |
attachment | The type of attachment. |
distance | The distance used for fixed attachemnts. |
© Copyright 2018, Rogue Wave Software, Inc. All Rights Reserved.
Rogue Wave is a registered trademark of Rogue Wave Software, Inc. in the United States and other countries. All other trademarks are the property of their respective owners.