List/Tree Widget

From Adobe Open Source Wiki
Revision as of 21:35, 9 January 2007 by FosterBrereton (Talk | contribs)

Jump to: navigation, search

The tricky part of a tree controller/view is that you have a controller/view on a sequence. You need to figure out:

  1. How to communicate requests for changes to the sequence
  2. What those requests are
  3. How to communicate a change in the visible portion of the sequence to the view

Related Docs

Win32 Tree Control API Documentation (Tree View)

Carbon Tree Control API Documentation (Data Browser)

Request Types

Request Type Description Single Node? Multi Node? Parent Target?
Insert Create a new node in the tree Y Y Y
Delete Remove a node from the tree Y Y N
Move Change the parent of a node in the tree Y Y Y
Visible Update Notify the user of the sequence of nodes that are currently visible in the view Y Y N