LibreOffice Module svx (master) 1
Public Member Functions | Private Attributes | List of all members
SvxSelectionModeControl Class Referencefinal

Status bar control that indicates or changes the selection mode (standard / block / etc.) More...

#include <selctrl.hxx>

Inheritance diagram for SvxSelectionModeControl:
[legend]
Collaboration diagram for SvxSelectionModeControl:
[legend]

Public Member Functions

 SFX_DECL_STATUSBAR_CONTROL ()
 
 SvxSelectionModeControl (sal_uInt16 nSlotId, sal_uInt16 nId, StatusBar &rStb)
 
virtual void StateChangedAtStatusBarControl (sal_uInt16 nSID, SfxItemState eState, const SfxPoolItem *pState) override
 
virtual bool MouseButtonDown (const MouseEvent &rEvt) override
 
virtual void Paint (const UserDrawEvent &rEvt) override
 
virtual void Click () override
 
- Public Member Functions inherited from SfxStatusBarControl
virtual void SAL_CALL acquire () noexcept override
 
virtual void SAL_CALL release () noexcept override
 
 SfxStatusBarControl (sal_uInt16 nSlotID, sal_uInt16 nId, StatusBar &rBar)
 
virtual ~SfxStatusBarControl () override
 
sal_uInt16 GetSlotId () const
 
sal_uInt16 GetId () const
 
StatusBarGetStatusBar () const
 

Private Attributes

sal_uInt16 mnState
 
Image maImages [4]
 
bool mbFeatureEnabled
 

Additional Inherited Members

- Static Public Member Functions inherited from SfxStatusBarControl
static rtl::Reference< SfxStatusBarControlCreateControl (sal_uInt16 nSlotID, sal_uInt16 nId, StatusBar *pBar, SfxModule const *)
 
static void RegisterStatusBarControl (SfxModule *, const SfxStbCtrlFactory &)
 
- Protected Member Functions inherited from SfxStatusBarControl
virtual void SAL_CALL statusChanged (const css::frame::FeatureStateEvent &Event) override
 
virtual sal_Bool SAL_CALL mouseButtonDown (const css::awt::MouseEvent &aMouseEvent) override
 
virtual sal_Bool SAL_CALL mouseMove (const css::awt::MouseEvent &aMouseEvent) override
 
virtual sal_Bool SAL_CALL mouseButtonUp (const css::awt::MouseEvent &aMouseEvent) override
 
virtual void SAL_CALL command (const css::awt::Point &aPos, ::sal_Int32 nCommand, sal_Bool bMouseEvent, const css::uno::Any &aData) override
 
virtual void SAL_CALL paint (const css::uno::Reference< css::awt::XGraphics > &xGraphics, const css::awt::Rectangle &rOutputRectangle, ::sal_Int32 nStyle) override
 
virtual void SAL_CALL click (const css::awt::Point &aPos) override
 
virtual void SAL_CALL doubleClick (const css::awt::Point &aPos) override
 
virtual void StateChangedAtStatusBarControl (sal_uInt16 nSID, SfxItemState eState, const SfxPoolItem *pState)
 
virtual void Click ()
 
virtual void Command (const CommandEvent &rCEvt)
 
virtual bool MouseButtonDown (const MouseEvent &)
 
virtual bool MouseMove (const MouseEvent &)
 
virtual bool MouseButtonUp (const MouseEvent &)
 
virtual void Paint (const UserDrawEvent &rUDEvt)
 
- Static Protected Member Functions inherited from SfxStatusBarControl
static sal_uInt16 convertAwtToVCLMouseButtons (sal_Int16 nAwtMouseButtons)
 

Detailed Description

Status bar control that indicates or changes the selection mode (standard / block / etc.)

Definition at line 27 of file selctrl.hxx.

Constructor & Destructor Documentation

◆ SvxSelectionModeControl()

SvxSelectionModeControl::SvxSelectionModeControl ( sal_uInt16  nSlotId,
sal_uInt16  nId,
StatusBar rStb 
)

Member Function Documentation

◆ Click()

void SvxSelectionModeControl::Click ( )
overridevirtual

Reimplemented from SfxStatusBarControl.

Definition at line 174 of file selctrl.cxx.

◆ MouseButtonDown()

bool SvxSelectionModeControl::MouseButtonDown ( const MouseEvent rEvt)
overridevirtual

◆ Paint()

void SvxSelectionModeControl::Paint ( const UserDrawEvent rEvt)
overridevirtual

◆ SFX_DECL_STATUSBAR_CONTROL()

SvxSelectionModeControl::SFX_DECL_STATUSBAR_CONTROL ( )

◆ StateChangedAtStatusBarControl()

void SvxSelectionModeControl::StateChangedAtStatusBarControl ( sal_uInt16  nSID,
SfxItemState  eState,
const SfxPoolItem pState 
)
overridevirtual

Member Data Documentation

◆ maImages

Image SvxSelectionModeControl::maImages[4]
private

Definition at line 42 of file selctrl.hxx.

Referenced by Paint().

◆ mbFeatureEnabled

bool SvxSelectionModeControl::mbFeatureEnabled
private

Definition at line 43 of file selctrl.hxx.

Referenced by MouseButtonDown(), Paint(), and StateChangedAtStatusBarControl().

◆ mnState

sal_uInt16 SvxSelectionModeControl::mnState
private

Definition at line 41 of file selctrl.hxx.

Referenced by MouseButtonDown(), Paint(), and StateChangedAtStatusBarControl().


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