Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.

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

22.6. Summary

Drag-and-drop is interesting because it can be as involved as you want it to be. For the most part, Flex does all the hard work for you; you just need to intercept the points at which you want to interject custom business logic.

List-based components come with built-in support for doing most of the work, but you can trap none, some, or all of the D&D events. For non-List-based components, leverage the DragManager as your workhorse. Flex calls your drag-related event handlers and passes you the DragEvent object each time, giving you the information you need to work with.


  

You are currently reading a PREVIEW of this book.

                                                                                                                    

Get instant access to over $1 million worth of books and videos.

  

Start a Free Trial


  
  • Safari Books Online
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint