|
|
< Day Day Up > |
|
4.5 Z-OrderThe z-order of a control is the position of the control in the drawing order of its parent.[8] A control that is higher in the drawing order than some other control is said to be above the other control. Similarly, the lower control is said to be below the other control. When one control is above another and the controls overlap, the higher control is drawn on top, obscuring the overlapping part of the other control.
In SWT, the z-order matches the order that controls are stored in the children list of the parent. Controls that are on top occur earlier in the list. When a control is created, it is placed at the end of the children list, below the other siblings. You can change the z-order of a control using moveAbove() and moveBelow().
|
|
|
< Day Day Up > |
|