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

Chapter 7. SWT Lists

Chapter 7. SWT Lists

List widgets are used to present information to the user and allow selection of an item or items for further action (when processing is initiated by a command button, for example). List is similar in concept to the Combo, or drop-down, list, which is the subject of Chapter 8. The choice between using a List or a Combo is simple: use a List when it is either important for the user to have some or all of the items to choose from visible at all times, or when screen real estate is not an important design consideration.

A single SWT class is used to construct all lists—the List class—located in the org.eclipse.swt.widgets package.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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