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

Chapter 13. SWT Trees

Chapter 13. SWT Trees

Since the early days of the GUI a common element of interface design has been to present hierarchical information in a tree format. The grandfather of these interface types is the old Windows File Manager, which has evolved into Windows Explorer in today's versions of Windows. Even Unix-based systems recognize the necessity for providing a tree control.

The SWT contains a set of classes that assist in the development of tree interfaces. These classes are part of the org.eclipse.swt.widgets package. The two classes examined in this chapter are Tree and TreeItem. The Tree class represents the trunk of the tree, to which other items will be attached. TreeItem objects represent individual items (branches) of the tree.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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