ListView Support Tasks

Functional Spec Use Cases Unit Tests Technical Spec Implementation
Task Summary Owner
Functional Spec Use Cases Unit Tests Technical Spec Implementation
BListItem Ulrich Wimboeck
Functional Spec Use Cases Unit Tests Technical Spec Implementation
BStringItem Greg Gelfond
Functional Spec Use Cases Unit Tests Technical Spec Implementation
BListView Ulrich Wimboeck
Functional Spec Use Cases Unit Tests Technical Spec Implementation
BOutlineListView Ulrich Wimboeck





Functional Spec Use Cases Unit Tests Technical Spec Implementation
Task Details
BListItem Class
Functional Spec Use Cases Unit Tests Technical Spec Implementation
BListItem(uint32 outlineLevel = 0, bool expanded = true);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
BListItem(BMessage* data);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual ~BListItem();
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual status_t Archive(BMessage* data, bool deep = true) const;
Functional Spec Use Cases Unit Tests Technical Spec Implementation
float Height() const;
Functional Spec Use Cases Unit Tests Technical Spec Implementation
float Width() const;
Functional Spec Use Cases Unit Tests Technical Spec Implementation
bool IsSelected() const;
Functional Spec Use Cases Unit Tests Technical Spec Implementation
void Select();
Functional Spec Use Cases Unit Tests Technical Spec Implementation
void Deselect();
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual void SetEnabled(bool on);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
bool IsEnabled() const;
Functional Spec Use Cases Unit Tests Technical Spec Implementation
void SetHeight(float height);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
void SetWidth(float width);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual void DrawItem(BView* owner, BRect bounds, bool complete = false) = 0;
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual void Update(BView* owner, const BFont* font);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual status_t Perform(perform_code d, void* arg);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
bool IsExpanded() const;
Functional Spec Use Cases Unit Tests Technical Spec Implementation
void SetExpanded(bool expanded);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
uint32 OutlineLevel() const;
Functional Spec Use Cases Unit Tests Technical Spec Implementation
bool IsItemVisible() const;
Functional Spec Use Cases Unit Tests Technical Spec Implementation
void SetItemVisible(bool);
BStringItem Class
Functional Spec Use Cases Unit Tests Technical Spec Implementation
BStringItem(const char* text, uint32 outlineLevel = 0, bool expanded = true);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual ~BStringItem();
Functional Spec Use Cases Unit Tests Technical Spec Implementation
BStringItem(BMessage* data);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
static BArchivable* Instantiate(BMessage* data);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual status_t Archive(BMessage* data, bool deep = true) const;
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual void DrawItem(BView* owner, BRect frame, bool complete = false);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual void SetText(const char* text);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
const char* Text() const;
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual void Update(BView* owner, const BFont* font);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual status_t Perform(perform_code d, void* arg);
BListView Class
Functional Spec Use Cases Unit Tests Technical Spec Implementation
BListView(BRect frame, const char *name, list_view_type type = B_SINGLE_SELECTION_LIST, uint32 resizeMask = B_FOLLOW_LEFT | B_FOLLOW_TOP, uint32 flags = B_WILL_DRAW | B_FRAME_EVENTS | B_NAVIGABLE);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
BListView(BMessage *data);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual ~BListView();
Functional Spec Use Cases Unit Tests Technical Spec Implementation
static BArchivable *Instantiate(BMessage *data);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual status_t Archive(BMessage *data, bool deep = true) const;
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual void Draw(BRect updateRect);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual void MessageReceived(BMessage *msg);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual void MouseDown(BPoint where);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual void KeyDown(const char *bytes, int32 numBytes);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual void MakeFocus(bool state = true);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual void FrameResized(float newWidth, float newHeight);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual void TargetedByScrollView(BScrollView *scroller);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
void ScrollTo(float x, float y);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual void ScrollTo(BPoint where);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual bool AddItem(BListItem *item);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual bool AddItem(BListItem *item, int32 atIndex);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual bool AddList(BList *newItems);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual bool AddList(BList *newItems, int32 atIndex);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual bool RemoveItem(BListItem *item);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual BListItem *RemoveItem(int32 index);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual bool RemoveItems(int32 index, int32 count);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual void SetSelectionMessage(BMessage *message);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual void SetInvocationMessage(BMessage *message);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
BMessage *SelectionMessage() const;
Functional Spec Use Cases Unit Tests Technical Spec Implementation
uint32 SelectionCommand() const;
Functional Spec Use Cases Unit Tests Technical Spec Implementation
BMessage *InvocationMessage() const;
Functional Spec Use Cases Unit Tests Technical Spec Implementation
uint32 InvocationCommand() const;
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual void SetListType(list_view_type type);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
list_view_type ListType() const;
Functional Spec Use Cases Unit Tests Technical Spec Implementation
BListItem *ItemAt(int32 index) const;
Functional Spec Use Cases Unit Tests Technical Spec Implementation
int32 IndexOf(BPoint point) const;
Functional Spec Use Cases Unit Tests Technical Spec Implementation
int32 IndexOf(BListItem *item) const;
Functional Spec Use Cases Unit Tests Technical Spec Implementation
BListItem *FirstItem() const;
Functional Spec Use Cases Unit Tests Technical Spec Implementation
BListItem *LastItem() const;
Functional Spec Use Cases Unit Tests Technical Spec Implementation
bool HasItem(BListItem *item) const;
Functional Spec Use Cases Unit Tests Technical Spec Implementation
int32 CountItems() const;
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual void MakeEmpty();
Functional Spec Use Cases Unit Tests Technical Spec Implementation
bool IsEmpty() const;
Functional Spec Use Cases Unit Tests Technical Spec Implementation
void DoForEach(bool (*func)(BListItem *));
Functional Spec Use Cases Unit Tests Technical Spec Implementation
void DoForEach(bool (*func)(BListItem *, void *), void *);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
const BListItem **Items() const;
Functional Spec Use Cases Unit Tests Technical Spec Implementation
void InvalidateItem(int32 index);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
void ScrollToSelection();
Functional Spec Use Cases Unit Tests Technical Spec Implementation
void Select(int32 index, bool extend = false);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
void Select(int32 from, int32 to, bool extend = false);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
bool IsItemSelected(int32 index) const;
Functional Spec Use Cases Unit Tests Technical Spec Implementation
int32 CurrentSelection(int32 index = 0) const;
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual status_t Invoke(BMessage *msg = NULL);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
void DeselectAll();
Functional Spec Use Cases Unit Tests Technical Spec Implementation
void DeselectExcept(int32 except_from, int32 except_to);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
void Deselect(int32 index);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual void SelectionChanged();
Functional Spec Use Cases Unit Tests Technical Spec Implementation
void SortItems(int (*cmp)(const void *, const void *));
Functional Spec Use Cases Unit Tests Technical Spec Implementation
bool SwapItems(int32 a, int32 b);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
bool MoveItem(int32 from, int32 to);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
bool ReplaceItem(int32 index, BListItem * item);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual void AttachedToWindow();
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual void FrameMoved(BPoint new_position);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
BRect ItemFrame(int32 index);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual BHandler *ResolveSpecifier(BMessage *msg, int32 index, BMessage *specifier, int32 form, const char *property);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual status_t GetSupportedSuites(BMessage *data);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual status_t Perform(perform_code d, void *arg);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual void WindowActivated(bool state);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual void MouseUp(BPoint pt);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual void MouseMoved(BPoint pt, uint32 code, const BMessage *msg);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual void DetachedFromWindow();
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual bool InitiateDrag(BPoint pt, int32 itemIndex, bool initialySelected);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual void ResizeToPreferred();
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual void GetPreferredSize(float *width, float *height);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual void AllAttached();
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual void AllDetached();
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual bool DoMiscellaneous(MiscCode code, MiscData * data);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual void DrawItem(BListItem *item, BRect itemRect, bool complete = false);
BOutlineListView Class
Functional Spec Use Cases Unit Tests Technical Spec Implementation
BOutlineListView(BRect frame, const char* name, list_view_type type = B_SINGLE_SELECTION_LIST, uint32 resizeMask = B_FOLLOW_LEFT | B_FOLLOW_TOP, uint32 flags = B_WILL_DRAW | B_FRAME_EVENTS | B_NAVIGABLE);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
BOutlineListView(BMessage* data);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual ~BOutlineListView();
Functional Spec Use Cases Unit Tests Technical Spec Implementation
static BArchivable* Instantiate(BMessage* data);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual status_t Archive(BMessage* data, bool deep = true) const;
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual void MouseDown(BPoint where);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual void KeyDown(const char* bytes, int32 numBytes);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual void FrameMoved(BPoint new_position);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual void FrameResized(float new_width, float new_height);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual void MouseUp(BPoint where);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual bool AddUnder(BListItem* item, BListItem* underItem);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual bool AddItem(BListItem* item);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual bool AddItem(BListItem* item, int32 fullListIndex);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual bool AddList(BList* newItems);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual bool AddList(BList* newItems, int32 fullListIndex);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual bool RemoveItem(BListItem* item);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual BListItem* RemoveItem(int32 fullListIndex);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual bool RemoveItems(int32 fullListIndex, int32 count);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
BListItem* FullListItemAt(int32 fullListIndex) const;
Functional Spec Use Cases Unit Tests Technical Spec Implementation
int32 FullListIndexOf(BPoint point) const;
Functional Spec Use Cases Unit Tests Technical Spec Implementation
int32 FullListIndexOf(BListItem* item) const;
Functional Spec Use Cases Unit Tests Technical Spec Implementation
BListItem* FullListFirstItem() const;
Functional Spec Use Cases Unit Tests Technical Spec Implementation
BListItem* FullListLastItem() const;
Functional Spec Use Cases Unit Tests Technical Spec Implementation
bool FullListHasItem(BListItem* item) const;
Functional Spec Use Cases Unit Tests Technical Spec Implementation
int32 FullListCountItems() const;
Functional Spec Use Cases Unit Tests Technical Spec Implementation
int32 FullListCurrentSelection(int32 index = 0) const;
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual void MakeEmpty();
Functional Spec Use Cases Unit Tests Technical Spec Implementation
bool FullListIsEmpty() const;
Functional Spec Use Cases Unit Tests Technical Spec Implementation
void FullListDoForEach(bool (*func)(BListItem* ));
Functional Spec Use Cases Unit Tests Technical Spec Implementation
void FullListDoForEach(bool (*func)(BListItem* , void* ), void*);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
BListItem* Superitem(const BListItem* item);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
void Expand(BListItem* item);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
void Collapse(BListItem* item);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
bool IsExpanded(int32 fullListIndex);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual BHandler* ResolveSpecifier(BMessage* msg, int32 index, BMessage* specifier, int32 form, const char* property);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual status_t GetSupportedSuites(BMessage* data);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual status_t Perform(perform_code d, void* arg);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual void ResizeToPreferred();
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual void GetPreferredSize(float* width, float* height);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual void MakeFocus(bool state = true);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual void AllAttached();
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual void AllDetached();
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual void DetachedFromWindow();
Functional Spec Use Cases Unit Tests Technical Spec Implementation
void FullListSortItems(int (*compareFunc)(const BListItem* , const BListItem* ));
Functional Spec Use Cases Unit Tests Technical Spec Implementation
void SortItemsUnder(BListItem* underItem, bool oneLevelOnly, int (*compareFunc)(const BListItem* , const BListItem*));
Functional Spec Use Cases Unit Tests Technical Spec Implementation
int32 CountItemsUnder(BListItem* under, bool oneLevelOnly) const;
Functional Spec Use Cases Unit Tests Technical Spec Implementation
BListItem* EachItemUnder(BListItem* underItem, bool oneLevelOnly, BListItem* (*eachFunc)(BListItem* , void* ), void* );
Functional Spec Use Cases Unit Tests Technical Spec Implementation
BListItem* ItemUnderAt(BListItem* underItem, bool oneLevelOnly, int32 index) const;
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual bool DoMiscellaneous(MiscCode code, MiscData* data);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual void MessageReceived(BMessage* );
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual void ExpandOrCollapse(BListItem* underItem, bool expand);





Legend
Functional Spec Functional Spec
Use Cases Use Cases
Unit Tests Unit Tests
Technical Spec Technical Spec
Implementation Implementation
Completed Completed

The OpenBeOS project is hosted by:

SourceForge Logo

Copyright © 2001-2002 OpenBeOS Project