Share this Page URL

Chapter 8. The SWT Combo - Pg. 119

CHAPTER 8 The SWT Combo The last of the four basic SWT widget classes is the Combo . Combo s 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 .