LibreOffice Module vcl (master)  1
Public Member Functions | Private Attributes | Friends | List of all members
SvViewDataEntry Class Reference

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 SvViewDataItemGetItem (size_t nPos) const
 
SvViewDataItemGetItem (size_t nPos)
 

Private Attributes

std::vector< SvViewDataItemmaItems
 
sal_uLong nVisPos
 
bool mbSelected:1
 
bool mbHighlighted:1
 
bool mbExpanded:1
 
bool mbFocused:1
 
bool mbSelectable:1
 
bool mbDragTarget:1
 

Friends

class SvTreeList
 

Detailed Description

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 47 of file viewdataentry.hxx.

Constructor & Destructor Documentation

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.

Member Function Documentation

const SvViewDataItem & SvViewDataEntry::GetItem ( size_t  nPos) const
SvViewDataItem & SvViewDataEntry::GetItem ( size_t  nPos)

Definition at line 82 of file viewdataentry.cxx.

References maItems.

bool SvViewDataEntry::HasFocus ( ) const
inline

Definition at line 68 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().

bool SvViewDataEntry::IsDragTarget ( ) const
inline

Definition at line 70 of file viewdataentry.hxx.

References mbDragTarget.

Referenced by SvTreeListBox::PaintEntry1().

bool SvViewDataEntry::IsExpanded ( ) const
inline

Definition at line 67 of file viewdataentry.hxx.

References mbExpanded.

Referenced by SvLBoxContextBmp::Paint().

bool SvViewDataEntry::IsHighlighted ( ) const
inline

Definition at line 66 of file viewdataentry.hxx.

References mbHighlighted.

Referenced by IconView::PaintEntry(), and SvTreeListBox::PaintEntry1().

bool SvViewDataEntry::IsSelectable ( ) const
inline
bool SvViewDataEntry::IsSelected ( ) const
inline
void SvViewDataEntry::SetDragTarget ( bool  bDragTarget)
inline

Definition at line 75 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(), and SvListView::Impl::ActionRemoving().

void SvViewDataEntry::SetFocus ( bool  bFocus)

Definition at line 51 of file viewdataentry.cxx.

References mbFocused.

Referenced by SvImpLBox::SetCursor().

void SvViewDataEntry::SetSelectable ( bool  bSelectable)
void SvViewDataEntry::SetSelected ( bool  bSelected)

Definition at line 56 of file viewdataentry.cxx.

References mbHighlighted, and mbSelected.

Referenced by SvListView::SelectListEntry().

Friends And Related Function Documentation

friend class SvTreeList
friend

Definition at line 49 of file viewdataentry.hxx.

Member Data Documentation

std::vector<SvViewDataItem> SvViewDataEntry::maItems
private

Definition at line 51 of file viewdataentry.hxx.

Referenced by GetItem(), and Init().

bool SvViewDataEntry::mbDragTarget
private

Definition at line 58 of file viewdataentry.hxx.

Referenced by IsDragTarget(), and SetDragTarget().

bool SvViewDataEntry::mbExpanded
private

Definition at line 55 of file viewdataentry.hxx.

Referenced by IsExpanded(), and SetExpanded().

bool SvViewDataEntry::mbFocused
private

Definition at line 56 of file viewdataentry.hxx.

Referenced by HasFocus(), and SetFocus().

bool SvViewDataEntry::mbHighlighted
private

Definition at line 54 of file viewdataentry.hxx.

Referenced by IsHighlighted(), and SetSelected().

bool SvViewDataEntry::mbSelectable
private

Definition at line 57 of file viewdataentry.hxx.

Referenced by IsSelectable(), and SetSelectable().

bool SvViewDataEntry::mbSelected
private

Definition at line 53 of file viewdataentry.hxx.

Referenced by IsSelected(), and SetSelected().

sal_uLong SvViewDataEntry::nVisPos
private

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