LibreOffice Module winaccessibility (master) 1
|
AccDescendantManagerEventListener is inherited from AccComponentEventListener. More...
#include <AccDescendantManagerEventListener.hxx>
Public Member Functions | |
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... | |
Private Attributes | |
std::vector< com::sun::star::accessibility::XAccessible * > | m_aUnselectedChildrenForDeletion |
Additional Inherited Members | |
Protected Attributes inherited from AccEventListener | |
css::uno::Reference< css::accessibility::XAccessible > | m_xAccessible |
AccObjectManagerAgent * | pAgent |
AccDescendantManagerEventListener is inherited from AccComponentEventListener.
It handles the events generated by active descendant controls. They are: TREE, LIST, and TABLE. It defines the procedure of specific event handling related with active descendant components and provides the detailed support for some related methods.
Definition at line 36 of file AccDescendantManagerEventListener.hxx.
AccDescendantManagerEventListener::AccDescendantManagerEventListener | ( | css::accessibility::XAccessible * | pAcc, |
AccObjectManagerAgent * | Agent | ||
) |
Definition at line 35 of file AccDescendantManagerEventListener.cxx.
|
overridevirtual |
Definition at line 40 of file AccDescendantManagerEventListener.cxx.
|
virtual |
handle the CHILD event
oldValue | the child to be deleted |
newValue | the child to be added |
Definition at line 83 of file AccDescendantManagerEventListener.cxx.
References CHILD_ADDED, CHILD_REMOVED, AccObjectManagerAgent::DeleteAccObj(), AccObjectManagerAgent::DeleteChildrenAccObj(), AccObjectManagerAgent::InsertAccObj(), AccObjectManagerAgent::InsertChildrenAccObj(), AccEventListener::m_xAccessible, AccObjectManagerAgent::NotifyAccEvent(), and AccEventListener::pAgent.
Referenced by notifyEvent().
|
virtual |
Definition at line 152 of file AccDescendantManagerEventListener.cxx.
References AccObjectManagerAgent::DeleteAccObj(), AccObjectManagerAgent::DeleteChildrenAccObj(), AccObjectManagerAgent::InsertAccObj(), AccObjectManagerAgent::InsertChildrenAccObj(), AccEventListener::m_xAccessible, and AccEventListener::pAgent.
Referenced by notifyEvent().
|
virtual |
Definition at line 210 of file AccDescendantManagerEventListener.cxx.
References AccEventListener::m_xAccessible, AccObjectManagerAgent::NotifyAccEvent(), NotifyChildEvent(), AccEventListener::pAgent, and SELECTION_CHANGED_ADD.
Referenced by notifyEvent().
|
virtual |
handle the SELECTION_CHANGED event
Definition at line 118 of file AccDescendantManagerEventListener.cxx.
References AccObjectManagerAgent::DecreaseState(), AccObjectManagerAgent::GetRole(), AccObjectManagerAgent::IncreaseState(), AccEventListener::m_xAccessible, AccObjectManagerAgent::NotifyAccEvent(), AccEventListener::pAgent, and SELECTION_CHANGED.
Referenced by notifyEvent().
|
virtual |
Definition at line 219 of file AccDescendantManagerEventListener.cxx.
References AccEventListener::m_xAccessible, AccObjectManagerAgent::NotifyAccEvent(), NotifyChildEvent(), AccEventListener::pAgent, and SELECTION_CHANGED_REMOVE.
Referenced by notifyEvent().
|
virtual |
Definition at line 228 of file AccDescendantManagerEventListener.cxx.
References AccEventListener::m_xAccessible, AccObjectManagerAgent::NotifyAccEvent(), NotifyChildEvent(), AccEventListener::pAgent, and SELECTION_CHANGED_WITHIN.
Referenced by notifyEvent().
bool AccDescendantManagerEventListener::NotifyChildEvent | ( | UnoMSAAEvent | eWinEvent, |
const css::uno::Any & | Value | ||
) |
Definition at line 176 of file AccDescendantManagerEventListener.cxx.
References AccObjectManagerAgent::DeleteAccObj(), AccObjectManagerAgent::IsStateManageDescendant(), m_aUnselectedChildrenForDeletion, AccEventListener::m_xAccessible, AccObjectManagerAgent::NotifyAccEvent(), AccEventListener::pAgent, SELECTION_CHANGED_REMOVE, and Value.
Referenced by HandleSelectionChangedAddEvent(), HandleSelectionChangedRemoveEvent(), and HandleSelectionChangedWithinEvent().
|
overridevirtual |
Uno's event notifier when event is captured.
AccessibleEventObject | the event object which contains information about event |
Reimplemented from AccComponentEventListener.
Reimplemented in AccListEventListener, AccTableEventListener, and AccTreeEventListener.
Definition at line 48 of file AccDescendantManagerEventListener.cxx.
References aEvent, HandleChildChangedEvent(), HandleChildChangedNoFocusEvent(), HandleSelectionChangedAddEvent(), HandleSelectionChangedEvent(), HandleSelectionChangedRemoveEvent(), HandleSelectionChangedWithinEvent(), and AccComponentEventListener::notifyEvent().
Referenced by AccListEventListener::notifyEvent(), AccTableEventListener::notifyEvent(), and AccTreeEventListener::notifyEvent().
|
private |
Definition at line 39 of file AccDescendantManagerEventListener.hxx.
Referenced by NotifyChildEvent().