• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint

4.4. Visibility

Every control has an associated property called its visibility. A control whose visibility is set to false is said to be hidden, and the act of setting the visibility to false is called hiding the control. A control whose visibility is set to true is said to be visible (not “shown”), and the act of setting the visibility to true is called showing the control.

If a control is visible, SWT will attempt to draw the control, allowing it to be seen by the user. However, it is important to note that being visible is only one of the requirements for a control to be seen. Circumstances that would prevent this include the following.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint