base class encapsulating common functionality for the helper classes implementing the XAccessibleComponent respectively XAccessibleExtendendComponent
More...
#include <accessiblecomponenthelper.hxx>
|
virtual | ~OCommonAccessibleComponent () override |
|
| OCommonAccessibleComponent () |
|
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, sal_Int32 nIndexHint=-1) |
| 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 () |
|
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 () |
|
base class encapsulating common functionality for the helper classes implementing the XAccessibleComponent respectively XAccessibleExtendendComponent
Definition at line 48 of file accessiblecomponenthelper.hxx.
◆ ~OCommonAccessibleComponent()
comphelper::OCommonAccessibleComponent::~OCommonAccessibleComponent |
( |
| ) |
|
|
overrideprotectedvirtual |
◆ OCommonAccessibleComponent()
comphelper::OCommonAccessibleComponent::OCommonAccessibleComponent |
( |
| ) |
|
|
protected |
◆ addAccessibleEventListener()
void SAL_CALL comphelper::OCommonAccessibleComponent::addAccessibleEventListener |
( |
const css::uno::Reference< css::accessibility::XAccessibleEventListener > & |
xListener | ) |
|
|
overridevirtual |
◆ containsPoint()
bool comphelper::OCommonAccessibleComponent::containsPoint |
( |
const css::awt::Point & |
aPoint | ) |
|
|
protected |
◆ disposing()
void SAL_CALL comphelper::OCommonAccessibleComponent::disposing |
( |
| ) |
|
|
overrideprotectedvirtual |
◆ ensureAlive()
void comphelper::OCommonAccessibleComponent::ensureAlive |
( |
| ) |
const |
|
protected |
◆ ensureDisposed()
void comphelper::OCommonAccessibleComponent::ensureDisposed |
( |
| ) |
|
|
protected |
◆ getAccessibleChild()
virtual css::uno::Reference< css::accessibility::XAccessible > SAL_CALL comphelper::OCommonAccessibleComponent::getAccessibleChild |
( |
sal_Int64 |
i | ) |
|
|
overridepure virtual |
◆ getAccessibleChildCount()
virtual sal_Int64 SAL_CALL comphelper::OCommonAccessibleComponent::getAccessibleChildCount |
( |
| ) |
|
|
overridepure virtual |
◆ getAccessibleCreator()
Reference< XAccessible > comphelper::OCommonAccessibleComponent::getAccessibleCreator |
( |
| ) |
const |
|
protected |
◆ getAccessibleDescription()
virtual OUString SAL_CALL comphelper::OCommonAccessibleComponent::getAccessibleDescription |
( |
| ) |
|
|
overridepure virtual |
◆ getAccessibleId()
OUString SAL_CALL comphelper::OCommonAccessibleComponent::getAccessibleId |
( |
| ) |
|
|
overridevirtual |
◆ getAccessibleIndexInParent()
sal_Int64 SAL_CALL comphelper::OCommonAccessibleComponent::getAccessibleIndexInParent |
( |
| ) |
|
|
overridevirtual |
◆ getAccessibleName()
virtual OUString SAL_CALL comphelper::OCommonAccessibleComponent::getAccessibleName |
( |
| ) |
|
|
overridepure virtual |
◆ getAccessibleParent()
virtual css::uno::Reference< css::accessibility::XAccessible > SAL_CALL comphelper::OCommonAccessibleComponent::getAccessibleParent |
( |
| ) |
|
|
overridepure virtual |
◆ getAccessibleRelationSet()
virtual css::uno::Reference< css::accessibility::XAccessibleRelationSet > SAL_CALL comphelper::OCommonAccessibleComponent::getAccessibleRelationSet |
( |
| ) |
|
|
overridepure virtual |
◆ getAccessibleRole()
virtual sal_Int16 SAL_CALL comphelper::OCommonAccessibleComponent::getAccessibleRole |
( |
| ) |
|
|
overridepure virtual |
◆ getAccessibleStateSet()
virtual sal_Int64 SAL_CALL comphelper::OCommonAccessibleComponent::getAccessibleStateSet |
( |
| ) |
|
|
overridepure virtual |
◆ getBounds()
awt::Rectangle comphelper::OCommonAccessibleComponent::getBounds |
( |
| ) |
|
|
protected |
◆ getLocale()
Locale SAL_CALL comphelper::OCommonAccessibleComponent::getLocale |
( |
| ) |
|
|
overridevirtual |
◆ getLocation()
awt::Point comphelper::OCommonAccessibleComponent::getLocation |
( |
| ) |
|
|
protected |
◆ getLocationOnScreen()
awt::Point comphelper::OCommonAccessibleComponent::getLocationOnScreen |
( |
| ) |
|
|
protected |
◆ GetMutex()
::osl::Mutex & comphelper::OCommonAccessibleComponent::GetMutex |
( |
| ) |
|
|
inlineprotected |
◆ getSize()
awt::Size comphelper::OCommonAccessibleComponent::getSize |
( |
| ) |
|
|
protected |
◆ implGetBounds()
virtual css::awt::Rectangle comphelper::OCommonAccessibleComponent::implGetBounds |
( |
| ) |
|
|
protectedpure virtual |
◆ implGetParentContext()
Reference< XAccessibleContext > comphelper::OCommonAccessibleComponent::implGetParentContext |
( |
| ) |
|
|
protected |
◆ isAlive()
bool comphelper::OCommonAccessibleComponent::isAlive |
( |
| ) |
const |
|
protected |
◆ lateInit()
void comphelper::OCommonAccessibleComponent::lateInit |
( |
const css::uno::Reference< css::accessibility::XAccessible > & |
_rxAccessible | ) |
|
|
protected |
late construction
- Parameters
-
_rxAccessible | the Accessible object which created this context. |
If your derived implementation implements the XAccessible (and does not follow the proposed separation of XAccessible from XAccessibleContext), you may pass this
here.
The object is hold weak, so its life time is not affected.
The object is needed for performance reasons: for <method>getAccessibleIndexInParent</method>, all children (which are XAccessible's theirself) of our parent have to be asked. If we know our XAccessible, we can compare it with all the children, instead of asking all children for their context and comparing this context with ourself.
Definition at line 155 of file accessiblecomponenthelper.cxx.
References m_aCreator.
◆ NotifyAccessibleEvent()
void comphelper::OCommonAccessibleComponent::NotifyAccessibleEvent |
( |
const sal_Int16 |
_nEventId, |
|
|
const css::uno::Any & |
_rOldValue, |
|
|
const css::uno::Any & |
_rNewValue, |
|
|
sal_Int32 |
nIndexHint = -1 |
|
) |
| |
|
protected |
◆ removeAccessibleEventListener()
void SAL_CALL comphelper::OCommonAccessibleComponent::removeAccessibleEventListener |
( |
const css::uno::Reference< css::accessibility::XAccessibleEventListener > & |
xListener | ) |
|
|
overridevirtual |
◆ OContextEntryGuard
◆ m_aCreator
css::uno::WeakReference< css::accessibility::XAccessible > comphelper::OCommonAccessibleComponent::m_aCreator |
|
private |
◆ m_nClientId
The documentation for this class was generated from the following files: