DragSortableListView Class Reference

Inheritance diagram for DragSortableListView:

Inheritance graph
[legend]

Public Member Functions

 DragSortableListView (BRect frame, const char *name, list_view_type type=B_SINGLE_SELECTION_LIST, uint32 resizingMode=B_FOLLOW_LEFT|B_FOLLOW_TOP, uint32 flags=B_WILL_DRAW|B_NAVIGABLE|B_FRAME_EVENTS)
virtual ~DragSortableListView ()
virtual void Draw (BRect updateRect)
virtual bool InitiateDrag (BPoint point, int32 index, bool wasSelected)
virtual void MessageReceived (BMessage *message)
virtual void MouseMoved (BPoint where, uint32 transit, const BMessage *dragMessage)
virtual void MouseUp (BPoint where)
virtual void WindowActivated (bool active)
virtual void DrawItem (BListItem *item, BRect itemFrame, bool complete=false)
virtual void ModifiersChanged ()
virtual void MoveItems (BList &items, int32 toIndex)
virtual void CopyItems (BList &items, int32 toIndex)
virtual void RemoveItemList (BList &indices)
void RemoveSelected ()
int32 CountSelectedItems () const
virtual BListItem * CloneItem (int32 atIndex) const =0
virtual void DrawListItem (BView *owner, int32 index, BRect itemFrame) const =0
virtual void MakeDragMessage (BMessage *message) const =0

Protected Attributes

int32 fDropIndex

Constructor & Destructor Documentation

DragSortableListView::DragSortableListView ( BRect  frame,
const char *  name,
list_view_type  type = B_SINGLE_SELECTION_LIST,
uint32  resizingMode = B_FOLLOW_LEFT|B_FOLLOW_TOP,
uint32  flags = B_WILL_DRAW|B_NAVIGABLE|B_FRAME_EVENTS 
)

virtual DragSortableListView::~DragSortableListView (  )  [virtual]


Member Function Documentation

virtual void DragSortableListView::Draw ( BRect  updateRect  )  [virtual]

virtual bool DragSortableListView::InitiateDrag ( BPoint  point,
int32  index,
bool  wasSelected 
) [virtual]

virtual void DragSortableListView::MessageReceived ( BMessage *  message  )  [virtual]

Reimplemented in PlaylistView.

virtual void DragSortableListView::MouseMoved ( BPoint  where,
uint32  transit,
const BMessage *  dragMessage 
) [virtual]

virtual void DragSortableListView::MouseUp ( BPoint  where  )  [virtual]

virtual void DragSortableListView::WindowActivated ( bool  active  )  [virtual]

virtual void DragSortableListView::DrawItem ( BListItem *  item,
BRect  itemFrame,
bool  complete = false 
) [virtual]

virtual void DragSortableListView::ModifiersChanged (  )  [virtual]

virtual void DragSortableListView::MoveItems ( BList &  items,
int32  toIndex 
) [virtual]

Reimplemented in PlaylistView.

virtual void DragSortableListView::CopyItems ( BList &  items,
int32  toIndex 
) [virtual]

Reimplemented in PlaylistView.

virtual void DragSortableListView::RemoveItemList ( BList &  indices  )  [virtual]

Reimplemented in PlaylistView.

void DragSortableListView::RemoveSelected (  ) 

int32 DragSortableListView::CountSelectedItems (  )  const

virtual BListItem* DragSortableListView::CloneItem ( int32  atIndex  )  const [pure virtual]

Implemented in PlaylistView.

virtual void DragSortableListView::DrawListItem ( BView *  owner,
int32  index,
BRect  itemFrame 
) const [pure virtual]

Implemented in PlaylistView.

virtual void DragSortableListView::MakeDragMessage ( BMessage *  message  )  const [pure virtual]

Implemented in PlaylistView.


Field Documentation


The documentation for this class was generated from the following file:

Generated on Wed Mar 31 08:06:32 2010 for VLC by  doxygen 1.5.6