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:
[legend]
Collaboration diagram for IconViewImpl:
[legend]

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)
 
SvTreeListEntryGetCurrentEntry () const
 
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
 
SvTreeListEntrym_pCursor
 
SvTreeListEntrym_pStartEntry
 
ImplSVEventm_nCurUserEvent
 
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)
overrideprotectedvirtual
void IconViewImpl::CursorDown ( )
overrideprotectedvirtual
void IconViewImpl::CursorUp ( )
overrideprotectedvirtual
SvTreeListEntry * IconViewImpl::GetClickedEntry ( const Point rPoint) const
overridevirtual
SvTreeListEntry * IconViewImpl::GetEntry ( const Point rPoint) const
overridevirtual
long IconViewImpl::GetEntryLine ( const SvTreeListEntry pEntry) const
overrideprotectedvirtual

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
overridevirtual
void IconViewImpl::InvalidateEntry ( long  nId) const
overridevirtual
bool IconViewImpl::IsEntryInView ( SvTreeListEntry pEntry) const
overridevirtual
void IconViewImpl::KeyDown ( bool  bPageDown)
overridevirtual
bool IconViewImpl::KeyInput ( const KeyEvent rKEvt)
overridevirtual
void IconViewImpl::KeyUp ( bool  bPageUp)
overridevirtual
void IconViewImpl::PageDown ( sal_uInt16  nDelta)
overrideprotectedvirtual
void IconViewImpl::PageUp ( sal_uInt16  nDelta)
overrideprotectedvirtual
void IconViewImpl::Paint ( vcl::RenderContext rRenderContext,
const tools::Rectangle rRect 
)
overridevirtual
void IconViewImpl::SyncVerThumb ( )
overrideprotectedvirtual
void IconViewImpl::UpdateAll ( bool  bInvalidateCompleteView)
overridevirtual

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