LibreOffice Module comphelper (master) 1
|
a helper class for implementing an AccessibleContext which at the same time supports an XAccessibleExtendedComponent interface. More...
#include <accessiblecomponenthelper.hxx>
Public Member Functions | |
virtual sal_Bool SAL_CALL | containsPoint (const css::awt::Point &aPoint) override |
virtual css::awt::Point SAL_CALL | getLocation () override |
virtual css::awt::Point SAL_CALL | getLocationOnScreen () override |
virtual css::awt::Size SAL_CALL | getSize () override |
virtual css::awt::Rectangle SAL_CALL | getBounds () override |
![]() | |
virtual void SAL_CALL | addAccessibleEventListener (const css::uno::Reference< css::accessibility::XAccessibleEventListener > &xListener) override |
virtual void SAL_CALL | removeAccessibleEventListener (const css::uno::Reference< css::accessibility::XAccessibleEventListener > &xListener) override |
virtual sal_Int32 SAL_CALL | getAccessibleChildCount () override=0 |
virtual css::uno::Reference< css::accessibility::XAccessible > SAL_CALL | getAccessibleChild (sal_Int32 i) override=0 |
virtual css::uno::Reference< css::accessibility::XAccessible > SAL_CALL | getAccessibleParent () override=0 |
virtual sal_Int16 SAL_CALL | getAccessibleRole () override=0 |
virtual OUString SAL_CALL | getAccessibleDescription () override=0 |
virtual OUString SAL_CALL | getAccessibleName () override=0 |
virtual css::uno::Reference< css::accessibility::XAccessibleRelationSet > SAL_CALL | getAccessibleRelationSet () override=0 |
virtual sal_Int64 SAL_CALL | getAccessibleStateSet () override=0 |
virtual OUString SAL_CALL | getAccessibleId () override |
virtual sal_Int32 SAL_CALL | getAccessibleIndexInParent () override |
default implementation for retrieving the index of this object within the parent More... | |
virtual css::lang::Locale SAL_CALL | getLocale () override |
default implementation for retrieving the locale More... | |
![]() | |
WeakAggComponentImplHelper2 (::osl::Mutex &rMutex) SAL_NOEXCEPT | |
virtual css::uno::Any SAL_CALL | queryInterface (css::uno::Type const &rType) SAL_OVERRIDE |
virtual css::uno::Any SAL_CALL | queryAggregation (css::uno::Type const &rType) SAL_OVERRIDE |
virtual void SAL_CALL | acquire () SAL_NOEXCEPT SAL_OVERRIDE |
virtual void SAL_CALL | release () SAL_NOEXCEPT SAL_OVERRIDE |
virtual css::uno::Sequence< css::uno::Type > SAL_CALL | getTypes () SAL_OVERRIDE |
virtual css::uno::Sequence< sal_Int8 > SAL_CALL | getImplementationId () SAL_OVERRIDE |
![]() | |
virtual css::uno::Any SAL_CALL | queryInterface (css::uno::Type const &rType) SAL_OVERRIDE |
virtual css::uno::Sequence< css::uno::Type > SAL_CALL | getTypes () SAL_OVERRIDE |
virtual css::uno::Sequence< sal_Int8 > SAL_CALL | getImplementationId () SAL_OVERRIDE |
Protected Member Functions | |
OAccessibleExtendedComponentHelper () | |
![]() | |
OCommonAccessibleComponent () | |
see the respective base class ctor for an extensive comment on this, please More... | |
virtual | ~OCommonAccessibleComponent () override |
virtual css::awt::Rectangle | implGetBounds ()=0 |
implements the calculation of the bounding rectangle - still waiting to be overwritten More... | |
bool | containsPoint (const css::awt::Point &aPoint) |
non-virtual versions of the methods which can be implemented using <method>implGetBounds</method> note: getLocationOnScreen relies on a valid parent (XAccessibleContext::getParent()->getAccessibleContext()), which itself implements XAccessibleComponent More... | |
css::awt::Point | getLocation () |
css::awt::Point | getLocationOnScreen () |
css::awt::Size | getSize () |
css::awt::Rectangle | getBounds () |
![]() | |
virtual | ~OAccessibleContextHelper () override |
OAccessibleContextHelper () | |
void | lateInit (const css::uno::Reference< css::accessibility::XAccessible > &_rxAccessible) |
late construction More... | |
css::uno::Reference< css::accessibility::XAccessible > | getAccessibleCreator () const |
retrieves the creator previously set with <method>lateInit</method> More... | |
virtual void SAL_CALL | disposing () override |
void | NotifyAccessibleEvent (const sal_Int16 _nEventId, const css::uno::Any &_rOldValue, const css::uno::Any &_rNewValue) |
notifies all AccessibleEventListeners of a certain event More... | |
bool | isAlive () const |
checks whether the object is alive (returns <TRUE> then) or disposed More... | |
void | ensureAlive () const |
checks for being alive. If the object is already disposed (i.e. not alive), an exception is thrown. More... | |
void | ensureDisposed () |
ensures that the object is disposed. More... | |
css::uno::Reference< css::accessibility::XAccessibleContext > | implGetParentContext () |
shortcut for retrieving the context of the parent (returned by getAccessibleParent) More... | |
::osl::Mutex & | GetMutex () |
![]() | |
~ImplHelper1 () SAL_NOEXCEPT | |
Additional Inherited Members | |
![]() | |
mutable::osl::Mutex | m_aMutex |
a helper class for implementing an AccessibleContext which at the same time supports an XAccessibleExtendedComponent interface.
Definition at line 115 of file accessiblecomponenthelper.hxx.
|
protected |
Definition at line 134 of file accessiblecomponenthelper.cxx.
|
overridevirtual |
Definition at line 144 of file accessiblecomponenthelper.cxx.
References comphelper::OCommonAccessibleComponent::containsPoint().
|
overridevirtual |
Definition at line 168 of file accessiblecomponenthelper.cxx.
References comphelper::OCommonAccessibleComponent::getBounds().
|
overridevirtual |
Definition at line 150 of file accessiblecomponenthelper.cxx.
References comphelper::OCommonAccessibleComponent::getLocation().
|
overridevirtual |
Definition at line 156 of file accessiblecomponenthelper.cxx.
References comphelper::OCommonAccessibleComponent::getLocationOnScreen().
|
overridevirtual |
Definition at line 162 of file accessiblecomponenthelper.cxx.
References comphelper::OCommonAccessibleComponent::getSize().