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

AccFrameEventListener is inherited from AccEventListener. More...

#include <AccFrameEventListener.hxx>

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

Public Member Functions

 AccFrameEventListener (css::accessibility::XAccessible *pAcc, AccObjectManagerAgent *Agent)
 
virtual ~AccFrameEventListener () 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 SetComponentState (sal_Int64 state, bool enable) override
 set the new state and fire the MSAA event More...
 
- 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

AccFrameEventListener is inherited from AccEventListener.

It handles the events generated by Dialogs. The accessible roles are: FRAME and ROOT_PANE. It defines the procedure of specific event handling related with frames and provides the detailed support for some related methods.

Definition at line 33 of file AccFrameEventListener.hxx.

Constructor & Destructor Documentation

◆ AccFrameEventListener()

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

Definition at line 39 of file AccFrameEventListener.cxx.

◆ ~AccFrameEventListener()

AccFrameEventListener::~AccFrameEventListener ( )
overridevirtual

Definition at line 44 of file AccFrameEventListener.cxx.

Member Function Documentation

◆ HandleChildChangedEvent()

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

◆ notifyEvent()

void AccFrameEventListener::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 AccEventListener.

Definition at line 52 of file AccFrameEventListener.cxx.

References aEvent, AccEventListener::HandleBoundrectChangedEvent(), HandleChildChangedEvent(), AccEventListener::HandleVisibleDataChangedEvent(), and AccEventListener::notifyEvent().

◆ SetComponentState()

void AccFrameEventListener::SetComponentState ( sal_Int64  state,
bool  enable 
)
overridevirtual

set the new state and fire the MSAA event

Parameters
statenew state id
enabletrue if state is set, false if state is unset

Reimplemented from AccEventListener.

Definition at line 121 of file AccFrameEventListener.cxx.

References AccObjectManagerAgent::DecreaseState(), AccObjectManagerAgent::IncreaseState(), AccEventListener::m_xAccessible, and AccEventListener::pAgent.


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