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

Chapter 13. SWT Trees > Working with Other Tree Styles

13.8. Working with Other Tree Styles

So far, the examples have used just the SWT.SINGLE tree style. The Tree class also supports other styles. SWT.MULTI creates a tree that enables the user to make multiple selections. This is of limited use in Tree-type interfaces, which normally permit only one item in the tree to be active at a time (again, Windows Explorer is an example; you can work only in one folder at a time).

SWT.CHECK-style Tree objects are another matter. SWT.CHECK creates a Tree whose items have a checkbox incorporated, as in Figure 13-6.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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