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:
[legend]

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)
 
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 127 of file treelistbox.hxx.

Constructor & Destructor Documentation

SvLBoxItem::SvLBoxItem ( )

Definition at line 297 of file treelistbox.cxx.

SvLBoxItem::~SvLBoxItem ( )
virtual

Definition at line 302 of file treelistbox.cxx.

Member Function Documentation

int SvLBoxItem::CalcWidth ( const SvTreeListBox pView) const
virtual

Reimplemented in SvLBoxString.

Definition at line 342 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)
inline

Definition at line 141 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 
)
static

Definition at line 336 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 
)
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
protected

Definition at line 130 of file treelistbox.hxx.

Referenced by SvLBoxString::Paint().


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