LibreOffice Module winaccessibility (master) 1
Public Member Functions | List of all members
AccMenuEventListener Class Reference

AccMenuEventListener is inherited from AccComponentEventListener. More...

#include <AccMenuEventListener.hxx>

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

Public Member Functions

 AccMenuEventListener (css::accessibility::XAccessible *pAcc, AccObjectManagerAgent *Agent)
 
virtual ~AccMenuEventListener () override
 
virtual void SAL_CALL notifyEvent (const css::accessibility::AccessibleEventObject &aEvent) override
 Uno's event notifier when event is captured. More...
 
virtual void HandleChildChangedEvent (css::uno::Any oldValue, css::uno::Any newValue)
 handle the CHILD event More...
 
virtual void HandleSelectionChangedEventNoArgs ()
 handle the SELECTION_CHANGED event More...
 
virtual void FireStatePropertyChange (sal_Int64 state, bool set) override
 handle the Menu_popup event More...
 
- Public Member Functions inherited from AccComponentEventListener
 AccComponentEventListener (css::accessibility::XAccessible *pAcc, AccObjectManagerAgent *Agent)
 
virtual ~AccComponentEventListener () override
 
virtual void SAL_CALL notifyEvent (const css::accessibility::AccessibleEventObject &aEvent) override
 Uno's event notifier when event is captured. More...
 
virtual void HandleValueChangedEvent (css::uno::Any oldValue, css::uno::Any newValue)
 handle the VALUE_CHANGED event More...
 
virtual void HandleActionChangedEvent ()
 handle the NAME_CHANGED event More...
 
virtual void HandleTextChangedEvent (css::uno::Any oldValue, css::uno::Any newValue)
 handle the TEXT_CHANGED event More...
 
virtual void HandleCaretChangedEvent (css::uno::Any oldValue, css::uno::Any newValue)
 handle the CARET_CHANGED event More...
 
virtual void SetComponentState (sal_Int64 state, bool enable) override
 set the new state and fire the MSAA event More...
 
virtual void FireStatePropertyChange (sal_Int64 state, bool set) override
 fire the MSAA state changed event More...
 
virtual void FireStateFocusedChange (bool enable) override
 handle the focused event More...
 
void HandleSelectionChangedEventNoArgs ()
 
void HandleTextSelectionChangedEvent ()
 
- Public Member Functions inherited from AccEventListener
 AccEventListener (css::accessibility::XAccessible *pAcc, AccObjectManagerAgent *Agent)
 
virtual ~AccEventListener () override
 
virtual void SAL_CALL disposing (const css::lang::EventObject &Source) override
 this method is invoked before listener is disposed More...
 
virtual void SAL_CALL notifyEvent (const css::accessibility::AccessibleEventObject &aEvent) override
 Uno's event notifier when event is captured. More...
 
virtual void HandleNameChangedEvent (css::uno::Any name)
 handle the NAME_CHANGED event More...
 
virtual void HandleDescriptionChangedEvent ()
 handle the DESCRIPTION_CHANGED event More...
 
virtual void HandleStateChangedEvent (css::uno::Any oldValue, css::uno::Any newValue)
 handle the STATE_CHANGED event More...
 
virtual void SetComponentState (sal_Int64 state, bool enable)
 set the new state and fire the MSAA event More...
 
virtual void FireStatePropertyChange (sal_Int64 state, bool set)
 fire the MSAA state changed event More...
 
virtual void FireStateFocusedChange (bool enable)
 handle the focused event More...
 
virtual void HandleBoundrectChangedEvent ()
 handle the BOUNDRECT_CHANGED event More...
 
virtual void HandleVisibleDataChangedEvent ()
 handle the VISIBLE_DATA_CHANGED event More...
 
virtual short GetRole ()
 get the role of accessible object which is observed More...
 
virtual short GetParentRole ()
 get the role of accessible parent object which is observed More...
 
void RemoveMeFromBroadcaster (bool isNotifyDestroy)
 remove the listener from accessible object More...
 

Additional Inherited Members

- Protected Attributes inherited from AccEventListener
css::uno::Reference< css::accessibility::XAccessible > m_xAccessible
 
AccObjectManagerAgentpAgent
 

Detailed Description

AccMenuEventListener is inherited from AccComponentEventListener.

It handles the events generated by container controls. The accessible role is: MENU It defines the procedure of specific event handling related with menus and provides the detailed support for some related methods.

Definition at line 33 of file AccMenuEventListener.hxx.

Constructor & Destructor Documentation

◆ AccMenuEventListener()

AccMenuEventListener::AccMenuEventListener ( css::accessibility::XAccessible *  pAcc,
AccObjectManagerAgent Agent 
)

Definition at line 35 of file AccMenuEventListener.cxx.

◆ ~AccMenuEventListener()

AccMenuEventListener::~AccMenuEventListener ( )
overridevirtual

Definition at line 38 of file AccMenuEventListener.cxx.

Member Function Documentation

◆ FireStatePropertyChange()

void AccMenuEventListener::FireStatePropertyChange ( sal_Int64  state,
bool  set 
)
overridevirtual

◆ HandleChildChangedEvent()

void AccMenuEventListener::HandleChildChangedEvent ( css::uno::Any  oldValue,
css::uno::Any  newValue 
)
virtual

◆ HandleSelectionChangedEventNoArgs()

void AccMenuEventListener::HandleSelectionChangedEventNoArgs ( )
virtual

◆ notifyEvent()

void AccMenuEventListener::notifyEvent ( const css::accessibility::AccessibleEventObject &  aEvent)
overridevirtual

Uno's event notifier when event is captured.

Parameters
AccessibleEventObjectthe event object which contains information about event

Reimplemented from AccComponentEventListener.

Definition at line 46 of file AccMenuEventListener.cxx.

References aEvent, HandleChildChangedEvent(), and AccComponentEventListener::notifyEvent().


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