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

AccListEventListener is inherited from AccDescendantManagerEventListener. More...

#include <AccListEventListener.hxx>

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

Public Member Functions

 AccListEventListener (css::accessibility::XAccessible *pAcc, AccObjectManagerAgent *Agent)
 
virtual ~AccListEventListener () override
 
virtual void SAL_CALL notifyEvent (const css::accessibility::AccessibleEventObject &aEvent) override
 Uno's event notifier when event is captured. More...
 
virtual void HandleActiveDescendantChangedEvent (css::uno::Any oldValue, css::uno::Any newValue)
 handle the ACTIVE_DESCENDANT_CHANGED event More...
 
virtual void HandleValueChangedEvent (css::uno::Any oldValue, css::uno::Any newValue) override
 handle the VALUE_CHANGED event More...
 
- Public Member Functions inherited from AccDescendantManagerEventListener
 AccDescendantManagerEventListener (css::accessibility::XAccessible *pAcc, AccObjectManagerAgent *Agent)
 
virtual ~AccDescendantManagerEventListener () override
 
virtual void SAL_CALL notifyEvent (const css::accessibility::AccessibleEventObject &aEvent) override
 Uno's event notifier when event is captured. More...
 
virtual void HandleSelectionChangedEvent (css::uno::Any oldValue, css::uno::Any newValue)
 handle the SELECTION_CHANGED event More...
 
virtual void HandleChildChangedEvent (css::uno::Any oldValue, css::uno::Any newValue)
 handle the CHILD event More...
 
virtual void HandleChildChangedNoFocusEvent (css::uno::Any oldValue, css::uno::Any newValue)
 
bool NotifyChildEvent (UnoMSAAEvent eWinEvent, const css::uno::Any &Value)
 
virtual void HandleSelectionChangedAddEvent (const css::uno::Any &oldValue, const css::uno::Any &newValue)
 
virtual void HandleSelectionChangedRemoveEvent (const css::uno::Any &oldValue, const css::uno::Any &newValue)
 
virtual void HandleSelectionChangedWithinEvent (const css::uno::Any &oldValue, const css::uno::Any &newValue)
 
- 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

AccListEventListener is inherited from AccDescendantManagerEventListener.

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

Definition at line 33 of file AccListEventListener.hxx.

Constructor & Destructor Documentation

◆ AccListEventListener()

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

Definition at line 35 of file AccListEventListener.cxx.

◆ ~AccListEventListener()

AccListEventListener::~AccListEventListener ( )
overridevirtual

Definition at line 40 of file AccListEventListener.cxx.

Member Function Documentation

◆ HandleActiveDescendantChangedEvent()

void AccListEventListener::HandleActiveDescendantChangedEvent ( css::uno::Any  oldValue,
css::uno::Any  newValue 
)
virtual

◆ HandleValueChangedEvent()

void AccListEventListener::HandleValueChangedEvent ( css::uno::Any  oldValue,
css::uno::Any  newValue 
)
overridevirtual

handle the VALUE_CHANGED event

Parameters
oldValuethe old value of the source of event
newValuethe new value of the source of event

Reimplemented from AccComponentEventListener.

Definition at line 114 of file AccListEventListener.cxx.

References AccEventListener::GetParentRole(), AccObjectManagerAgent::GetParentXAccessible(), AccEventListener::m_xAccessible, AccObjectManagerAgent::NotifyAccEvent(), OBJECT_VALUECHANGE, AccEventListener::pAgent, and AccObjectManagerAgent::UpdateValue().

Referenced by notifyEvent().

◆ notifyEvent()

void AccListEventListener::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 AccDescendantManagerEventListener.

Definition at line 48 of file AccListEventListener.cxx.

References aEvent, HandleActiveDescendantChangedEvent(), HandleValueChangedEvent(), and AccDescendantManagerEventListener::notifyEvent().


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