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

#include <commandevent.hxx>

Collaboration diagram for CommandEvent:
[legend]

Public Member Functions

 CommandEvent ()
 
 CommandEvent (const Point &rMousePos, CommandEventId nCmd, bool bMEvt=false, const void *pCmdData=nullptr)
 
CommandEventId GetCommand () const
 
const PointGetMousePosPixel () const
 
bool IsMouseEvent () const
 
void * GetEventData () const
 
const CommandExtTextInputDataGetExtTextInputData () const
 
const CommandWheelDataGetWheelData () const
 
const CommandScrollDataGetAutoScrollData () const
 
const CommandModKeyDataGetModKeyData () const
 
const CommandDialogDataGetDialogData () const
 
CommandMediaDataGetMediaData () const
 
const CommandSelectionChangeDataGetSelectionChangeData () const
 
const CommandGestureSwipeDataGetGestureSwipeData () const
 
const CommandGestureLongPressDataGetLongPressData () const
 
const CommandGesturePanDataGetGesturePanData () const
 
const CommandGestureZoomDataGetGestureZoomData () const
 
const CommandGestureRotateDataGetGestureRotateData () const
 

Private Attributes

Point maPos
 
void * mpData
 
CommandEventId mnCommand
 
bool mbMouseEvent
 

Detailed Description

Definition at line 70 of file commandevent.hxx.

Constructor & Destructor Documentation

◆ CommandEvent() [1/2]

CommandEvent::CommandEvent ( )

Definition at line 102 of file commandevent.cxx.

References mbMouseEvent, mnCommand, mpData, and NONE.

◆ CommandEvent() [2/2]

CommandEvent::CommandEvent ( const Point rMousePos,
CommandEventId  nCmd,
bool  bMEvt = false,
const void *  pCmdData = nullptr 
)

Definition at line 109 of file commandevent.cxx.

References mbMouseEvent, mnCommand, and mpData.

Member Function Documentation

◆ GetAutoScrollData()

const CommandScrollData * CommandEvent::GetAutoScrollData ( ) const

◆ GetCommand()

CommandEventId CommandEvent::GetCommand ( ) const
inline

◆ GetDialogData()

const CommandDialogData * CommandEvent::GetDialogData ( ) const

Definition at line 150 of file commandevent.cxx.

References mnCommand, mpData, and ShowDialog.

◆ GetEventData()

void * CommandEvent::GetEventData ( ) const
inline

◆ GetExtTextInputData()

const CommandExtTextInputData * CommandEvent::GetExtTextInputData ( ) const

Definition at line 118 of file commandevent.cxx.

References ExtTextInput, mnCommand, and mpData.

Referenced by TextView::Command(), and Edit::Command().

◆ GetGesturePanData()

const CommandGesturePanData * CommandEvent::GetGesturePanData ( ) const

Definition at line 190 of file commandevent.cxx.

References GesturePan, mnCommand, and mpData.

Referenced by vcl::Window::HandleScrollCommand().

◆ GetGestureRotateData()

const CommandGestureRotateData * CommandEvent::GetGestureRotateData ( ) const

Definition at line 206 of file commandevent.cxx.

References GestureRotate, mnCommand, and mpData.

◆ GetGestureSwipeData()

const CommandGestureSwipeData * CommandEvent::GetGestureSwipeData ( ) const

Definition at line 174 of file commandevent.cxx.

References GestureSwipe, mnCommand, and mpData.

◆ GetGestureZoomData()

const CommandGestureZoomData * CommandEvent::GetGestureZoomData ( ) const

Definition at line 198 of file commandevent.cxx.

References GestureZoom, mnCommand, and mpData.

◆ GetLongPressData()

const CommandGestureLongPressData * CommandEvent::GetLongPressData ( ) const

Definition at line 182 of file commandevent.cxx.

References GestureLongPress, mnCommand, and mpData.

◆ GetMediaData()

CommandMediaData * CommandEvent::GetMediaData ( ) const

Definition at line 158 of file commandevent.cxx.

References Media, mnCommand, and mpData.

◆ GetModKeyData()

const CommandModKeyData * CommandEvent::GetModKeyData ( ) const

Definition at line 142 of file commandevent.cxx.

References mnCommand, ModKeyChange, and mpData.

◆ GetMousePosPixel()

const Point & CommandEvent::GetMousePosPixel ( ) const
inline

◆ GetSelectionChangeData()

const CommandSelectionChangeData * CommandEvent::GetSelectionChangeData ( ) const

Definition at line 166 of file commandevent.cxx.

References mnCommand, mpData, and SelectionChange.

Referenced by Edit::Command().

◆ GetWheelData()

const CommandWheelData * CommandEvent::GetWheelData ( ) const

◆ IsMouseEvent()

bool CommandEvent::IsMouseEvent ( ) const
inline

Member Data Documentation

◆ maPos

Point CommandEvent::maPos
private

Definition at line 73 of file commandevent.hxx.

◆ mbMouseEvent

bool CommandEvent::mbMouseEvent
private

Definition at line 76 of file commandevent.hxx.

Referenced by CommandEvent().

◆ mnCommand

CommandEventId CommandEvent::mnCommand
private

◆ mpData

void* CommandEvent::mpData
private

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