a tree view class
![]() | ARootItem : public ATreeItem a root item class
| ||||||||||
![]() | ATreeView (BRect frame, char const* name, ulong resizingMode = B_FOLLOW_LEFT|B_FOLLOW_TOP, ulong flags = B_WILL_DRAW|B_NAVIGABLE|B_FRAME_EVENTS) constructor, for description see BListView | ||||||||||
![]() | ~ATreeView () | ||||||||||
![]() | Root () returns a reference to the very root item | ||||||||||
![]() | Lock () locks the (attached to) window | ||||||||||
![]() | Unlock () unlocks the (attached to) window |
![]() | DrawItem (BRect updateRect,long index) for description see BListView | ||||||
![]() | MouseDown (BPoint point) as in BListView, right click brings up a popup menu | ||||||
![]() | KeyDown (ulong aChar) +, - | ||||||
implementation details
|
ATreeView is a class derived from BListView. It contains one instance of the ARootItem (see treeRoot), which is the very root of a tree to be displayed. The treeRoot itself is not visible. Every its child item is a visible root of a subtree. This way the view can contain several visible trees, while maintaining only one.
this page has been generated automatically by doc++
(c)opyright by Malte Zöckler, Roland Wunderling