• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 6. Native Widgets > Native Widgets Summary

6.1. Native Widgets Summary

Figure 6.1 shows the class hierarchy for all of the native widgets provided by SWT. Four abstract classes define the basic structure (these are denoted by a small letter A beside the class icon in Figure 6.1).

Widget This is the root of the widget hierarchy. It defines the life cycle and event-handling API.

Control Controls are user interface elements that have operating system windows associated with them. These are typically called heavyweight widgets.

Scrollable The superclass of any control that has scroll bars.[3]

[3] Note that this is not an interface, despite the name.

Item Items are user interface elements that typically do not have operating system resources associated with them. These are typically called lightweight widgets.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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