LibreOffice Module vcl (master)  1
Public Member Functions | Protected Member Functions | List of all members
IconViewImpl Class Reference

#include <iconviewimpl.hxx>

Inheritance diagram for IconViewImpl:
Collaboration diagram for IconViewImpl:

Public Member Functions

 IconViewImpl (SvTreeListBox *pTreeListBox, SvTreeList *pTreeList, WinBits nWinStyle)
void KeyDown (bool bPageDown) override
void KeyUp (bool bPageUp) override
Point GetEntryPosition (const SvTreeListEntry *pEntry) const override
SvTreeListEntryGetClickedEntry (const Point &rPoint) const override
bool IsEntryInView (SvTreeListEntry *pEntry) const override
void Paint (vcl::RenderContext &rRenderContext, const tools::Rectangle &rRect) override
SvTreeListEntryGetEntry (const Point &rPoint) const override
void UpdateAll (bool bInvalidateCompleteView) override
bool KeyInput (const KeyEvent &) override
void InvalidateEntry (long nId) const override
- Public Member Functions inherited from SvImpLBox
 SvImpLBox (SvTreeListBox *pView, SvTreeList *, WinBits nWinStyle)
virtual ~SvImpLBox ()
void Clear ()
void SetStyle (WinBits i_nWinStyle)
void SetNoAutoCurEntry (bool b)
void SetModel (SvTreeList *pModel)
void EntryInserted (SvTreeListEntry *)
void RemovingEntry (SvTreeListEntry *pEntry)
void EntryRemoved ()
void MovingEntry (SvTreeListEntry *pEntry)
void EntryMoved (SvTreeListEntry *pEntry)
void TreeInserted (SvTreeListEntry *pEntry)
void EntryExpanded (SvTreeListEntry *pEntry)
void EntryCollapsed (SvTreeListEntry *pEntry)
void CollapsingEntry (SvTreeListEntry *pEntry)
void EntrySelected (SvTreeListEntry *pEntry, bool bSelect)
void MouseButtonDown (const MouseEvent &)
void MouseButtonUp (const MouseEvent &)
void MouseMove (const MouseEvent &)
void Resize ()
void GetFocus ()
void LoseFocus ()
void SetEntryHeight ()
void InvalidateEntry (SvTreeListEntry *)
void RecalcFocusRect ()
void SelectEntry (SvTreeListEntry *pEntry, bool bSelect)
void SetDragDropMode (DragDropMode eDDMode)
void SetSelectionMode (SelectionMode eSelMode)
SvTreeListEntryGetCurEntry () const
void SetCurEntry (SvTreeListEntry *)
void MakeVisible (SvTreeListEntry *pEntry, bool bMoveToTop=false)
void ScrollToAbsPos (long nPos)
void PaintDDCursor (SvTreeListEntry *pEntry, bool bShow)
ImageimplGetImageLocation (const ImageType _eType)
void SetExpandedNodeBmp (const Image &_rImg)
void SetCollapsedNodeBmp (const Image &_rImg)
const ImageGetExpandedNodeBmp ()
const ImageGetCollapsedNodeBmp ()
const ImageGetDontKnowNodeBmp ()
void SetDefaultEntryExpBmp (const Image &_rImg)
void SetDefaultEntryColBmp (const Image &_rImg)
const ImageGetDefaultEntryExpBmp ()
const ImageGetDefaultEntryColBmp ()
const SizeGetOutputSize () const
void Command (const CommandEvent &rCEvt)
void Invalidate ()
void DestroyAnchor ()
void SelAllDestrAnch (bool bSelect, bool bDestroyAnchor=true, bool bSingleSelToo=false)
void ShowCursor (bool bShow)
bool RequestHelp (const HelpEvent &rHEvt)
void EndSelection ()
bool IsNodeButton (const Point &rPosPixel, SvTreeListEntry *pEntry) const
void SetUpdateMode (bool bMode)
bool GetUpdateMode () const
tools::Rectangle GetClipRegionRect () const
bool HasHorScrollBar () const
void ShowFocusRect (const SvTreeListEntry *pEntry)
void CallEventListeners (VclEventId nEvent, void *pData=nullptr)
bool IsSelectable (const SvTreeListEntry *pEntry)
void SetForceMakeVisible (bool bEnable)

Protected Member Functions

long GetEntryLine (const SvTreeListEntry *pEntry) const override
void CursorUp () override
void CursorDown () override
void PageDown (sal_uInt16 nDelta) override
void PageUp (sal_uInt16 nDelta) override
void SyncVerThumb () override
void AdjustScrollBars (Size &rSize) override
- Protected Member Functions inherited from SvImpLBox
tools::Rectangle GetVisibleArea () const
void SetCursor (SvTreeListEntry *pEntry, bool bForceNoSelect=false)
void BeginScroll ()
void EndScroll ()
void PositionScrollBars (Size &rOSize, sal_uInt16 nMask)
void FindMostRight ()
void FillView ()
void ShowVerSBar ()
void StopUserEvent ()
 DECL_LINK (MyUserEvent, void *, void)

Additional Inherited Members

- Static Public Member Functions inherited from SvImpLBox
static const ImageGetDefaultExpandedNodeImage ()
static const ImageGetDefaultCollapsedNodeImage ()
- Protected Attributes inherited from SvImpLBox
VclPtr< SvTreeListBoxm_pView
VclPtr< ScrollBarm_aVerSBar
Size m_aOutputSize
LBoxFlags m_nFlags
WinBits m_nStyle
bool mbNoAutoCurEntry
SelectionEngine m_aSelEng
sal_uLong m_nVisibleCount
bool m_bInVScrollHdl: 1
bool m_bSimpleTravel: 1
long m_nNextVerVisSize
long m_nNodeBmpTabDistance

Detailed Description

Definition at line 28 of file iconviewimpl.hxx.

Constructor & Destructor Documentation

IconViewImpl::IconViewImpl ( SvTreeListBox pTreeListBox,
SvTreeList pTreeList,
WinBits  nWinStyle 

Definition at line 25 of file iconviewimpl.cxx.

Member Function Documentation

void IconViewImpl::AdjustScrollBars ( Size rSize)
void IconViewImpl::CursorDown ( )
void IconViewImpl::CursorUp ( )
SvTreeListEntry * IconViewImpl::GetClickedEntry ( const Point rPoint) const
SvTreeListEntry * IconViewImpl::GetEntry ( const Point rPoint) const
long IconViewImpl::GetEntryLine ( const SvTreeListEntry pEntry) const

Reimplemented from SvImpLBox.

Definition at line 210 of file iconviewimpl.cxx.

References SvListView::GetVisiblePos(), SvImpLBox::m_pStartEntry, and SvImpLBox::m_pView.

Referenced by IsEntryInView().

Point IconViewImpl::GetEntryPosition ( const SvTreeListEntry pEntry) const
void IconViewImpl::InvalidateEntry ( long  nId) const
bool IconViewImpl::IsEntryInView ( SvTreeListEntry pEntry) const
void IconViewImpl::KeyDown ( bool  bPageDown)
bool IconViewImpl::KeyInput ( const KeyEvent rKEvt)
void IconViewImpl::KeyUp ( bool  bPageUp)
void IconViewImpl::PageDown ( sal_uInt16  nDelta)
void IconViewImpl::PageUp ( sal_uInt16  nDelta)
void IconViewImpl::Paint ( vcl::RenderContext rRenderContext,
const tools::Rectangle rRect 
void IconViewImpl::SyncVerThumb ( )
void IconViewImpl::UpdateAll ( bool  bInvalidateCompleteView)

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