LibreOffice Module vcl (master)  1
Public Member Functions | Private Attributes | List of all members
MouseEvent Class Reference

#include <event.hxx>

Collaboration diagram for MouseEvent:
[legend]

Public Member Functions

 MouseEvent ()
 
 MouseEvent (const Point &rPos, sal_uInt16 nClicks=1, MouseEventModifiers nMode=MouseEventModifiers::NONE, sal_uInt16 nButtons=0, sal_uInt16 nModifier=0)
 
const PointGetPosPixel () const
 
MouseEventModifiers GetMode () const
 
sal_uInt16 GetClicks () const
 
bool IsEnterWindow () const
 
bool IsLeaveWindow () const
 
bool IsSynthetic () const
 
bool IsModifierChanged () const
 
sal_uInt16 GetButtons () const
 
bool IsLeft () const
 
bool IsMiddle () const
 
bool IsRight () const
 
sal_uInt16 GetModifier () const
 
bool IsShift () const
 
bool IsMod1 () const
 
bool IsMod2 () const
 
bool IsMod3 () const
 

Private Attributes

Point maPos
 
MouseEventModifiers mnMode
 
sal_uInt16 mnClicks
 
sal_uInt16 mnCode
 

Detailed Description

Definition at line 103 of file event.hxx.

Constructor & Destructor Documentation

MouseEvent::MouseEvent ( )
inlineexplicit

Definition at line 152 of file event.hxx.

References mnClicks, mnCode, mnMode, and NONE.

MouseEvent::MouseEvent ( const Point rPos,
sal_uInt16  nClicks = 1,
MouseEventModifiers  nMode = MouseEventModifiers::NONE,
sal_uInt16  nButtons = 0,
sal_uInt16  nModifier = 0 
)
inlineexplicit

Definition at line 159 of file event.hxx.

References mnClicks, mnCode, and mnMode.

Member Function Documentation

sal_uInt16 MouseEvent::GetButtons ( ) const
inline
sal_uInt16 MouseEvent::GetClicks ( ) const
inline
MouseEventModifiers MouseEvent::GetMode ( ) const
inline
sal_uInt16 MouseEvent::GetModifier ( ) const
inline
const Point& MouseEvent::GetPosPixel ( ) const
inline

Definition at line 117 of file event.hxx.

Referenced by SvImpLBox::ButtonDownCheckCtrl(), SvImpLBox::ButtonDownCheckExpand(), SvImpLBox::ButtonUpCheckCtrl(), DockingWindow::EventNotify(), vcl::Window::EventNotify(), SelectionEngine::GetMousePosPixel(), ToolBox::ImplHandleMouseButtonUp(), ImplHandleMouseEvent(), ToolBox::ImplHandleMouseMove(), MenuFloatingWindow::ImplHighlightItem(), ImplBorderWindowView::ImplMouseMove(), SplitWindow::ImplStartSplit(), vcl::ImplTranslateMouseEvent(), ImplWindowFrameProc(), SpinField::MouseButtonDown(), MenuButton::MouseButtonDown(), SpinButton::MouseButtonDown(), Splitter::MouseButtonDown(), Slider::MouseButtonDown(), ScrollBar::MouseButtonDown(), TabControl::MouseButtonDown(), StatusBar::MouseButtonDown(), MenuBarWindow::MouseButtonDown(), PushButton::MouseButtonDown(), SplitWindow::MouseButtonDown(), TextView::MouseButtonDown(), Edit::MouseButtonDown(), Calendar::MouseButtonDown(), ImplListBoxWindow::MouseButtonDown(), HeaderBar::MouseButtonDown(), SvImpLBox::MouseButtonDown(), SvxIconChoiceCtrl_Impl::MouseButtonDown(), ToolBox::MouseButtonDown(), ImplStdBorderWindowView::MouseButtonDown(), RadioButton::MouseButtonDown(), CheckBox::MouseButtonDown(), MenuFloatingWindow::MouseButtonUp(), Edit::MouseButtonUp(), SvImpLBox::MouseButtonUp(), SvxIconChoiceCtrl_Impl::MouseButtonUp(), SpinField::MouseMove(), SpinButton::MouseMove(), ImplWheelWindow::MouseMove(), MenuFloatingWindow::MouseMove(), MenuBarWindow::MouseMove(), SplitWindow::MouseMove(), Calendar::MouseMove(), ImplListBoxWindow::MouseMove(), HeaderBar::MouseMove(), SvImpLBox::MouseMove(), SvxIconChoiceCtrl_Impl::MouseMove(), ToolBox::MouseMove(), SvImpLBox::MouseMoveCheckCtrl(), Application::PostMouseEvent(), SelectionEngine::SelMouseButtonDown(), SelectionEngine::SelMouseButtonUp(), SelectionEngine::SelMouseMove(), Splitter::Tracking(), Slider::Tracking(), ScrollBar::Tracking(), PushButton::Tracking(), SplitWindow::Tracking(), ImplDockingWindowWrapper::Tracking(), Edit::Tracking(), Calendar::Tracking(), ImplListBoxWindow::Tracking(), HeaderBar::Tracking(), ImplStdBorderWindowView::Tracking(), DockingWindow::Tracking(), RadioButton::Tracking(), and CheckBox::Tracking().

bool MouseEvent::IsEnterWindow ( ) const
inline
bool MouseEvent::IsLeaveWindow ( ) const
inline
bool MouseEvent::IsLeft ( ) const
inline
bool MouseEvent::IsMiddle ( ) const
inline

Definition at line 135 of file event.hxx.

References MOUSE_MIDDLE.

Referenced by ScrollBar::MouseButtonDown(), TextView::MouseButtonUp(), and Edit::MouseButtonUp().

bool MouseEvent::IsMod1 ( ) const
inline
bool MouseEvent::IsMod2 ( ) const
inline
bool MouseEvent::IsMod3 ( ) const
inline

Definition at line 148 of file event.hxx.

References KEY_MOD3.

bool MouseEvent::IsModifierChanged ( ) const
inline
bool MouseEvent::IsRight ( ) const
inline
bool MouseEvent::IsShift ( ) const
inline
bool MouseEvent::IsSynthetic ( ) const
inline

Member Data Documentation

Point MouseEvent::maPos
private

Definition at line 106 of file event.hxx.

sal_uInt16 MouseEvent::mnClicks
private

Definition at line 108 of file event.hxx.

Referenced by MouseEvent().

sal_uInt16 MouseEvent::mnCode
private

Definition at line 109 of file event.hxx.

Referenced by MouseEvent().

MouseEventModifiers MouseEvent::mnMode
private

Definition at line 107 of file event.hxx.

Referenced by MouseEvent().


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