LibreOffice Module vcl (master)  1
Public Member Functions | Static Public Member Functions | Protected Attributes | List of all members
SvLBoxItem Class Referenceabstract

#include <treelistbox.hxx>

Inheritance diagram for SvLBoxItem:

Public Member Functions

 SvLBoxItem ()
virtual ~SvLBoxItem ()
virtual SvLBoxItemType GetType () const =0
virtual int CalcWidth (const SvTreeListBox *pView) const
int GetWidth (const SvTreeListBox *pView, const SvTreeListEntry *pEntry) const
int GetWidth (const SvTreeListBox *pView, const SvViewDataEntry *pData, sal_uInt16 nItemPos) const
int GetHeight (const SvTreeListBox *pView, const SvTreeListEntry *pEntry) const
void Enable (bool bEnabled)
virtual void Paint (const Point &rPos, SvTreeListBox &rOutDev, vcl::RenderContext &rRenderContext, const SvViewDataEntry *pView, const SvTreeListEntry &rEntry)=0
virtual void InitViewData (SvTreeListBox *pView, SvTreeListEntry *pEntry, SvViewDataItem *pViewData=nullptr)=0
virtual std::unique_ptr< SvLBoxItemClone (SvLBoxItem const *pSource) const =0

Static Public Member Functions

static int GetHeight (const SvViewDataEntry *pData, sal_uInt16 nItemPos)

Protected Attributes

bool mbDisabled

Detailed Description

Definition at line 119 of file treelistbox.hxx.

Constructor & Destructor Documentation

SvLBoxItem::SvLBoxItem ( )

Definition at line 324 of file treelistbox.cxx.

References false.

SvLBoxItem::~SvLBoxItem ( )

Definition at line 329 of file treelistbox.cxx.

Member Function Documentation

int SvLBoxItem::CalcWidth ( const SvTreeListBox pView) const

Reimplemented in SvLBoxString.

Definition at line 369 of file treelistbox.cxx.

Referenced by GetWidth().

virtual std::unique_ptr<SvLBoxItem> SvLBoxItem::Clone ( SvLBoxItem const *  pSource) const
pure virtual
void SvLBoxItem::Enable ( bool  bEnabled)

Definition at line 133 of file treelistbox.hxx.

Referenced by SalInstanceTreeView::set_sensitive().

int SvLBoxItem::GetHeight ( const SvTreeListBox pView,
const SvTreeListEntry pEntry 
) const
int SvLBoxItem::GetHeight ( const SvViewDataEntry pData,
sal_uInt16  nItemPos 

Definition at line 363 of file treelistbox.cxx.

References SvViewDataEntry::GetItem(), and SvViewDataItem::mnHeight.

virtual SvLBoxItemType SvLBoxItem::GetType ( ) const
pure virtual
int SvLBoxItem::GetWidth ( const SvTreeListBox pView,
const SvTreeListEntry pEntry 
) const
int SvLBoxItem::GetWidth ( const SvTreeListBox pView,
const SvViewDataEntry pData,
sal_uInt16  nItemPos 
) const
virtual void SvLBoxItem::InitViewData ( SvTreeListBox pView,
SvTreeListEntry pEntry,
SvViewDataItem pViewData = nullptr 
pure virtual
virtual void SvLBoxItem::Paint ( const Point rPos,
SvTreeListBox rOutDev,
vcl::RenderContext rRenderContext,
const SvViewDataEntry pView,
const SvTreeListEntry rEntry 
pure virtual

Member Data Documentation

bool SvLBoxItem::mbDisabled

Definition at line 122 of file treelistbox.hxx.

Referenced by SvLBoxString::Paint().

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