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

Chapter 8. The SWT Combo

Chapter 8. The SWT Combo

The last of the four basic SWT widget classes is the Combo. Combos are used to gather information by enabling the user to choose from a list of items or to enter text not in the list. It combines the functionality of the List class with functionality from the Text class, hence the name combo. In other toolkits, you may find the combo box referred to by an older name—the drop-down listbox.

Since the Combo is a combination of two classes, you must consider each aspect of the class separately. This chapter begins with an examination of the List aspects of Combo, and then continues with the Text aspects. You will find much of this material familiar after having read the chapters that cover Text and List.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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