LibreOffice Module winaccessibility (master) 1
|
AccListEventListener is inherited from AccDescendantManagerEventListener. More...
#include <AccListEventListener.hxx>
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 |
AccObjectManagerAgent * | pAgent |
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.
AccListEventListener::AccListEventListener | ( | css::accessibility::XAccessible * | pAcc, |
AccObjectManagerAgent * | Agent | ||
) |
Definition at line 35 of file AccListEventListener.cxx.
|
overridevirtual |
Definition at line 40 of file AccListEventListener.cxx.
|
virtual |
handle the ACTIVE_DESCENDANT_CHANGED event
oldValue | the child to lose active |
newValue | the child to get active |
Definition at line 76 of file AccListEventListener.cxx.
References ACTIVE_DESCENDANT_CHANGED, AccObjectManagerAgent::DeleteAccObj(), AccObjectManagerAgent::IncreaseState(), AccObjectManagerAgent::InsertAccObj(), AccEventListener::m_xAccessible, AccObjectManagerAgent::NotifyAccEvent(), AccEventListener::pAgent, and AccObjectManagerAgent::UpdateState().
Referenced by notifyEvent().
|
overridevirtual |
handle the VALUE_CHANGED event
oldValue | the old value of the source of event |
newValue | the 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().
|
overridevirtual |
Uno's event notifier when event is captured.
AccessibleEventObject | the 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().