FormAttachment.alignment

alignment specifies the alignment of the control side that is attached to a control. <p> For top and bottom attachments, TOP, BOTTOM and CENTER are used. For left and right attachments, LEFT, RIGHT and CENTER are used. If any other case occurs, the default will be used instead. </p>

<br>Possible values are: <ul> <li>{@link SWT#TOP}: Attach the side to the top side of the specified control.</li> <li>{@link SWT#BOTTOM}: Attach the side to the bottom side of the specified control.</li> <li>{@link SWT#LEFT}: Attach the side to the left side of the specified control.</li> <li>{@link SWT#RIGHT}: Attach the side to the right side of the specified control.</li> <li>{@link SWT#CENTER}: Attach the side at a position which will center the control on the specified control.</li> <li>{@link SWT#DEFAULT}: Attach the side to the adjacent side of the specified control.</li> </ul>

class FormAttachment
int alignment;

Meta