LibreOffice Module vcl (master) 1
|
View-dependent data for a tree list entry created in the virtual function SvTreeListBox::CreateViewData(). More...
#include <viewdataentry.hxx>
Public Member Functions | |
SvViewDataEntry () | |
SvViewDataEntry (const SvViewDataEntry &) | |
~SvViewDataEntry () | |
bool | IsSelected () const |
bool | IsHighlighted () const |
bool | IsExpanded () const |
bool | HasFocus () const |
bool | IsSelectable () const |
bool | IsDragTarget () const |
void | SetFocus (bool bFocus) |
void | SetSelected (bool bSelected) |
void | SetExpanded (bool bExpanded) |
void | SetSelectable (bool bSelectable) |
void | SetDragTarget (bool bDragTarget) |
void | Init (size_t nSize) |
const SvViewDataItem & | GetItem (size_t nPos) const |
SvViewDataItem & | GetItem (size_t nPos) |
Private Attributes | |
std::vector< SvViewDataItem > | maItems |
sal_uInt32 | nVisPos |
bool | mbSelected:1 |
bool | mbHighlighted:1 |
bool | mbExpanded:1 |
bool | mbFocused:1 |
bool | mbSelectable:1 |
bool | mbDragTarget:1 |
Friends | |
class | SvTreeList |
View-dependent data for a tree list entry created in the virtual function SvTreeListBox::CreateViewData().
The item array contains the same number of items as that of the items in its corresponding tree list entry.
When an entry is selected, it is logically selected and visually highlighted. When an entry is only highlighted, it looks visually highlighted, but not logically selected.
Definition at line 46 of file viewdataentry.hxx.
SvViewDataEntry::SvViewDataEntry | ( | ) |
Definition at line 22 of file viewdataentry.cxx.
SvViewDataEntry::SvViewDataEntry | ( | const SvViewDataEntry & | rData | ) |
Definition at line 33 of file viewdataentry.cxx.
SvViewDataEntry::~SvViewDataEntry | ( | ) |
Definition at line 44 of file viewdataentry.cxx.
References nVisPos.
SvViewDataItem & SvViewDataEntry::GetItem | ( | size_t | nPos | ) |
Definition at line 82 of file viewdataentry.cxx.
const SvViewDataItem & SvViewDataEntry::GetItem | ( | size_t | nPos | ) | const |
Definition at line 77 of file viewdataentry.cxx.
Referenced by SvTreeListBox::GetViewDataItem(), and SvTreeListBox::InitViewData().
|
inline |
Definition at line 67 of file viewdataentry.hxx.
References mbFocused.
Referenced by SvTreeListBox::FillAccessibleEntryStateSet(), and SvImpLBox::SetCursor().
void SvViewDataEntry::Init | ( | size_t | nSize | ) |
Definition at line 72 of file viewdataentry.cxx.
References maItems.
Referenced by SvTreeListBox::InitViewData().
|
inline |
Definition at line 69 of file viewdataentry.hxx.
References mbDragTarget.
Referenced by SvTreeListBox::PaintEntry1().
|
inline |
Definition at line 66 of file viewdataentry.hxx.
References mbExpanded.
Referenced by SvLBoxContextBmp::Paint().
|
inline |
Definition at line 65 of file viewdataentry.hxx.
References mbHighlighted.
Referenced by IconView::PaintEntry(), and SvTreeListBox::PaintEntry1().
|
inline |
Definition at line 68 of file viewdataentry.hxx.
References mbSelectable.
Referenced by SvImpLBox::IsSelectable(), SvListView::SelectListEntry(), and SvImpLBox::SetCursor().
|
inline |
Definition at line 64 of file viewdataentry.hxx.
References mbSelected.
Referenced by SvListView::Impl::ActionRemoving(), SvListView::SelectListEntry(), and SvImpLBox::SetCursor().
|
inline |
Definition at line 74 of file viewdataentry.hxx.
References mbDragTarget.
Referenced by SvImpLBox::PaintDDCursor().
void SvViewDataEntry::SetExpanded | ( | bool | bExpanded | ) |
Definition at line 62 of file viewdataentry.cxx.
References mbExpanded.
Referenced by SvListView::Impl::ActionMoving(), SvListView::Impl::ActionRemoving(), SvListView::CollapseListEntry(), and SvListView::ExpandListEntry().
void SvViewDataEntry::SetFocus | ( | bool | bFocus | ) |
Definition at line 51 of file viewdataentry.cxx.
References mbFocused.
Referenced by SvImpLBox::SetCursor().
void SvViewDataEntry::SetSelectable | ( | bool | bSelectable | ) |
Definition at line 67 of file viewdataentry.cxx.
References mbSelectable.
Referenced by SalInstanceTreeView::do_insert(), SalInstanceTreeView::ExpandRow(), SalInstanceIconView::insert_separator(), and SalInstanceTreeView::set_children_on_demand().
void SvViewDataEntry::SetSelected | ( | bool | bSelected | ) |
Definition at line 56 of file viewdataentry.cxx.
References mbHighlighted, and mbSelected.
Referenced by SvListView::SelectListEntry().
|
friend |
Definition at line 48 of file viewdataentry.hxx.
|
private |
Definition at line 50 of file viewdataentry.hxx.
|
private |
Definition at line 57 of file viewdataentry.hxx.
Referenced by IsDragTarget(), and SetDragTarget().
|
private |
Definition at line 54 of file viewdataentry.hxx.
Referenced by IsExpanded(), and SetExpanded().
|
private |
Definition at line 55 of file viewdataentry.hxx.
Referenced by HasFocus(), and SetFocus().
|
private |
Definition at line 53 of file viewdataentry.hxx.
Referenced by IsHighlighted(), and SetSelected().
|
private |
Definition at line 56 of file viewdataentry.hxx.
Referenced by IsSelectable(), and SetSelectable().
|
private |
Definition at line 52 of file viewdataentry.hxx.
Referenced by IsSelected(), and SetSelected().
|
private |
Definition at line 51 of file viewdataentry.hxx.
Referenced by SvTreeList::GetVisibleCount(), SvTreeList::GetVisiblePos(), and ~SvViewDataEntry().