List/Tree Widget
From Adobe Open Source Wiki
(Difference between revisions)
| Line 1: | Line 1: | ||
The tricky part of a tree controller/view is that you have a controller/view on a sequence - you need to figure out how to communicate requests for changes to the sequence - what those requests are - and how to communicate a change in the visible portion of the sequence to the view. | The tricky part of a tree controller/view is that you have a controller/view on a sequence - you need to figure out how to communicate requests for changes to the sequence - what those requests are - and how to communicate a change in the visible portion of the sequence to the view. | ||
| + | |||
| + | This documentation assumes each node in the tree is homogeneous. That is, there are no checks in place to see if a node is allowed to have a certain request performed on it. | ||
== Related Docs == | == Related Docs == | ||
| Line 9: | Line 11: | ||
{| border='1' | {| border='1' | ||
| − | ! Request Type !! Single | + | ! Request Type !! Single Object? !! Multi Object? !! Single Target? !! Multi-Target? |
|- | |- | ||
| Add || Y || Y || Y || N | | Add || Y || Y || Y || N | ||
| + | |- | ||
| + | | Delete || Y || Y || N || N | ||
| + | |- | ||
| + | | Insert || Y || Y || Y || N | ||
| + | |- | ||
| + | | Move || Y || Y || Y || N | ||
|} | |} | ||
Revision as of 21:03, 9 January 2007
The tricky part of a tree controller/view is that you have a controller/view on a sequence - you need to figure out how to communicate requests for changes to the sequence - what those requests are - and how to communicate a change in the visible portion of the sequence to the view.
This documentation assumes each node in the tree is homogeneous. That is, there are no checks in place to see if a node is allowed to have a certain request performed on it.
Related Docs
Win32 Tree Control API Documentation: x Carbon Tree Control API Documentation: x
Request Types
| Request Type | Single Object? | Multi Object? | Single Target? | Multi-Target? |
|---|---|---|---|---|
| Add | Y | Y | Y | N |
| Delete | Y | Y | N | N |
| Insert | Y | Y | Y | N |
| Move | Y | Y | Y | N |